Unable to enter debug

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

Unable to enter debug

733 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Thu Feb 18 13:20:39 MST 2010
In playing with the settings I seem to have created two LPCxpresso boards that will no  longer enter debug mode.
When I try to connect I get a "Invalid ACK returned from DP access".

I try a co-workers board and it works.

I had been playing with the settings in the system_LPC11xx.c file in the CMSIS project, namely those pertaining to the PLL and clock source.

Any way to recover these boards or are they bricks?

In the process of trying to get them to work I reinstalled the IDE.  :P

Rich
0 Kudos
Reply
4 Replies

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Tue Feb 23 01:33:35 MST 2010

Quote: richas
In playing with the settings I seem to have created two LPCxpresso boards that will no  longer enter debug mode.
When I try to connect I get a "Invalid ACK returned from DP access".

I try a co-workers board and it works.

I had been playing with the settings in the system_LPC11xx.c file in the CMSIS project, namely those pertaining to the PLL and clock source.

Any way to recover these boards or are they bricks?

In the process of trying to get them to work I reinstalled the IDE.  :P

Rich



Tie the ISP pin (P0.1) to ground. Upon reset/power-up, this will cause the board to enter ISP mode instead of running the user flash code. At this point the board can be reprogrammed by ISP through the UART, or the SWD port (driven by LPC-LINK) can take control of the board while it is running the ISP firmware and erase/program the flash memory.

-NXP
0 Kudos
Reply

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Fri Feb 19 00:16:10 MST 2010

Quote: noritan_org
I am afraid



Tie ISP pin to GND and don't worry. Anyway, NXP did a bad thing, RESET pin must be non-configurable.
0 Kudos
Reply

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by noritan_org on Thu Feb 18 21:47:59 MST 2010
Is the FlashMagic available when the RESET pin is configured as GPIO ?

I wonder how the LPCXpresso board works when P0_0 is configured as GPIO.  I can try it but I didn't because I am afraid that the LPCXpresso board may be unusable.

Does anyone try that configuration ?
0 Kudos
Reply

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Thu Feb 18 16:06:20 MST 2010
I built up an rs232 converter circuit and buttons on P0.1 and reset.  Using Flashmagic I was able to erase the micro and now debug works.

Rich
0 Kudos
Reply