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?
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.
I think it would be better if download the LPCOpen package for the LPC1837 MCU:
Or you can also change the Target Device in the project options, this will set the corresponding Memory areas:
Hope it helps!
Technical Support Engineer