NGX Xplorer LPC1837-Works in Debugger Mode, not at Runtime

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

NGX Xplorer LPC1837-Works in Debugger Mode, not at Runtime

1,133 次查看
anuvandandave
Contributor I

I am using the development board- NGX Xplorer LPC1837 on Keil IDE. I am flashing the Blinky code of LPC1830. The code does not run after flashing but works fine when checked in debugger window. The debugger used is Link2 debugger and I am using it as CMSIS-DAP debugger. This issue persists even for other codes. What should I do to resolve it?

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

961 次查看
converse
Senior Contributor V

the Lpc1830 is a flashless, ram only part. If you are using the lpc1830 exactly as supplied, it will be loading to the ram of the lpc1837 and not the flash. So the code will disappear after a reset. You will need to change your project to match the memory/flash configuration.

0 项奖励
回复

961 次查看
anuvandandave
Contributor I

Thanks for this info. How do I configure this Blinky project to run on Flash or appropriate memory?

0 项奖励
回复

961 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Dave,

I think it would be better if download the LPCOpen package for the LPC1837 MCU:

LPCOpen Software for LPC18XX|NXP 

Or you can also change the Target Device in the project options, this will set the corresponding Memory areas:

pastedImage_2.png

pastedImage_3.png


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励
回复