LPC1549 and LPC11U68 Failed on connect: Ee(42). Could not connect to core.

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

LPC1549 and LPC11U68 Failed on connect: Ee(42). Could not connect to core.

Jump to solution
1,383 Views
adamhimer
Contributor II

Hi,

On a fresh Windows 10 setup, running MCUXpresso IDE v10.2.1 [Build 795] I cannot debug my LPCXpresso V2 boards LPC11U68 or LPC1549. Both Debug Probes show up fine as LPC-LINK2 CMSIS-DAP V5.183 with no driver errors.

The same boards with same cables work OK on a different PC with Win8. They also worked fine on the previous Win10 PC that I used.

In the past 4 hours I tried to update BIOS, uninstall-reinstall MCUXpresso, started numerous fresh workspaces with freshly imported sample projects, deleted .launch files, enable/disable Vector Catch option, Pull ISP on Reset option disabled, 


I have found others have had this issue but I haven't been able to find a solution. Please help.

I get the following messages after hitting the Debug button:

pastedImage_11.png

pastedImage_10.png

pastedImage_12.png

Labels (2)
0 Kudos
1 Solution
1,103 Views
adamhimer
Contributor II

It seems to be that the "Use enhanced peripheral service" option was the culprit. I unchecked it and now seems to be OK.
pastedImage_1.png

View solution in original post

0 Kudos
4 Replies
1,104 Views
adamhimer
Contributor II

It seems to be that the "Use enhanced peripheral service" option was the culprit. I unchecked it and now seems to be OK.
pastedImage_1.png

0 Kudos
1,103 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Adam Himer,

How about first erase the chip by GUI Flash Tool, then use a simple project to have a try.

pastedImage_1.png


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,103 Views
adamhimer
Contributor II

Hi Alice,

Yes I have tried that as well, and also putting the chip in ISP mode.

pastedImage_1.png

0 Kudos
1,103 Views
adamhimer
Contributor II

Here are some logs from the console that might help:

Redlink Server:


[Started server]
[Connected on port 3025]
redlink> ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.183
Serial Number = ESAQBQKQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#7&7853efc&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.183
Serial Number = ESAQBQKQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#7&7853efc&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink> ProbeIsOpen 1
FALSE
redlink> ProbeOpenByIndex 1
Probe not open
redlink> WireIspReset 1
Probe not open
redlink> WireIsConnected 1
FALSE
redlink> WireSwdConnect 1
Probe not open
redlink> CoresConfigured 1
FALSE
redlink> CoreConfig 1
Probe not open
redlink> ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.183
Serial Number = ESAQBQKQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#7&7853efc&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink> quit
[Closed]

gdb traces:


407,557 2-list-thread-groups
407,566 2^done,groups=[{id="i1",type="process"}]
407,566 (gdb)
411,406 3-gdb-version
411,416 ~"GNU gdb (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 8.0.50.20171128-git\n"
411,416 ~"Copyright (C) 2017 Free Software Foundation, Inc.\n"
411,417 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
ed by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
411,417 ~"This GDB was configured as \"--host=i686-w64-mingw32 --target=arm-none-eabi\".\nType \"sho\
w configuration\" for configuration details."
411,417 ~"\nFor bug reporting instructions, please see:\n"
411,417 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
411,418 ~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/soft\
ware/gdb/documentation/>.\n"
411,418 ~"For help, type \"help\".\n"
411,418 ~"Type \"apropos word\" to search for commands related to \"word\".\n"
411,418 3^done
411,418 (gdb)
411,418 4-environment-cd C:/Users/frakk/Desktop/Test/demos_switch_blinky
411,429 4^done
411,429 (gdb)
411,430 5-gdb-set breakpoint pending on
411,439 5^done
411,439 (gdb)
411,439 6-enable-pretty-printing
411,450 6^done
411,450 (gdb)
411,450 7-gdb-set python print-stack none
411,461 7^done
411,461 (gdb)
411,462 8-gdb-set print object on
411,472 8^done
411,472 (gdb)
411,472 9-gdb-set print sevenbit-strings on
411,482 9^done
411,482 (gdb)
411,482 10-gdb-set charset ISO-8859-1
411,493 10^done
411,493 (gdb)
411,493 11-gdb-set auto-solib-add on
411,503 11^done
411,503 (gdb)
411,506 12-file-exec-and-symbols --thread-group i1 C:/Users/frakk/Desktop/Test/demos_switch_blinky/D\
ebug/demos_switch_blinky.axf
411,517 12^done
411,517 (gdb)
411,519 13-interpreter-exec console "set remotetimeout 60000"
411,528 =cmd-param-changed,param="remotetimeout",value="60000"
411,528 13^done
411,528 (gdb)
411,531 14-target-select extended-remote | crt_emu_cm_redlink -msg-port=62207 -g -mi -2 -pLPC11U68 -\
vendor=NXP -vc -reset= -ProbeHandle=1 -CoreIndex=0 --flash-driver LPC11U6x_256K.cfx --telnet 3331
413,084 14^error,msg="Remote communication error. Target disconnected.: Success."
413,085 (gdb)
413,090 15-target-disconnect
413,090 16-gdb-exit
413,096 15^error,msg="You can't do that when your target is `exec'"
413,096 (gdb)
413,097 16^exit

0 Kudos