I have an issue while writing to flash in FRDM K64F board when using free rtos. It will work perfectly with out using the free RTOS. But when it uses with the RTOS example it gives " Halted due to flash error". I am using the flash location 0x80000 in FRDM K64F . Could you please help me to find a solution?
Hi,
Do you disable the interrupt before writing the flash ?
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Yes, disabled the interrupt . But the result is same
Hi @jeena_george ,
Could you share your code?
I just posted my Flash code here: Flash Write with FreeRTos with some notes on writing to Flash.
myke