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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

380 Views
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?

Labels (1)
0 Kudos
3 Replies

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

208 Views
anuvandandave
Contributor I

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

0 Kudos

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