LPC54608 Program crash problem

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

LPC54608 Program crash problem

102 Views
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 Kudos
1 Reply

78 Views
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 Kudos