I am working on MK61FN1M0VMJ15 chip. I was trying to access internal flash memory using Flash_SetByteFlash API. With this change, when I try to erase the existing firmware using flash.reprogram.all /erase, I am getting the error "Flash algorithm could not execute completely". Not sure if something got messed from this memory.
Can someone let me know how to recover from this error?
kinetisk60 firmware update firmware