The text of a manual · part 26 of 34
HawkEye 1500 Series User Manual, pages 251 to 260
Pages 251 to 260 of 338
The original document is the PDF (3.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan HE1510, RVSI CiMatrix HE1510 and Siemens HE1510
Page 251
Boot Loader Power-On Self-Tests
Boot Loader Power-On Self-Tests As each power-on self-test is executed, a binary number representing the test-inprogress is displayed on the camera LEDs. Should a failure be detected, the beeper sounds five times and the LEDs flash out an error code until the QuicSet button is pressed. A diagnostic message is sent out the serial port (it’s possible the message won’t be seen if the failure is related to the RS-232) and the Diagnostic Monitor Menu is displayed. QuicSet boot uses the UART to report any POST error including RS-232 failure. Default communication parameters are 115,200, N, 8, 1.
Hard Error A hard error is defined as an error that prevents the system from running properly. There are two types of hard errors: •
Hardware fault
•
Invalid application block of flash
If a hard error is detected, the unit beeps five times and flashes the fault code on the LEDs. It continuously flashes the LEDs until the QuicSet button is pressed, at which time the Diagnostic Menu is displayed.
Bootloader Menu
6
The Bootloader Menu provides a series of utilities to perform various tasks.
d m dt et dbp mbp dm dfb der wmr wpr cpu flsh v2.4.1, Nov 2008
The Bootloader
HawkEye BootLoader HE1500 Ver 5.45 (206MHz, 32MB RAM, 4MB Flash) Dump memory Modify memory Display tests Execute test Dump boot params Modify boot params Display menu Dump flash blocks Dump enet regs Write MAC reg Write PHY reg Dump CPU registers Get Flash size
HawkEye™ 1500 Series User Manual
6-3
Page 252
Chapter
6
The Bootloader ram cach x r j e h >>
Get RAM size I-Cache control File transfer Reset unit Jump to app Display error Help d, Dump Memory The “d” command dumps “units” by “width” bytes of raw data including the ASCII representation starting from address “addr” (initial default is 0).
Syntax >> d [address [units [width]]] Where:
•
• width, Specifies how wide the display field should be in bytes: –
1 byte
–
2 bytes
–
4 bytes (initial default)
units, Represents the amount of data to be displayed (initial default is 16).
> d 0x00100000 256 1 00100000: 00 03 e1 52 00 09 2a 00 00 03 e1 a0 30 00 e5 91 *..R....*.....0..* 00100010: 04 93 e0 04 10 08 e2 81 38 02 e1 a0 3b 40 e2 83 *.........8..@;..* 00100020: 28 43 e1 a0 38 23 e1 a0 00 00 e1 53 ff f6 3a ff *C(..#8....S....:* 00100030: 30 04 e5 95 04 93 e0 04 00 00 e3 54 00 04 1a 00 *.0........T.....* 00100040: 20 48 e5 9f 1f 60 e3 a0 00 3c e5 9f 10 01 e2 81 ..`...<.......* 00100050: fa c2 eb ff 00 04 e1 a0 0a 51 eb 04 00 0c e5 85 *........Q.......* 00100060: 00 00 e3 50 00 04 0a 00 20 04 e1 a0 10 00 e3 a0 *..P...... ......* 00100070: 0f 00 eb 04 00 00 e3 a0 a8 30 e9 1b 0c 40 e3 a0
6-4
HawkEye™ 1500 Series User Manual
*H v2.4.1, Nov 2008
Page 253
Bootloader Menu
*........0...@...* 00100080: 02 58 e2 80 a8 30 e9 1b 02 2c 00 11 ff d4 00 10 *X...0...,.......* 00100090: 02 64 00 11 c0 0d e1 a0 d8 10 e9 2d b0 04 e2 4c *d.........-...L.* 001000a0: 40 00 e1 a0 00 00 e3 54 00 04 1a 00 20 34 e5 9f *.@....T.....4 ..* 001000b0: 1f 5a e3 a0 00 30 e5 9f 10 03 e2 81 fa a7 eb ff *Z...0...........* 001000c0: 10 00 e3 a0 20 b0 e1 d4 00 04 e1 a0 21 82 e1 a0 *..... .......!..* 001000d0: 20 18 e2 82 0e e7 eb 04 00 04 e1 a0 0a 38 eb 04 ..........8...* 001000e0: 00 00 e3 a0 a8 10 e9 1b 00 f0 00 11 ff d4 00 10 *................* 001000f0: c0 0d e1 a0 d9 f0 e9 2d b0 04 e2 4c 70 01 e1 a0 *......-...L..p..*
*.
m, Modify Memory The “m” command allows you to poke register values. The contents of the specified address are displayed waiting for user input in hex format. The next register location is automatically displayed. Type “q” to quit.
Syntax >> m [address [width]]
6 The Bootloader
> m 0x100000 00100000: 0003-3 00100002: e152-q dt, Display Test Menu The “dt” command displays the Diagnostic Test Menu.
Syntax >> dt v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
6-5
Page 254
Chapter
6
The Bootloader et, Execute Test The “et” command executes a specified test, allowing you to optionally enter a count for the number of times the test is to be executed.
Syntax >> et test [loopCnt] dbp, Display Boot Parameters The “dbp” command displays the current boot parameter settings.
Syntax >> dbp TCP/IP Connectivity Settings Default network name: slot_009 Use DHCP: 1 DHCP APIPA IP: 169.254.0.0 DHCP APIPA Netmask: 255.255.0.0 DHCP Retry Timer: 300 Static IP: 192.168.254.3 Subnet mask: 255.255.255.0 Gateway: 0.0.0.0 Domain Name: acut.com Enable UDP Announce 0 MAC Address: 00:60:33:e0:01:01 Serial Connectivity Settings Console TTY: 2 Baud Rate: 115200 Parity: 0 Data Bits: 8 Stop Bits: 1 Flow Ctrl: 0 System Parameters EIP Enable: Load Job: Run Job: POST Flags: Speaker:
6-6
0 1 1 0x0200 1
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 255
Bootloader Menu
Advanced TCP/IP Settings TCP Command: TCP Lossy: TCP Lossless: TCP PLC: TCP Heartbeat: TCP Heartbeat query: SNTP Intval: SNTP Server:
49095 49096 49097 49098 49094 49093 0 mbp, Modify Boot Parameters The “mbp” command modifies boot parameters. The command can be invoked in either Standalone or Manufacturing Mode.
Standalone Mode Entering the “mbp” command by itself represents Standalone Mode and causes the bootloader to prompt you for each and every parameter. Parameters are displayed in groups of functionality. A new value may be entered or skipped altogether by pressing the Enter key. At any point, you may terminate the session by pressing the ESC key and then the Enter key. The bootloader automatically determines if a change has been made and, if so, prompts you as to whether or not changes should be saved to flash.
Syntax
6
>> mbp [field value]
The Bootloader
>> mbp TCP Connectivity Settings Network Name: hawkeye Use DHCP: 1 – DHCP APIPA IP: 169.254.0.0 – DHCP APIPA Netmask: 255.255.0.0 – DHCP Retry Timer: 300 IP Address: 168.192.254.3 Subnet Mask: 255.255.255.0 Gateway : 0.0.0.0 Domain Name : acut.com Enable UDP Announce Serial Connectivity Settings v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
6-7
Page 256
Chapter
6
The Bootloader
ConsoleTTY: 0 Baud Rate: 115200 Parity: 0 Data Bits: 8 Stop Bits: 1 Flow Ctrl: 0 System Settings EIP Enable: 0 Load Job: 1 Run Job: 1 – POST Flags: 0x0000 Speaker: 0 Advanced TCP/IP Settings TCP Command: 49095 TCP Lossy: 49096 TCP Lossless: 49097 TCP PLC: 49098 Heartbeat: 49094 Heartbeat Q: 49093 SNTP Intval: 0 SNTP Server: -
Manufacturing Mode You may modify a single field directly via the Manufacturing Mode: >> mbp tty 0 Save parameters to flash? [y/n] N – Table 6–1 shows the parameter names for Manufacturing Mode. TABLE 6–1. Parameter Name for Manufacturing Mode
Description
Mfg Name
Network Name network ASCII string
Use DHCP dhcp
Parameters 0 or 1
DHCP APIPA IP dhcpip
Valid IP address
DHCP APIPA Netmask dhcpmask
Valid IP address
DHCP Retry Timer dhcpretry
Number of seconds before retrying DHCP
IP Address ip
Valid IP address
6-8
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 257
Bootloader Menu
TABLE 6–1. Parameter Name for Manufacturing Mode (Continued)
Description
Mfg Name
Parameters
Subnet Mask subnet
Valid IP address
Gateway gateway
Valid IP address
Domain Name domain
ASCII string
Enable UDP Announce eua
0 or 1
ConsoleTTY tty
0, 1, or 2
Baud Rate baud
115200, 57600, 38400, 19200, 9600, 4800, 2400
Parity parity
0, 1, or 2
Data Bits data
7 or 8
Stop Bits stop
0, 1, or 2
Flow Ctrl flow
0 or 1
EIP Enable eip
0 or 1
Load Job load
0 or 1
Run Job run
0 or 1
Speaker spkr
0 or 1
TCP Command tcpcmd
TCP Lossy tcploss
TCP Lossless tcpless
TCP PLC tcpplc
Heartbeat tcphb
Heartbeat Q tcphbq
SNTP Intval tcpint
SNTP Server tcpsvr
The Bootloader
6 ASCII string dm, Display Menu The “dm” command displays the Bootloader Menu.
Syntax >> dm v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
6-9
Page 258
Chapter
6
The Bootloader dfb, Display Flash Blocks The “dfb” command displays the contents of the flash block headers.
Syntax >> dfb The output is as follows: Block CRC Size Erase Count Name ---------------------------------------------0 F85F 00011A4C 000000ab bootloader 1 BAF5 0000DE22 00000026 registry 2 D417 0000E74F 00000007 fpga 3 1D4B 0001E00C 00000001 settings_sec 4 C560 00000238 0000000c bootparams_sec 5 8B43 001638FC 00000015 vxWorks der, Display Ethernet Registers The “der” command displays the contents of the Ethernet MAC/PHY registers.
Syntax >> der Bank 0 -----TXCTRL: 0504 EPH: 0200 RXCTRL: 0000 COUNT: 0000 MIR: 0404 RXPHY: 0000 CTRL: 1210 PHY Registers 0: 3400 1: 7809 2: 0016 3: f840 4: 01e1 5: 0000
6-10
Bank 1 -----CFG: a0b1 BAR: 1801 IAR1: 0000 IAR2: 0000 IAR3: 0000 GPR: 0000 ISR: 0004
16: 17: 18: 19: 20:
Bank 2 -----MMU: 3332 PKTNUM: 8000 FIFO: 8080 PTR: 0000 DATA1: 01a4 DATA2: 01a4 ERCV: 001f
Bank 3 -----MCAST0: 0000 MCAST2: 0000 MCAST4: 0000 MCAST6: 0000 MMI: 3332 REV: 3391
0022 ff00 4080 ffc0 00a0
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 259
Bootloader Menu wmr, Write MAC Register The “wmr” command writes “value” to an Ethernet MAC “register” offset from “bank”.
Syntax >> wmr bank register value >> wmr 0 4 8000 ‡ sets the software reset bit wpr, Write PHY Register The “wpr” command writes “value” to an Ethernet PHY “register”.
Syntax >> wpr register value >> wpr 0 400 ‡ puts the PHY in internal loopback cpu, Display CPU Registers The “cpu” command displays the contents of CPU registers.
Syntax >> cpu Memory Registers: (0xa0000000) MDCNFG: 0x0491b255 MDCAS00: 0xaaaaaa9f MDCAS01: 0xaaaaaaaa MDCAS02: 0xaaaaaaaa MSC0: 0xfffc4774 MSC1: 0x4115fffc MECR: 0x0d280d28 MDREFR: 0x02300151 MDCAS20: 0x1861861f MDCAS21: 0xfff86186 MDCAS22: 0xffffffff MSC2: 0xfffc4111 SMCNFG: 0x00000000
The Bootloader
6
Coprocessor 15 Registers: ID: 0x6901b119 CTRL: 0x00000270 v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
6-11
Page 260
Chapter
6
The Bootloader
TLB: DAC: FSR: FAR:
0x3f6d8000 0x76cdda44 0x0000009b 0x55d37dbc
CPSR: 0x600000d3 flsh, Display System Flash Size The “flsh” command dynamically sizes system flash by loading a piece of code into memory and vectoring to it so that it can query the flash ID register.
Syntax >> flsh Flash size: 0x00400000 --> 4194304 bytes ram, Display System RAM Size The “ram” command displays the size of system RAM by writing unique data patterns to all address boundaries and checking where word-wrap is detected.
Syntax >> ram RAM size:
0x02000000 --> 33554432 bytes.
cach, I-Cache Control The “cach” command controls the “state” (1=on, 0=off) of the system instruction cache.
Syntax >> cach state x, File Transfer and Execute The file transfer and execute utility downloads a program over the serial link, places it in RAM, and jumps it. This utility represents a combination of the old “download” and “execute” commands.
6-12
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008