RSB-4221 User Manual
36
3.13
Watchdog Timer Test
RSB-4221 has an external watchdog IC using TI msp430g2202, which will reset sys-
tem when exception occurs. Please refer to the flow diagram below.
The valid timeout value for watchdog is from 1 to 6553 seconds, and the default time-
out value is 60 seconds.
To test the watchdog, run as follows, the board will reboot after 10 seconds.
root@am335x-adv:/unit_tests# ./AutoRun_WTD 10
Get the timeout value from driver: timeout = 60 seconds
Now, we set the timeout value to 10 seconds
Get the timeout value from driver again: timeout = 10 seconds
Setting succeeded and watchdog is enabled.
Feed the watchdog every 15 seconds.
Feed watchdog!
After reboot, user will see the follow the boot messages:
U-Boot SPL 2013.01.01-svn132 (Sep 28 2014 - 11:39:20)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
Summary of Contents for RSB-4221
Page 6: ...RSB 4221 User Manual vi...
Page 10: ...RSB 4221 User Manual x...
Page 14: ...RSB 4221 User Manual 4...
Page 33: ...23 RSB 4221 User Manual Chapter 2 H W Installation 2 3 2 Board Dimension...
Page 48: ...RSB 4221 User Manual 38...