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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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,380 次查看
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 项奖励
回复
0 回复数