LPCXpresso54S018 - Debugger Cannot Halt Processor

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

LPCXpresso54S018 - Debugger Cannot Halt Processor

ソリューションへジャンプ
1,088件の閲覧回数
brian_ungar
Contributor III

I am using either the JLINK SEGGER Debugger or the Link Server debugger to upload some test code on to my LPCXpresso54S018 card. If the previously loaded code had a severe error that caused the CPU to not stop in a graceful way, then I get a message from the debugger saying that it cannot halt the processor when I try to upload new code.

The bad code is in flash and runs each time that the board is reset.

How do I force the CPU to halt or how do I clear out the code in flash so that it will not run on the next board reset? Is there a way to force the debugger to stop the CPU no matter what is going on?

Sometimes I can reflash the Link Server debugger and get it to upload a benign  Hello World program to overwrite the bad code in flash. However, this doesn't always work.

0 件の賞賛
返信
1 解決策
1,082件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

You can mass erase flash using either J-Link SW or MCUxpresso included mass erase tool. This is explained briefly in MCUxpresso User Guide Chapter 11.3.1 Debug Quickstart Shortcuts (rev 11.6.0, 13/JUL/2022). You can found this user guide in the installation directory for MCUxpresso.

Let us know if there is something else we can help you with.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,083件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

You can mass erase flash using either J-Link SW or MCUxpresso included mass erase tool. This is explained briefly in MCUxpresso User Guide Chapter 11.3.1 Debug Quickstart Shortcuts (rev 11.6.0, 13/JUL/2022). You can found this user guide in the installation directory for MCUxpresso.

Let us know if there is something else we can help you with.

0 件の賞賛
返信