Cannot halt processor

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

Cannot halt processor

511 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by redshift90 on Wed May 06 21:51:40 MST 2015
I have an LPC-Link 2... LPX Xpresso4330

Try debugging any of the demos and get "Cannot halt processor"

Why?
0 Kudos
3 Replies

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fjrg76 on Sun May 10 18:30:40 MST 2015
It happens to me whenever the code gets into an infinitum loop:

while(1)
{
// none
};

or when the processor is in some of the several sleep modes, and it's there when you stop the debugging session. My workaround is to hard-reset the chip just before starting the debugging.
0 Kudos

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Thu May 07 19:30:29 MST 2015
Hi redshift90,
Also check here
http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access
0 Kudos

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed May 06 23:03:06 MST 2015
Check how you have connected LPC-Link2 to the target - is the cable inserted correctly? Is the target powered? Have you tried putting the target into ISP mode?
0 Kudos