AnsweredAssumed Answered

LPC4370 Cannot reliably enumerate JTAG TAPs

Question asked by Dave Marples on Oct 4, 2016
Latest reply on Oct 6, 2016 by LPCX presso support

Folks,

 

Running LPCLink2/LPCXpresso 8.2.2 on OSX, I am trying to perform multi-core debugging of a LPC4370, but having some difficulty. If I try to configure a debug session and list the TAPs (Bug -> Debug Configurations -> Debugger -> Target Configuration -> Edit JTAG Configuration ) the first time I only see the two M0 cores, and no M4. The second time I perform the same process I only see one M0 and the third time I see no cores at all.  If I look at the logging output window the command 'CoreList 1' progressively returns less TAPs each time.

 

If I terminate and restart LPCXpresso I can repeat the process.  Anyone any advice please? Although I haven't tried many work-arounds yet I can't (easily) allocate TAPs to debug sessions at the moment, so I can't multi-core debug...the process above is the easiest way to highlight the problem, but it also seems to stop me being able to select the M4 for a JTAG Debug session.

 

DAVE

 

 

[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
redlink>ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
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 Handle 1 Open
redlink>WireIspReset 1
redlink>WireIsConnected 1
FALSE
redlink>WireJtagConnect 1
redlink>CoresConfigured 1
FALSE
redlink>CoreConfig 1
Number of CORES/TAPs = 3, Fully recognized: True
redlink>CoreList 1
TAP 1: 0BA01477 Core 0: M0   APID: Unknown
TAP 2: 0BA01477 Core 0: M0   APID: Unknown
redlink>ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
redlink>ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
IsOpen = TRUE
WireInitialized = TRUE
WireProtocol = SWD
CoresConfigured = TRUE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink>ProbeIsOpen 1
TRUE
redlink>WireIspReset 1
redlink>WireIsConnected 1
FALSE
redlink>WireJtagConnect 1
redlink>CoresConfigured 1
TRUE
redlink>CoreList 1
TAP 1: 0BA01477 Core 0: M0   APID: Unknown
redlink>ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
redlink>ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.173
Serial Number = IQCYEVCR
VID:PID = 1FC9:0090
Path = USB_1fc9_0090_14100000_ff00
IsOpen = TRUE
WireInitialized = TRUE
WireProtocol = SWD
CoresConfigured = TRUE
PacketSize = 1024
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink>ProbeIsOpen 1
TRUE
redlink>WireIspReset 1
redlink>WireIsConnected 1
FALSE
redlink>WireJtagConnect 1
redlink>CoresConfigured 1
TRUE
redlink>CoreList 1

Outcomes