I use LPC4088 with SPIFI flash, SPIFI's flash is used to store some icons.When I adjust the program, I have to program the SPIFI flash every time,even if the content of the flash is not changed. it's a waste of time.Is there any way to solve this problem?
Please help me...
Dear Sir,
Thank you for your reply.
When executing the program for the first time, a complete burning program (CPU_FLASH+SPIFI_FLASH) is required.
As shown in the figure below.
SPIFI's flash is used to store some icons,Normally it will not be updated, but whenever I modify the content of the main program (in CPU_FLASH). I have to burn all the programs(CPU_FLASH+SPIFI_FLASH).it's a waste of time.
If I only burn the main program(As shown in the figure below),the program will not be executed correctly.
What I mean is, only burn the modified cpu flash, not the unmodified SPIFI FLASH, saving time.
You mean the program spifi Flash the first time with IDE. This depends on IDE program algorithm and IDE option.
As far as I know, Keil doesn't have this feature you requested. Keil is not NXP product, you may consult Keil for more information. program algorithm is not recommended to be revised as well.
HI
One solution is to arrange one or several flag ( or CRC byte) in spifi Flash. If Flash content doesn't change, the flash doesn't change.
Before programming spifi Flash, read this byte to know if Flash is changed or not. If no change, no need to program the Flash again.
Have a nice day,
Jun Zhang
You must reprogram the spifi Flash during code running?
Can you please test the "reprogramed memory", which sector or which page must be reprogramed?
I can't reproduce your issue? can you reproduce your issue with a lpcopen demo code?