USING ADVANCED OPTIONS
6-5
Document No.: COM-00-05-16 June 2006, Revised June 2014
Version: C.1
The command requires two arguments:
wrblock [starting RAM address in HEX] [number of bytes in decimal]
The first starting address is written with a 00, the next memory address is written with a 01
and so forth, wrapping at 255 back to 0 until all requested bytes are filled with the test
pattern.
exception
– Exception test
This command is used by Siemens Rail Automation personnel to exercise the fatal error
recovery capabilities of the WAG software. The test loads the registers of the internal CPU
with known values and then forces a fatal error to ensure that the accurate contents of the
CPU registers are displayed in the event of an actual fatal error.
After the user types
exception
, an example of the following diagnostic information is
displayed:
Figure 6-4. Exception Test Diagnostic Information
exit
– Exit debugger
This command exits back to the Boot menu.
6.4
UPGRADING THE XILINX CODE
Xilinx code is stored in the WAG FLASH memory. To update the WAG Xilinx, when the WAG is first
powered up, the boot code shows a menu through the WAG serial interface. One of the options is
“
Download Xilinx to WAG
” allowing a Terminal Emulator with the ZMODEM protocol to
send new Xilinx to the WAG. See section 5 for instructions.