AnsweredAssumed Answered

FRDM-K22F in KDS 2.0 doesn't Reset Properly

Question asked by Thomas Schmid on Mar 12, 2015
Latest reply on Jun 29, 2015 by Chris Brown

We have a new project where we want to use the K22F. For testing of the toolchain, we used the FRDM-K22F board and KDS 2.0. We noticed that if we program the board with some demo code (e.g. the CDC virtual com example), we can program the board just fine, and it starts executing it just right. However, the "Reset" button doesn't work (e.g. if you want to start over from the initialization). KDS properly executes the gdb commands:

 

tbreak main

mon reset halt

continue

 

However, the system never stops at main, and it just keeps executing. We dug a little deeper and used openocd directly. Executing "reset halt" does not reset the core! You can single step, execute the reset, and the PC will still be at the same location.

 

Anybody else observe this issue, or has a fix for this? It is very inconvenient to have to reprogram every time you want to re-execute your binary.

Outcomes