From: Borton, N. <bo...@sr...> - 2013-07-25 22:13:16
|
Hello, I have been using OpenOCD with a Freescale K60 demoboard for months while my custom hardware was being built. Things have been working fine with the demoboard. The hardware is now in and I am having issues with it constantly resetting from the watchdog. One solution I've read is to perform a mass erase. The way to do this is to write to one of the DAP registers. I can read the ID reg for the DAP I need to access: K60.cpu dap apid 1 > 0x001c0000 What I need to do is write 1 to 0x01000004 in the DAP to initiate the mass erase, and read 0x01000000 to monitor when it finishes. Mww and mdw do not seem to be performing this function. Thanks, Nick |