DAPlink LPC55S69 - SWD and JTAG does not work in MCUXpresso
- Dominant language
- C
- Stars
- 2.8k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
Hallo!
You makes a great job in DAPlink. and **DAPlink/develop**
But I have some problem in communication to the taget board.
JTAG and SWD doen't work in MCUXpresso (MCUXpresso IDE v11.3.1 [Build 5262] [2021-04-02]). I use also BL and IF from your "compilers test status".
Bootloader works fine.
IF is showing in "connection-box"
Here is the REDlink console:
```
[Started server]
[Connected on port 3025]
redlink> ProbeList
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 64
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink> ProbeList
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 64
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = CMSIS-DAP
Probe Reference Count = 0
redlink> ProbeList
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = Arm
Description = CMSIS-DAP v1
Serial Number = 00000080f73f9e125231fe3851580eaa3016cc084c504355
VID:PID = 0D28:0204
Path = \\?\hid#vid_0d28&pid_0204&mi_02#9&23a6fe2b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 64
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> WireIsConnected 1
FALSE
redlink> WireSwdConnect 1
Error reading from server (redlinkserv.exe):
Read timed out
Error reading from server (redlinkserv.exe):
Read timed out
[Closed]
[Connected on port 3050]
[Closed]
[Closed]
[Connected on port 3075]
[Closed]
[Closed]
```
I tried with MCUXpresso as IDE with LPC1769 (JTAG + SWD), LPC1549 (SWD), ...
(This is a new isuuo follow LPC55S69_IF and MCUXpresso #831)
Contributor guide
Research direction
Start by comparing this report with LPC55S69_IF and the related MCUXpresso issue #831, then reproduce the failure in MCUXpresso using the REDlink console. Focus on the ProbeOpenByIndex and WireSwdConnect sequence shown in the log; done means both SWD and JTAG communication work with the listed boards.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100