lpcware

LPCXpresso v6.1.2 mbed LPC1768 CMSIS-DAP Error

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ScubaBoy on Wed Jan 08 07:05:33 MST 2014
Hi,

I've been evaluating LPCXpresso v6.1.2 as an offline tool chain to work with my mbed LPC1768 MCU however I have encountered a problem when trying to run a debug session using the CMSIS-DAP interface. After the image is downloaded to the device it restarts which upsets the CMSIS-DAP connection. If I manually copy the image to the device and then start a debug it works.

Is there any way to restart the CMSIS-DAP session to cope with the device reset after an image download?


LPCXpresso RedlinkMulti Driver v6.0 (Nov 20 2013 07:01:29 - crt_emu_cm_redlink build 252)
Looked for chip XML file in C:/nxp/LPCXpresso_6.1.2_177/lpcxpresso/bin/LPC1768.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_6.1.2_177/lpcxpresso/bin/NXP_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_6.1.2_177/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC175x_6x_512.cfx: LPC175x_6x (512K) Apr 22 2013 12:14:31  On-chip Flash Memory
Connected: was_reset=true. was_stopped=false
v LPCXpresso Free License - Download limit is 256K
Writing 2704 bytes to 0000 in Flash (assumed clock: unknown)
Erased/Wrote page  0-0 with 2704 bytes in 1449msec
Flash write Done
Stopped (Was Reset)  [Reset from Unknown]
Could not start execution from stop: Ee(FF). Undocumented error.


Outcomes