flash write issue with free rtos in frdm k64 f board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flash write issue with free rtos in frdm k64 f board

581 Views
jeena_george
Contributor I

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? 

Labels (1)
0 Kudos
3 Replies

576 Views
nxf56274
NXP Employee
NXP Employee

Hi,

Do you disable the interrupt before writing the flash ? 

1.PNG

 

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.
-------------------------------------------------------------------------------

0 Kudos

572 Views
jeena_george
Contributor I

Yes, disabled the interrupt . But the result is same

0 Kudos

562 Views
myke_predko
Senior Contributor III

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

0 Kudos