AnsweredAssumed Answered

Problem with SafeRoutineCaller while overwriting flash.

Question asked by sufyanalamad on Jan 5, 2017
Latest reply on Jan 11, 2017 by sufyanalamad



My setup is a Cortex-M0+ (MKL15Z128VFT4) running freeRTOS.


I am trying to write to flash using the ProcessorExpert components. Inside of of method IntFlashLdd2_Main, SafeRoutineCaller() is used. This function has been confirmed to be the point of failure. The processor resets to __vect__table 0x00.


Our bootloader does not use freeRTOS, and also writes to flash, but works perfectly. This leads me to think that the issue arises from the freeRTOS ports taskENTER_CRITICAL() and taskEXIT_CRITICAL().


However our generated watchdog clearing function also uses the above freeRTOS functions, and that is working fine.

I would appreciate some help resolving this issue.