Was working, but now unable to debug.

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

Was working, but now unable to debug.

502 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andypevy on Thu May 07 08:24:26 MST 2015
Hi,

      I realize that this is covered by some FAQ entries, but none of the solutions they describe work for me.

I have an OM13077 dev board, that was working last week. I returned from a short break and now I cannot debug it.

It is running on Win7 Pro, using V7.7.2_379 and trying to load a completely unaltered periph_blinky project.

When I plug the USB debug cable in, I get the bong bing sound and the device manager indicates that
the debug board (LpcDevice) shows up, and the task manager shows the Redlink server running after I
press the chain icon (Not sure I have to do this, but...).

As soon as I tell the IDE to debug the project, I get the Bing Bong sound indicating that the USB device has been
unloaded, it's entry disappears from the device manager, and I get the following popup appear :-

Error: Error reported by server (redlinkserv.exe):
RedlinkAPI: Wire Ack Fault - target connected ?
Redlink Server has been terminated and will be restarted.
Please restart your debug session.
If the problem recurs, please power cycle your debug probe and restart LPCXpresso.


I have restarted, rebooted, plugged into a different USB port, reinstalled the USB drivers
all to no avail.

This was working perfectly last Thursday but now won't allow me to debug.

Where do I go from here please ???.

Thanks,
Andy




Labels (1)
0 Kudos
3 Replies

450 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by OldisGold on Wed Jun 17 11:43:37 MST 2015
Thanks for sharing I had a similar problem.

In my case using ISP alone did not work.
I created a new workspace in LPCXpresso IDE (periph blinky example) and then used the ISP to recover the board.


0 Kudos

450 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andypevy on Fri May 08 02:26:05 MST 2015
Thanks, That fixed it.

I used the ISP mode to recover the board.

As a word of warning to others who might be tempted to use the 'pinint' project
as it is supplied, the default power down mode will render the OM13077 undebuggable.

/* Select a mode of type 'POWER_MODE_T' for this example: mode available are
   POWER_SLEEP, POWER_DEEP_SLEEP, POWER_POWER_DOWN*/

// WARNING: This will render the OM13077 undebuggable.
//#define PDOWNMODE   (POWER_POWER_DOWN)

// This does not.
#define PDOWNMODE   (POWER_SLEEP)


Andy


0 Kudos

450 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu May 07 08:30:26 MST 2015

Quote: andypevy
Where do I go from here please ???



http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access
0 Kudos