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,341件の閲覧回数
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.

ラベル(6)
0 件の賞賛
返信
0 返答(返信)