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.
Thanks for this info. How do I configure this Blinky project to run on Flash or appropriate memory?
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:
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer