AnsweredAssumed Answered

How to Run/Debug KL02 in Processor expert

Question asked by Arthur S Faria Jr on Jun 11, 2014
Latest reply on Jun 11, 2014 by Arthur S Faria Jr

Hi,

 

I Have a same problem of Markus post (How to Run/Debug ProcessorExpert example?) but with another MCU (Kinetis KL02Z16VFK4):

 

I'm trying to evaluate ProcessorExpert, but debugging my code always stops at PE_DEBUGHALT(); in cpu.c when clicking "run" and nothing seems to be executed. This is the case also with the example (see below) that came with CodeWarrior - execution stops at PE_DEBUGHAL(); and no LEDs are activated/nothing is sent over the serial interface.

 

One line above in the code it says

 

/* This code can be changed using the CPU component property "Build Options / Unhandled int code" */

 

I tried this by commenting the corresponding code, but execution stopped at the "}" in the following line then...

 

I'm using

- KL02Z16VFK4 without xtal and using SWD interface for debugging.

- CodeWarrior for MCU, Version 10.4

 

Has anybody got an idea? Maybe again a problem with the example being incompatible with the CW version?

 

Greetings from Florianópolis, SC, Brasil,

 

Arthur.

Outcomes