AnsweredAssumed Answered

Is there a bug or fault on Processor Expert for the Kinetis L 04 series?

Question asked by Luiz Martins on Sep 16, 2014
Latest reply on Sep 21, 2014 by Erich Styger

Hello all!!

 

I'm facing a CPU interrupt every-time the initialization code created by Processor Expert is run on a KL04Z8 processor.

The function where I get the interrupt is called from the

 

void __thumb_startup(void)

{

        // Setup registers

        __init_registers();

        // setup hardware

        __init_hardware();

          //    zero-fill the .bss section

        zero_fill_bss();

}

 

zero_fill_bss is the function where the uC gets the CPU interrupt.

 

Does anyone know what might be the causes for that?

 

If I force the CPU with something like asm("b main") from within the Fault Interrupt routine, it apprently works. But it doesn't loook good.

 

I appreciate your help!!

 

Many thanks

Outcomes