Summary of Contents for Broadcom NetXtreme BCM570 Series
Page 1
Broadcom NetXtreme Ethernet Adapter Diagnostic User’s Guide B57diag Version 10.41 • Date 2/01/07 Prepared by: Tak Tomita Updated by: Paul Nguyen, Austin Hui, Carlton Joseph, Vanessa Jia Broadcom Confidential and Proprietary...
Page 2
No part of this document may be reproduced, in any form or by any means, without permission in writing from Broadcom Corporation. Broadcom Corporation reserves the right to make changes to the products or information contained in this document without notice. No liability is assumed as a result of their use or application. No rights under any patent accompany the sale of any such products or information.
COMMAND LINE OPTION PARAMETERS................12 RECOVER DEVICE FROM CORRUPT NVAM ................. 26 EEPROM.TXT FORMAT........................ 27 USER INTERFACE COMMANDS....................32 SPECIAL INSTRUCTION....................... 37 SAME SYSTEM SEND/RESPOND TEST ..................38 ....................38 DENTIFYING A REFERENCE DEVICE page iii Broadcom Confidential and Proprietary...
The commands are explained in the later chapters. This document provides the information on configuration file specification, command line options and engineering diagnostic commands on Broadcom NetXtreme Ethernet adapter, in particular to check out the functionality of the BCM5700-5705 and its related components.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 2 Prerequisites The engineering diagnostic is executed under DOS protected mode or under Intel’s Extensible Firmware Interface (EFI) on Intel IA64 systems. OS: Dos 6.22 or EFI V1.10.14.62 and newer Software: b57diag.exe for DOS and b57diag64.efi for EFI (version 7.45 and newer) Input File List: The following files should be found in the same location of the b57diag.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 3 Diagnostic Tests The tests are divided into four groups: Register Tests, Memory Tests, Miscellaneous Tests, and Data Tests. They numbered as group ‘A’, ‘B’, ‘C’, ‘D’, and ‘E’. 3.1 Test Names Group A.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 3.2 Error Codes The Error Codes are presented in Section 9 - ERROR MESSAGES. 3.3 Test Descriptions 3.3.1 A1. Indirect Register Test Command: regtest -i Function: Using indirect addressing method, writing increment data into MAC hash Register table and read back for verification.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Default: Enabled 3.3.6 A6. Serial Number Reg Test Command: serial Function: Tests the PCI-E Serial Number capabilities registers on chips that support the Serial Number capability. This command is supported on 5751Cx, 5755, 5787.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Default: Enabled 3.3.9 B2. BD SRAM Test Command: memtest -b Function: This test tests the BD SRAM. This performs exact the same way of testing as described in B1. Scratch Pad Test.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide “32 FF's 32 00's” Full the entire host DMA buffer with 32 bytes of FF’s and then 32 bytes of 00’s. “00000000's” Full the entire host DMA buffer with all zeros. “FFFFFFFF's”...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Function: Both high and low priorities DMA are tested. It moves data from host memory to NIC SRAM, verifies data, and then moves data back to host memory again to verify data.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Function: This is internal loopback data transmit/receive test. It initializes MAC into internal loopback mode, and transmits 200 packets. The data should be routed back to receive channel and receive by the receive routine, which verifies the integrity of data. One Giga bit rate is used for this test.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide can be used: 1. command line option ‘-disableeswitch’; 2. ‘eswitch –f’ in engineering mode before the test. Default: Disabled 3.3.27 D5. MII Miscellaneous Test Command: None Function: This function tests the auto-polling and phy-interrupt capabilities. These are the functionalities of the phy.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 4 Command line option parameters When users invoke this program, a set of option parameter can be used to overwrite the configuration file or the default configuration. This section summarizes the options. The options are case sensitive.
Page 22
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -piscsi <file> Program ISCSI firmware This option needs to follow the –e and –c options. If this option is entered, the program will retrieve the ISCSI firmware filename from the command line then it will start programming.
Page 23
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide secondary port. Software will read command from input files and compare with the boot code configuration and return “Passed” or “Failed” accordingly. Example: b57diag –chksecfg file_p.txt (for single port devices) b57diag –chksecfg file_p.txt file_s.txt (for dual port devices)
Page 24
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Use this option with the external loopback test D3 to select a reference card. During the external loopback test the physical loopback can be provided with a RJ45 loopback plug or a CAT5 cable connected to a reference device (which loops back the data).
Page 25
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide The feature outputs the following information: PCI DID, VID, SDID & SVID; MAC address, Firmware revision, PXE, PXESpd, WOL, ASF, MBA, Bond Rev. This information can be used to verify the setup of a chip after a firmware upgrade.
Page 26
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide updated by the input file of “-firmall” command. The “-firmall” command is described above. -pipmi <filename> used for field program of IPMI firmware The feature is used to execute a field upgrade of NVRAM to add IPMI firmware. The firmware is programmed into a/the device/s specified by “-c”...
Page 27
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide In manufacture testing mode, by default, all devices are tested; however, if this option is used, only that selected device is tested. Example: -c 2 -l <file> log file All diagnostic output can be saved in a log file. Type log file name is specified by this option.
Page 28
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide A1. Indirect Register Test A2. Control Register Test A3. BIST A4. Interrupt Test A5. PCI Cfg Register Test B1. Scratch Pad Test B2. BD SRAM Test B3. DMA SRAM Test B4. MBUF SRAM Test B5.
Page 29
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide A password is needed to run this option. With this option, it updates the specified eeprom binary file with the specifications defined in eeprom.txt. Please see Section 6.0 EEPROM.TXT format for detailed argument description.
Page 30
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide incremented; if not, it will stay unchanged. The text file which contains the MAC address range has the following format and the numbers are in hexadecimal: mac_addr_pref = xxxxxx => Which is the prefix of the MAC address.
Page 32
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -pasf <file> Program ASF firmware This option needs to follow the –e and –c options. User has an option to program the ASF firmware from a single bin file that combined all 3 pieces of ASF bin files or from a specified text file that contain the file names of all 3 pieces of ASF bin files.
Page 33
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide value = 1 : Selecting 10HD value = 2 : Selecting 10FD value = 3 : Selecting 100HD value = 4 : Selecting 100FD Example: b57diag –mbas 0 : To select Auto speed mode.
Page 34
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -findref : Detect reference device -lbm <n> : Option to set mac loopback packets -lbp <n> : Option to set phy loopback packets -lbe <n:n:n> : Option to set external loopback packets, Format: <1000Mbps:100Mbps:10Mbps>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 5 Recover device from corrupt NVAM When vendor id and/or device id have been modified and B57diag can longer find the device, the following steps can be followed to recover the missing device.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 6 EEPROM.TXT format A set of commands is defined to allow user to change EEPROM.BIN content. To update EEPROM.BIN, user must enter –e <code> -geneep options at the command prompt. A password must be entered to run this option.
Page 38
Budgeting Data 4 | Power Budgeting Data 5. “x4” = Power Budgeting Data 6 | Power Budgeting Data 7. *** User defined values will be used. Suggested Product Name is “Broadcom NetXtreme Gigabit Ethernet Controller” **** If “VPDR_SYSTEM_DEFAULT = 1” has been entered, System default value for all VPD-R data will be selected.
Page 39
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide b. LED mode....: Phy1 Mode c. Custom PCI power..: Yes (comsumed D0:100.D3:10 dissipated D0:100.D3:10) d. Custom PCIE power...: Yes (3.3v, Sustained, D0, 1.2 Watt...) e. Custom VPD Data g. Cable Sense..: Disabled x.
Page 40
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Reference Product Name Description: VPD Product description string. Example: ; This comment line // This also can be used as comment line // Blank line is also allowed // This is Broadcom’s MAC prefix...
Page 43
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide pcimrd Test an individual register Command Group mii mwrite Write PHY registers via MII Management interface mread Read PHY registers via MII Management interface mdev Select current PHY to be accessed miimode...
Page 44
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide miimisctest Run MII Misc. Tests cpugprtest Run CPU GPR test Command Group power pmdcfg Dump Power Management Info pmpcfg Add/Del Pattern pmpd Power Down MAC Command Group irq intr Dump Interrupt Info...
Page 45
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide fillpattern Fill WOL matching pattern into Misc. Memory Loacation input port outp output port switch Altinate 'device' command Excute command from a file txfill Fill tx buffer with pattern and packet length (14-9018)
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 8 Special Instruction 1. Mac register test: Unload MAC driver before running test. 2. Memory test: Unload MAC driver before running test. 3. DMA test: Unload MAC driver before running test. 4. TX RX packets: TX sides need to be configured (txcfg).
CAT5 (RJ45) cable and data is transmitted and received across the cable. In the above setup one device is the device under test (DUT) and the other is the reference device. Any Broadcom device that is supported by diagnostics can be used as the DUT or the reference device.
Page 52
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: MAC address of the device. Reference Power Dissipated (D3:D2:D1:D0) Description: Power dissipated in D3-0 states. Reference Power Consumed (D3:D2:D1:D0) Description: Power consumed in D0-2 states. Configure Vendor ID Description: PCI Vendor ID. Default 0x14e4.
Page 53
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Note: A driver can setup the WoL behavior of a device and the value programmed into this location is ignored. Reference Product Name Description: VPD Product description string. Reference Part Number Description: VPD part number..
Page 54
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
Page 55
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide MAC_A only(2) MAC_A is available and is supported as PCI function 0. MAC_B is disable. XBAR mode(3) MAC_A and MAC_B are available and are supported as PCI function 0. MAC_A is the primary device and MAC_B is mapped in the space of MAC_A.
Page 56
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Select NIC or LOM based Ethernet controller. NIC(0) Option selected for a plug in network interface card. LOM(1) Option selected for a LAN on motherboard. Note: The firmware and the drivers use this to determine the operational characteristics of a device.
Page 57
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide No(0) Power-saving capability active. Yes(1) Power-saving capability inactive. Configure Hide MBA Setup Prompt Description: During the MBA boot, the MBA setup prompt is displayed to provide the user the option to setup and configure various MBA parameters. Options 8,9, 26 - 29 and 39-40 configure the boot protocol behavior.
Page 58
This option is only valid for 5787 and 575xCx devices. The power values need to be setup by the OEM / manufacture based on actual measurements. Default values, contained in the bootcode / firmware, are loosely based on the in house Broadcom NIC card. 15-0 Power Budget data 1 7-0 Base Power in .1 Watt...
Page 59
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable (1) Enable hot plug power feature. Configure Pri. Port SMB Address (ASF/IPMI) Description: SMB address of the primary port on a device. Configure Sec. Port SMB Address (IPMI) Description: SMB address of the secondary port on a device (only valid for dual port devices).
Page 60
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide x. Save & exit ----------------------------------------------- LED Mode (option b)-----------------------------------------_ -> b Selfboot LED Mode selection 0. Mac Mode 1. Phy1 Mode 2. Phy2 Mode 3. Shared Traffic/Lik LED Mode 4. Shasta MAC mode 5.
Page 61
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Selfboot VPD R 1. Use system default 2. Costom define -> 2 1. Part Number : BCM957xx 2. Engineering Change : 106679-15 3. Serial Number : 0123456789 4. Manufacturing ID : 14e4 5.
Page 62
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Limit WoL Speed to 10 Description: Limit Wake on LAN (WoL) line speed. No(0) 10 or100 Mbits/s is used for WoL. Yes(1) Only 10 Mbits/s is used for WoL. Configure Design Type Description: Select NIC or LOM based Ethernet controller.
Page 63
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
Page 64
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Reference Product Name Description: VPD Product description string. Configure Cable Sense Description: Enables a low power mode (IDDQ) of the chip which allows the presence of a cable to be detected by the chip (valid for 5752M/5755M/5787M/5787FM devices). Once Cable Sense is enabled GPIO3 will be an Energy Detect Output Pin and will be high if a cable (with a signal present) is plugged into the RJ45 and low otherwise.
Page 65
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -> 7 HW Selfboot Driver WOL selection 0. Disable 1. Magic Packet WOL Enable ----------------------------------------------- LED Mode (option 8)-----------------------------------------_ -> 8 HW Selfboot LED Mode selection 0. Mac Mode 1. Phy1 Mode 2.
Page 66
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide To enter the ‘secfg’ menu shown above a user type in ‘secfg’ for hardware selfboot firmware at the diagnostics command line. A menu is present to the user showing the ‘secfg’ options shown above. A user can change the ‘secfg’ parameter by entering the option number.
Page 67
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide a. Wol_enable b. Wol_Limit_10 c. Driver_wol_enable d. Lom_design e. Phy_auto_power_down f. Reverse_nway g. Disable_power_saving h. Phy_led_mode i. Shasta_ext_led_mode j. Cable_sense 10.9 upgfrm cmd: upgfrm Description: Upgrade ISCSI, PXE, Boot Code and Selfboot Firmware from a File. This command reads code from a file and program into iscsi, pxe or boot area.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.13 asfcfg cmd: asfcfg Description: Configure ASF in NVRAM Syntax: asfcfg [filename] If [filename] is provided the file is used to configure the ASF configuration information in NVRAM. If asfcfg is entered by it self a menu is present the user and the options of the items listed in the menu are described below.
The values in these records are normally copied from the system's "ASF! Description Table" (using the ACPI System Description Table architecture) into the ASF Configuration Table in the network adapter's non-volatile memory by the Broadcom ASF Configuration Utility (ASFConfig). See the Alert Standard Format (ASF) Specification v2.0 for detailed descriptions of these records.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Engineering Change Serial Number Manufacturing ID Asset Tag Part Rev Voltage Force PCI Mode 1:Enable 2:Disable 10.40 secfg3 cmd: secfg3 Description: Configure NVRAM Group 3 Syntax: secfg3 Options: Led Mode 0:Mac 1:Phy1 2:Phy2 3:S Traffic 4:Shasta Mac 5:Wireless Combo...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Encoded Hot Plug Power Value 7 & 8 For NIC Hot Plug Power For NIC - Enable ASF/IPMI SMB Address for Pri. Port IPMI SMB Address for Sec. Port Cable Sense - Enable...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.63 dmaw cmd: dmaw Description: DMA from NIC to Host Memory Syntax; dmaw Options: Force to use 32-bit bus Allocate 4k-aligned buffers -a<HEX> NIC address to DMA data from (def=00000000) byte swap Continousely dma data -d<HEX>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide word swap -x<HEX> high 32-bit of 64-bit pattern (def=FFFFFFFF) -K<HEX> DMA write to abosolute address and hang the system (def=00000000) Example: 1. Setup DMA NIC Memory to HOST memory. Using low priority DMA Read and disable byte swap and enable detail display.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK PHY calculated ID: 60008162 BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ... Done Determining Link Speed ... 1000Base-T Full Duplex 0:>...
Page 95
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -a<DEC> Specify number of IP fragment count (def=0) -b<DEC> Burst length (def=0) Clear Statistics (always on: kept for bcmediag compatibility -d<DEC> Interpacket delay in microseconds (def=txcfg) Insert raw checksum into the packet -f<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Get a quick NIC statistic. [qstat string] used to select specific statistic. Syntax: qstat [qstat string] Options: Clear statistic List all qstat string 10.79 drvrcfg cmd: drvrcfg Description: configure driver parameters...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Test an individual register. Test an individual register with a specified number of reads/writes. Syntax: macmrd Options: -d<DEC> Delay in uS (def=0) -n<DEC> Number of read/write accesses (def=1) -r<string> Register offset 10.82 miimrd...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Dump Tx BIST RAM 10.90 bertstats Command: bertstats Description: Dump PHY BIST statistics Syntax: bertstats 10.91 rm Command: rm Description: Read MII Registers Syntax: rm 10.92 mrloop Command: mrloop Description: loop on MII read. This is special test routine for MII read. It loops on MII register read util user abort or if value is zero.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Search a Data Pattern in Memory. The default, begin address = 0, and len = 0x20000. The data pattern must be specified. Syntax: memsearch begin[-end | len] data 10.96 read cmd: read Description: Read Memory Syntax: read [!#*$~^lImSsxX]<begin>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ^ = internal scratchpad (32) l = direct access of host memory (32) s = direct access of host memory (16) x = direct access of host memory (8) 10.101 readbit cmd: readbit Description: Read the bit specified by <bit#>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Run MII Memory Test. PHY registers read write test Syntax: miitest [itereation] Options: -n<DEC> iteration (The default iteration is 1. 0 means run forever) 10.107 cmd: msi Description: Run MSI Test Manually...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Test Scratch Pad Test MBUF SRAM via DMA 10.109 setest cmd: setest Description: Run NVRAM Test Syntax: setest [iteration] Options: extensive test -d<HEX> ending offset (with -e option) (def=FFFFFFFF) -n<DEC> iteration quiet mode read only test -s<HEX>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: The command disables tests. It effects nictest, regtest, pkttest, and memtest commands. The test must starts with test group alpha (a-d). If no number is entered, all tests in that group are disabled.
Page 115
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -p<DEC> DMA priority (def=0) -s<DEC> Start of test case (def=0) -t<DEC> Transient fixed pattern (def=0) -v<DEC> Verbose level (0..2) (def=1) Loop There are total 260 test cases (258 unique tests cases) which are described as follows:...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide If you run bustest command without any parameters, it will perform DMA testing on all 260 patterns with 10 iterations per pattern and different data length in each iteration. First eight bytes of data are used to store the...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: do GPIO test Syntax: gpiotest Options: -n<DEC> iteration 10.124 cpudiag cmd: cpudiag Description: run diagnostic from internal CPU Syntax: cpudiag Options: Test BD SRAM (0x0000-0x0fff and 0x4000-0x7fff) Test DMA SRAM (0x2000-0x3fff) Test MBUF SRAM (0x8000-0x00000005) -n<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.126 petest cmd: petest Description: Perform parity error test on a bridge Syntax: petest <bridge> 10.127 errctrl cmd: errctrl Description: Configure Error Control Setting Syntax: errctrl [w|c|a|l|s] - Wait on Error Program will pause and wait for user's action (eng. default)
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.132 binchksum cmd: binchksum Description: Verify the checksum of each piece of firmware in the input file that contains a complete NVRAM image. Syntax: binchksum –f<filename> 10.133 pmdcfg cmd: pmdcfg Description: Display Power Management Info...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Load PXE Code to MBUF Memory. The file name must be specified in the parameter. Syntax: pxecpy <file> Options: -f<string> filename 10.155 device cmd: device Description: Show or Switch Device. If no parameter is entered, it will display all device available.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: ? [vpd|nvram|cpu|dma|packet|mii|mem|test|power|irq|mac|misc] 10.159 radix cmd: radix Description: Change System Radix. Radix must be 2-16. Radix used for number entry. 16 means enter number in hex, and 10 means in decimal. Syntax: radix <2 | 8 | 10 | 16>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Exit System Syntax: quit 10.168 smbus cmd: smbus Description: ASF terminal. Run this command to access SMBus, the parameter a1 and a2 are one byte value to specify the NIC SMBus Addresses. It sets to 0 by default.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: asf [init_img [rx_img [tx_img]]] Options: Load firmware only Enter asf mode only Simulate warm boot 10.173 cmd: new Description: Display new command available. The default parameter for [n] is 10 Syntax: new [n] 10.174...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -e<HEX> (end address + 1) of the first block (def=00020000) -f<string> filename which contains data pattern -o<HEX> sram first block offset to be loaded (def=00000000) -s<HEX> sram second block offset to be loaded (def=00000000) 10.177...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Remove all current devices and re-scan available devices Silent mode - do not display devices 10.180 cmd: do Description: Excute commands from a file. Syntax: do <filename> [with <parameter1>, ...] Options: continue on error echo command -p<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10. 16 bytes of 0 and f 11. 32 bytes of 0 and f 12. 64 bytes of 0 and f 10.182 wbuf cmd: wbuf Description: Write tx|rx buffer with specified data at offset. Only works with static buffer selection –A.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -f<string> filename MII Registers -r<DEC> Mac Registers (def=1) 10.195 regrestore cmd: regrestore Description: Restore register content from a file. This command may be used together with regdump to restore register got changed.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: peclr <bridge> 10.208 pechk cmd: pechk Description: Check parity error on bridge. Defaults to current bridge. Syntax: pechk <bridge> 10.209 iscsiprg cmd: iscsiprg Description: Program ISCSI firmware into NVRAM. This command reads ISCSI code from a file and program into NVRAM.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Debug display of CPU code loading Debug prompt after CPU code loading Enable New UMP Echo Test in UMP Firmware Disable New UMP Echo Test in UMP Firmware 10.211 umpcfg cmd: umpcfg...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide SubSystem Vendor ID SubSystem Device ID Limit WOL Speed to 10 0: No 1: Yes Wol Auto 0:Dis 1: Magic 2: Interest 3: Magic & Interest Led Mode 0: Mac 1:Phy1 2:Phy2 3:S Traffic...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 11 ERROR MESSAGES /* NO_ERROR 0 */ "", /* ERR_IND_REG_ERR 1 */ "Got 0x%08X @ 0x%08X. Expected 0x%08X", /* ERR_CHIP_RUNNING 2 */ "Cannot perform task while chip is running", /* ERR_BAD_NIC 3 */ "Invalid NIC device", /* ERR_READ_ONLY_CLEAR 4 */ "Read only bit %s got changed after writing zero at...
Page 149
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_CHIP_NOT_RUNNING 50 */ "Cannot perform task while chip is not running. (need driver)", /* ERR_NO_REG_DEF 51 */ "Cannot open register define file or content is bad", /* ERR_ASF_RST 52 */ "ASF Reset bit did not self-cleared", /* ERR_ASF_ATTN_LOC 53 */ "ATTN_LOC %d cannot be mapped to %cX CPU event bit %d",...
Page 150
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_GPIO5704 102 */ "Dev:%d Expected GPIO 0/1/2 = %d/%d/%d, but read as %d/%d/%d", /* ERR_BIST_NOT_DONE 103 */ "Bist test did not complete internally", /* ERR_BIST_DATA_MISCMP 104 */ "Bist data miscompared at bit: %d out: %d exp: %d", /* ERR_CPU_NO_RESPONSE 105 */ "No Response from firmware",...
Page 151
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_CPU_MEM2 164 */ "%s CPU memory error @ %08X, expected %08X but got %08X", /* ERR_SERIAL1 165 */ "PCIE Serial Device Number Capability Not Found.", /* ERR_SERIAL2 166 */ "PCIE Serial Device Number Match Failure.", /* ERR_POWER1 167 */ "PCIE Power Budget Capability Not Found.",...
Need help?
Do you have a question about the NetXtreme BCM570 Series and is the answer not in the manual?
Questions and answers