2015-05-14 19:59:05 +02:00
|
|
|
K60 tools
|
|
|
|
=========
|
|
|
|
|
|
|
|
This directory contains tools for working with K60 CPUs.
|
|
|
|
|
|
|
|
Watchdog disable
|
|
|
|
----------------
|
|
|
|
|
2019-02-08 18:29:31 +01:00
|
|
|
wdog-disable.bin is a location-independent watchdog disable function with a
|
|
|
|
breakpoint instruction at the end. Useful for disabling the watchdog directly
|
|
|
|
from OpenOCD.
|
2015-05-14 19:59:05 +02:00
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
openocd -c 'reset halt' \
|
|
|
|
-c 'load_image wdog-disable.bin 0x20000000 bin' \
|
|
|
|
-c 'resume 0x20000000' # watchdog is disabled and core halted
|
2019-02-08 18:29:31 +01:00
|
|
|
|
|
|
|
The file is saved generated in the repository to remove the need to have a
|
|
|
|
compiler when flashing. It is only 34 bytes binary.
|