AnsweredAssumed Answered

Target Not Debuggable error

Question asked by Aditya Wagh on Aug 3, 2017
Latest reply on Aug 11, 2017 by LPCX presso support

I have LPCxpresso 54608 board . Earlier board was working fine and i could able to download my bin file through MCUexpresso IDE and flash magic both. Now i have compiled my own program using ARM GCC toolchain and downloaded hex file in the flash throgh flash magic. Program is not getting executed and even i am not able to connect board in ISP mode using Flash Magic . Even i compiled existing demo project in MCU expresso ide for USART , i could not able to download bin file throgh IDE also. I am getting error as Target Not Debuggable. I tried to erase flash also using flash utility in IDE but still i am getting same error as Target not Debuggable. Please help me out i got stuck . Reply as soon as possible. I tried to enable vector catch also, but it couldnt helped me.

 

Error Message:

USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#8&c1398b6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
connection to CM3/4 debug bus (DP 0x2BA01477 MemAP[74907665] 0xFFFFFFFF) SWD failed - 'Em(01). Cannot find selected MEM-AP (• WØèi
connection failed - Ep(01). Target marked as not debuggable... Retrying
connection to CM3/4 debug bus (DP 0x2BA01477 MemAP[74907665] 0xFFFFFFFF) SWD failed - 'Em(01). Cannot find selected MEM-AP (¥ WØØi
Vector catch on SYSRESETREQ signal
Debug bus check after stop (MemAP 0x4770011) FAILS - Em(02). MEM-AP is not selected.
Failed on connect: Ep(01). Target marked as not debuggable.
Connected&Reset. Was: NotConnected. DpID: 00000000. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
No debug bus (MemAp) selected
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
(100) Target Connection Failed

Outcomes