Hi Artur,
You can't write the data to the flash, did you meet any problem when debug it?
Did you disable the interrupt before you do the flash operation?
You can refer to this post at first, make sure you disable the global interrupt:
https://community.nxp.com/message/597793
The code you can refer to the KSDK1.3.0 flash demo.
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------