When I start debugging (using LPCXpresso, Keil, IAR), I noticed that my program started in the bootROM area (0x1FFF_xxxx) although the program download is done and verification is correct

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When I start debugging (using LPCXpresso, Keil, IAR), I noticed that my program started in the bootROM area (0x1FFF_xxxx) although the program download is done and verification is correct

1,262 Views
lpcware-support
Senior Contributor I

On the MCU, please check if the ISP pin is activated (ie. pulled LOW). Otherwise, every time the JTAG / SWD is reset, the MCU will go into bootROM, instead of the user program.

If the ISP pin is not pulled LOW, please check the IDE's configuration. For Keil, the 'Connect' option in Project ->Options for xxx ->Debug->Settings must be set to 'with pre-reset'. For IAR, set Project->Options->Debugger->"JTAG Name"->Reset to "Normal". If your project is using an external JTAG configuration (*.ini in Keil and *.mac in IAR), please make sure that it is configured to point to internal Flash or SRAM.

0 Kudos
Reply
0 Replies