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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,134件の閲覧回数
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 返答(返信)

962件の閲覧回数
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 件の賞賛
返信

962件の閲覧回数
anuvandandave
Contributor I

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

0 件の賞賛
返信

962件の閲覧回数
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 件の賞賛
返信