Flash algorithm could not execute completely - k61 chip

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash algorithm could not execute completely - k61 chip

1,548件の閲覧回数
abiabi
Contributor I

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

0 件の賞賛
返信
1 返信

1,314件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Abi Abi

This is a brief description about your issue, I'm not sure what's wrong, so could you explain a little more your problem. How did you set this "Flash_SetByteFlash API" that you mentioned?

Accesses to flash memory should be done from RAM. If the FLASH memory is made up of multiple banks it is possible to run code from one bank while programming the other, but as you want to erase all the memory, then you need to make this access from ram


Have a great day,
Jorge Alcala

0 件の賞賛
返信