AnsweredAssumed Answered

Reboot when try to write flash

Question asked by Denis Matt on May 24, 2017
Latest reply on Oct 12, 2017 by Joseph Walsh

Hi all, im working with the Kinetis Design Studio, Version: 3.2.0. Now im programming a routine that erases and writes Flash. I took some example Code and that works fine when i run it by singlestep "step into (F5)".

But when i let run it normally the MCU reboots suddenly as when he reaches the execute command:

 

FTFA_FSTAT = 0x80;      // write the CCIF Bit to clear it and start the command

 

All associated Interrupts are switched off. What is different in the singlestep mode ?

Outcomes