lpcware

Error for debugger and programming setup for LPC1857

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by manoS on Wed Aug 20 03:04:39 MST 2014
Hello,


I'm using external SPIFI Flash (S25FL032)on LPC1857 explorer board.
I am using Kiel IDE to program the flash using ULINK2.

I have done debugger and programming setup for the same as mentioned in link below:

[u]http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-build-procedures/lpc18xx/43xx-lp-5[/u]

Yet when i try to load the code I get one of the following error:

Cannot Load Flash Programming Algorithm!

followed by:

Error: Flash Download Failed - "Cortex-M3"

I removed the Programming Algorithm of "LPC18xx/43xx S25FL032 SPIFI" and then added  "..\Keil\ARM\flash\LPC18xx43xx_S25FL032.FLM" again.

And tried to load the program again. Still I get error:

Cannot Load Flash Programming Algorithm!

followed by:

Error: Flash Download Failed - "Cortex-M3"

Please help me understand is there anything more that needs to be configured to download on flash or needs to be checked that is getting missed out.

Outcomes