Watchdog timer
Posted: Fri Jan 25, 2013 4:32 pm
>from the help line
>How do you control the ARM7 watchdog timer reset interval using coridium basic?
What is the default reset interval?
BASIC does not have built in support for the watchdog timer, but you can read
and write the registers directly to set it up to be active. Access via
pointers, and the HWPWM.bas is a good example of how to read and write hardware
registers.
The default condition of the watch dog timer is not enabled in BASIC.
Details in the User manual from NXP for the appropriate part (for the most part
they are all similar).
And you can test for a watchdog reset condition at the start of your program by
reading the SYSCON RSIR register.
A link to the user manual is in the help file or at the time of this writing its
at--
http://www.nxp.com/acrobat/usermanuals/UM10161_4.pdf
>How do you control the ARM7 watchdog timer reset interval using coridium basic?
What is the default reset interval?
BASIC does not have built in support for the watchdog timer, but you can read
and write the registers directly to set it up to be active. Access via
pointers, and the HWPWM.bas is a good example of how to read and write hardware
registers.
The default condition of the watch dog timer is not enabled in BASIC.
Details in the User manual from NXP for the appropriate part (for the most part
they are all similar).
And you can test for a watchdog reset condition at the start of your program by
reading the SYSCON RSIR register.
A link to the user manual is in the help file or at the time of this writing its
at--
http://www.nxp.com/acrobat/usermanuals/UM10161_4.pdf