LPC54608 Program crash problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC54608 Program crash problem

139 次查看
Zhaozhiling
Contributor I

Hello, may I ask, LPC54608 product in the client application of the program crash, but re-use IAP burned and returned to normal what is the cause?

0 项奖励
1 回复

115 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suggest that you use IAP function to erase/program on-chip flash, because the IAP function executes code in internal RAM and operate flash. as you know when you operate the flash, the flash can not be accessed/executed from.

If you write register to erase/program flash without using IAP function, So you have to disable all interrupt so that the flash is not accessed, furthermore, I suggest you copy the code to erase/program flash to internal SRAM and execute the code in SRAM to operate the flash.

Hope it can help you

BR

XiangJun Rong

 

0 项奖励