Hi everybody,
I'm working with kl25 , C90TFS Flash driver ,
when the mcu start up , first I will start the systick, such as:
SysTick_Config(CLOCK_GetFreq(kCLOCK_CoreSysClk) / 1000U);
and then , I will init and earse the flash, the application crash, How to solve it ?
Hi Randolph,
Flash operation can't be break by the interrupt, so before you launch the flash command, please disable the global interrupt, after the flash operation is finished, then enable the global interrupt again.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------