Error for debugger and programming setup for LPC1857

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

Error for debugger and programming setup for LPC1857

2,374 次查看
lpcware
NXP Employee
NXP Employee
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-proce...

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.

标签 (1)
0 项奖励
回复
3 回复数

2,287 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by manoS on Thu Aug 21 22:43:08 MST 2014
Hello,

Anyone who have experienced this error with above mentioned condition, please revert back with your suggestion to help resolve.

Have attached the Kiel setup images for your reference.

0 项奖励
回复

2,285 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by manoS on Wed Aug 20 23:21:03 MST 2014
Hello mc,

Thanks for your reply.

Yes i did check, have set "Size" in "RAM for Algorithm" as 0x8000 since LPC1957 has local RAM of 32kB.

I am sharing Images of setup done for your reference.

Let me know if you find something in them.
0 项奖励
回复

2,285 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Wed Aug 20 13:37:29 MST 2014
Hi Sonam,
Please open the link you mentioned in your post and check the section "setting up SPI flash"
Check the Keil flash download screen shot.
Please make sure that the size in "RAM for Algorithm" is not very small.
The Screen shot shows 0x8000. Try to match this value in your Keil IDE.
0 项奖励
回复