DNR-X-1G Series RACKtangle and HalfRACK Systems
Chapter 6 103
Programming CPU Board-specific Functions
October 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
6.4.8 Memory Test/
Memory Clear
Command
Typing simod 7 performs a memory test on the DNR-X-1G CPU address
space.
The test writes standard memory test bit patterns to each memory location and
then reads each location back and verifies. At the end, it reports any bit
mismatches.
Note that this memory test writes over any content in that memory space;
therefore, it can be used to clear memory, as needed.
DQ> simod 7
Memory test/clear
Clear memory and reboot? y/[n]>n
CPU layer memory test
Start addr=0x00200000 End addr=0x07FFFFFC (125MB)
Total errors: 0
DQ>
Typing “y” after “Clear memory and reboot? y/[n]>” causes the chassis
to automatically reboot.
DQ> simod 7
Memory test/clear
Clear memory and reboot? y/[n]>y
CPU layer memory test
Start addr=0x00200000 End addr=0x07FFFFFC (125MB)
ADDR: 0x04C00000 (76MB) errors=0
<...memory test completes and then system reboots...>
6.4.9 Monitor CPU
and Pbuf
Usage
Command
Entering simod 15 at the serial command prompt causes the CPU and packet
buffer load to continuously print to the serial console.
simod 15 can be used to monitor the DNR-X-1G serial port while your
application is sending and receiving control words and data over Ethernet.
DQ> simod 15
Printing statistics
+cpu:1 pbuf:avail:576 used:20 max:20 err:0
+cpu:12 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0
+cpu:8 pbuf:avail:576 used:20 max:20 err:0