29.10.2014 Views

Broadcom NetXtreme Ethernet Adapter Diagnostic User's Guide ...

Broadcom NetXtreme Ethernet Adapter Diagnostic User's Guide ...

Broadcom NetXtreme Ethernet Adapter Diagnostic User's Guide ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Broadcom</strong> <strong>NetXtreme</strong> <strong>Ethernet</strong> <strong>Adapter</strong> • <strong>Diagnostic</strong> User’s <strong>Guide</strong><br />

8.32 write<br />

Example:<br />

1. Read from Configuration space<br />

0:> read @10<br />

000010: f4000004<br />

2. Read from Register<br />

0:> read #10<br />

000010: f4000004<br />

3. Read from SRAM<br />

0:> read *10<br />

000010: 00010001<br />

4. Read from internal scratchpad<br />

0:> read ^00<br />

000000: 000312ae<br />

cmd: write<br />

Description: Generic Memory Write<br />

Syntax: write [@|#|*|$|%|m|^|l|s|x] [- end_addr ] <br />

Example:<br />

@ = Configuration space (address range: 0x00 – 0xFF)<br />

# = Registers (default) (address range: 0x00 – 0x1FFFF)<br />

* = SRAM (address range: 0x00 –0x1FFFF)<br />

$ = Serial EEPROM<br />

% = Parallel EEPROM<br />

m = MII Registers<br />

^ = internal scratchpad (address range: 0x3000 – 0x37FFFF)<br />

l = direct access (dword)<br />

s = direct access (word)<br />

x = direct access (byte)<br />

1. Write to configuration space.<br />

page 44<br />

<strong>Broadcom</strong> Confidential and Proprietary

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!