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
// Setup registers
// setup hardware
// zero-fill the .bss section
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!!