lpcware

OM13071 cannot debug: Target marked as not debuggable

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by tvarghese on Thu Apr 09 21:08:53 MST 2015
Running the latest version of LPCXpresso: 7.7.2

I've upgraded to the latest firmware for the OM13071: 0221

Still not having any luck debugging a OM13071 board.

I've even tried RedProbe+ with JP1 installed.

I always get the same error int console:

LPCXpresso Debug Driver v7.7 (Mar 31 2015 21:04:25 - crt_emu_cm3_gen build 93)
Failed on connect: Ep(01). Target marked as not debuggable.
Connected. Was: None. CpuID: 00000000. Info: FTV7X6SQA
Error 0: (null)
Last sticky: 0. AIndex: 0
No MemAp selected
No Speed test
Debug protocol: SWD Frequency 50 KHz. RTCK: Disabled. Vector catch: Enabled.
(100) Target Connection Failed


In the dialogs I see this:

02: Failed on connect
02: Failed on connect
Target marked as not debuggable.
Emu(0): Connected. Was: None. CpuID: 00000000. Info: FTV7X6SQA

And

Error in final launch sequence
Failed to execute MI command:
-target-select extended-remote | crt_emu_cm3_gen -msg-port=55159 -g -mi -2 -pLPC824 -vendor=NXP -vc -e0 -flash-driver=LPC800_32.cfx
Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Remote communication error. Target disconnected.: No error.


I've read through all the forum posts I could find that seemed relevant, but not having any luck.

I have tried holding the reset button while powering so that it goes into the CRP mode, did not change anything.

I tried loading the freertos_blinky project, no luck.  I did notice that it was built for an LPC812, so I created a new dummy project for the LPC824 with nothing it it other than a while(1){} loop that runs forever, still no luck.

If any other information would be helpful, please let me know, I'll be happy to post it.

Any suggestions for things to try? I've been working with micros for a *long* time and this is one of those cases where it seems I'm missing something really simple, but just can't figure it out.


TIA!

Outcomes