beautypg.com

68 pcidatawr, Pcidatawr, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 142

background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

142

3.1.68 pciDataWr

Name

pciDataWr—writes a data value to the PCI configuration header register of a PCI device, as
specified by the command line arguments.

Synopsis

pciDataWr [-b] [-d] [-f] [-i] [-o] [-x] [-z]

Parameters

-b Pd: Bus Number (Default = 0)

-d Pd: Device Number (Default = 0)

-f Pd: Function Number (Default = 0)

-i Pd: Bus Instance (Default = 0)

-o Ph: Offset (Default = 0)

-x Pd: Element Size: 1/2/4 (Default = 4)

-z Ph: Data to Write

Example

The following example indicates a typical display when using the pciDataWr commands.

MOTLoad> pciDataRd -il -b0 -dZ -f0 -o0 -x4

Read Data =02300007

MOTLoad>pciDataWr -il -b0 -d2 -f0 0o4 -x4 -z0

MOTLoad>pciDataRd -il -b0 -d2 -f0 -o4 -x4

Read Data =02300000

See Also

pciDataRd

,

pciDump

,

pciShow

,

pciSpace