AnsweredAssumed Answered

Processor runs at different speed in debug

Question asked by Rande Newberry on May 28, 2014
Latest reply on Jun 4, 2014 by Hui_Ma

We are using Codewarrior 10.6. The processor is MK20DX128VLH7, 64 pin package, using Processor expert, with GCC toolchain.

Having many problems getting this project to work. I have used the HC05,08,9S08, Coldfire for years, the ARM stuff is giving fits..



In the effort to trouble shoot our actual project, we created a new dummy project with 1 bean that toggles an I/O pin in an endless loop.

The frequency of this toggling is about 2.5 times faster in debug mode than when the unit is just powered up. (it's about 1Mhz in Debug and 390Khz in run mode).


Why does the processor run at a different speed in debug than standalone?



Outcomes