Page 1
Broadcom NetXtreme Ethernet Adapter Diagnostic User’s Guide B57diag Version 10.52 • Date 07/06/2007 Prepared by: Tak Tomita Updated by: Paul Nguyen, Austin Hui, Carlton Joseph, Vanessa Jia, Tony Hsiao 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 When “-updateiscsicfg” command line parameter is entered before “-firmall” command, the ISCSI Firmware Configuration Block of the NVRAM will not be preserved. It will get updated by the input file of “-firmall” command. The “-firmall” command is described above.
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. MBA Configuration c. NIC Design ………………………….…..: LOM d. L1 PLL Disable …………………………..: Yes e. Clkreq ……………………………………..: No f. PCIE Link Polarity Fix Dis ……………….: No g. L1ASPM Debounce En ……………………: Yes x.
Page 40
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ; This comment line // This also can be used as comment line // Blank line is also allowed // This is Broadcom’s MAC prefix MAC_PREFIX = 00:10:18 POWER_DISSIPATCHED = 10:0:0:100 POWER_CONSUMED = 10:0:0:100...
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...
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 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-R Data...: Yes g. Cable Sense..: Disabled h. MBA CFG Data..: Enabled x.
Page 61
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Custom VPD Prod.Name -------------------------------------- (option e)---------------------------------------- -> e 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.
Page 62
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable(1) The device will assert the pme signal, to power on the system, when a magic packet is received. Disable(2) Magic packets are ignored. Note: A driver can setup the WoL behavior of a device and the value programmed into this location is ignored.
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 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 x. Save & exit ----------------------------------------------- WOL Auto (option 7)-----------------------------------------_ -> 7 HW Selfboot Driver WOL selection 0. Disable 1. Magic Packet WOL Enable ----------------------------------------------- LED Mode (option 8)-----------------------------------------_ -> 8 HW Selfboot LED Mode selection 0.
Page 66
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description of above parameters: 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’...
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 *-p option will restore NVRAM configuration data between Bootcode and selfboot firmware. The configuration data that will be restored are listed below. a. Wol_enable b. Wol_Limit_10 c. Driver_wol_enable d. Lom_design e. Phy_auto_power_down f.
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 do not ask for conformation 10.20 pxeprg cmd: pxeprg Description: Program PXE firmware into NVRAM. This command reads PXE code from a file and program into NVRAM Syntax: pxeprg <filename> 10.21 flshdev...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: Product Name Part Number 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...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Encoded Hot Plug Power Value 1 & 2 For NIC Encoded Hot Plug Power Value 3 & 4 For NIC Encoded Hot Plug Power Value 5 & 6 For NIC Encoded Hot Plug Power Value 7 & 8 For NIC Hot Plug Power For NIC - Enable ASF/IPMI SMB Address for Pri.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.62 cpufetch cmd: cpufetch Description: Test CPU Instruction fetch logic with 1.1V and 1.3 V setting Syntax: cpufetch 10.63 dmaw cmd: dmaw Description: DMA from NIC to Host Memory Syntax; dmaw Options:...
Page 88
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Continousely dma -d<HEX> delay poll dma done polling (def=00000000) -f<string> File name of file that contains <length,patterns ..> Use high priority DMA Read -l<HEX> Length of DATA to do DMA (def=00000100) -n<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Check DMA_Write error status Example: 1. Load MAC driver and enable transmission 0:packet> loaddrv Reinitializing PCI Configuration Space Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Dump Tx Ring Index Example: 1 Load MAC dirver and display TX and RX Ring Index. 0:> loaddrv Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -d<DEC> Interpacket gap in microseconds (def=10) 10.78 qstat cmd: qstat 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...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -r<string> Register offset 10.81 macmrd cmd: macmrd 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>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Select current PHY to be accessed. The default device ID is 0x01. If no parameter is entered, it displays current phy address setting. Syntax: mdev [<phy_id>] Example: 0:> mdev 1 Phy Address = 1 10.87 miimode...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: initphy 10.95 memsearch Command: memsearch 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...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide m = MII registers (16) ~ = VPD Access (32) I = indirect access of host memory (32) ^ = 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...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -r<DEC> repeat count for each register test (def=1) Do not perform reset before test 10.106 miitest cmd: miitest Description: Run MII Memory Test. PHY registers read write test Syntax: miitest [itereation] Options: -n<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Test External Memory Test MBUF SRAM -n<DEC> iteration (The default iteration is 1. 0 means run forever) Test CPU GPRs Test Scratch Pad Test MBUF SRAM via DMA 10.109 setest cmd: setest...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide This test can to be configured by running “diagcfg”. See “diagcfg” for details. If a “test list” is not entered below then a set of default tests are run. Syntax: nictest [test list]...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.114 cputest cmd: cputest Description: TX / RX CPU Test. This test needs an input CPU file in the same location as b57diag.exe. The default file name is cpu.bin or cpu05.bin unless specified by –f option.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Example: teste a12bc -- Enable test a1, a2, all tests in group b and c teste ab cd -- Enables all tests teste -- Display enabled tests 10.117 testd Command: testd Description: The command disables tests. It effects nictest, regtest, pkttest, and memtest commands.
Page 115
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -i<DEC> Number of transactions per pattern (def=10) -l<DEC> Minimum length (def=256) -n<DEC> iteration -o<DEC> Number of consecutive patterns (def=1) -p<DEC> DMA priority (def=0) -s<DEC> Start of test case (def=0) -t<DEC> Transient fixed pattern (def=0) -v<DEC>...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ffffffff ffffffff 00000000 00000000 (repeat) ffffffff ffffffff 00000000 00000001 ffffffff ffffffff 00000000 00000002 ffffffff ffffffff 80000000 00000000 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.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Do not perform reset before test -r<DEC> repeat count for each register test (def=1) -n<DEC> iteration 10.126 petest cmd: petest Description: Perform parity error test on a bridge Syntax: petest <bridge> 10.127...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Disable the chip reset execution before each DMA test -l<HEX> Number of BD sot DMA on read (0x1-0x79) (def=0xA) 10.132 binchksum cmd: binchksum Description: Verify the checksum of each piece of firmware in the input file that contains a complete NVRAM image.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Dump Content of MBUFs. The display command must be specified by -c option or 'chain', 'info', 'cluster', 'hdr', and 'ckhdr. Syntax: mbuf [chain|info|cluster|hdr|ckhdr] Options: -c<HEX> command 0 - displays a MBUF...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Force Link to Max Speed Example: 0:> loaddrv Reinitializing PCI Configuration Space Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK PHY calculated ID: 60008162 BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.154 pxecpy cmd: pxecpy 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 10.158 cmd: ? Description: Alternate Help Command. This is same command as 'help' command. 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.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 2. Test Configuration Menu 3. Driver Configuration Menu 4. Abort On Failure is enabled 5. Save Configuration Enter your choice or ESC to exit -> 3 Driver Configuration Menu 1. Rx Coalescing Ticks : 1000 2.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Wait for firmware signature 10.167 quit cmd: quit 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 10.172 cmd: asf Description: run asf monitor program with option to Load asf firmware image. This routine loads firmware images into CPU memory and execute the RXCPU. The default files names are asfinit.bin, asfcpua.bin, and asfcpub.bin, which can be over written by parameters.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Alternate 'device' command. If no parameter is entered, it will display all device available. Syntax: switch <dev> Options: -n<HEX> Device Number (def=00000000) Remove all current devices and re-scan available devices Silent mode - do not display devices 10.180...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 1. Increment data 2. Random 3. all 0 4. all FF 5. AA55 6. 55AA 7. IP_Iden-Inc 8. Load from file 9. 8 bytes of 0 and f 10. 16 bytes of 0 and f 11.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.186 pause cmd: pause Description: Pause for user to hit a key. If no parameter is entered, 'press any key to continue...' will be displayed Syntax: pause < message> 10.187 cmd: q...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Create a beep sound. The default to beep once. If parameter 'n' is entered, it beeps n times Syntax: beep [<n> | on | off] 10.190 cmd: var Description: Display current variables Syntax: var 10.191...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.194 regcomp cmd: regcomp Description: Compare register content to a file. his command may be used together with regdump to find out any register got changed. Syntax: regcomp <filename> Options: PCI Config Reg.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: Display Present Size Programmed Into NVRAM Specify [NVRAM] & [TPM] size in decimal (dflt. hex) 10.197 aspm cmd: aspm Description: Configure the PCI-E Link power state operation at the root complex and the device under test.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.200 power cmd: power Description: Verify the power function of PCI capability. This PCI capability testing is only applicable to Shasta C stepping (i.e. BCM5752Cx) family. Syntax: power 10.201 readbr cmd: readbr Description: Read a 32-bit value from bridge's configuration space register address.
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Enable/Disable UMP Echo Test function in UMP Firmware. It requires either ump14a.bin/ump14b.bin test firmware or UMP Firmware. Options that will work with test firmware are ‘-o’, ‘-c’, ‘-i’ and ‘-a’. Options that will work with UMP firmware are ‘-e’...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Saves the modified UMP Configuration Table to the network adapter's non-volatile memory and exists. Exit without Saving Description: Exits without saving any changes to the UMP Configuration Table. 10.212 setump cmd: setump...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Disable Power Saving 0: No 1: Yes Led Mode 0: Mac 1:Phy1 2:Phy2 3:S Traffic 4:Shasta Mac 5:Wireless Combo PCI Power Consumption/Dissipate 1:Default 2:Custom define PCI Power Consumption/Dissipate Value D0:D3/D0:D3 Cable Sense 0: No 1: Yes 10.214...
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Serial Number Manufacturing ID Rd VPD Vendor Data V0 10.218 secfghwsb3 cmd: secfghwsb2 Description: Configure Hardware Selfboot NVRAM Group 2 Syntax: secfghwsb2 Options: Hide MBA Setup Prompt 0: Dis 1: En MBA Setup Hot Key 0: Ctrl-S 1: Ctrl-B...
Page 148
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable E-switch, B57diag override the hardware manual switch. Forbid software E-Switch, but hardware eswitch works. Without this option, PHY loopback test, external loopback test (pkttest -e), and carrier test are performed on both laptop mode and docking mode.
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 150
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 151
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 152
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 5720ZG and is the answer not in the manual?
Questions and answers