FreeRTOS task list and Heap Usage views in MCUXpresso IDE 10.3.1 with SDK 2.5.0 for the iMX.RT1052 are not displaying status for all tasks during debug session. I am using an LPC Link2 debug probe with OpenSDA firmware, however I also tried a PEMicro Multilink ACP probe with the same results.
This is a continuation of the following community post which is marked: Assumed Answered
https://community.nxp.com/thread/466984
however this remains a problem with the current version of MCUXpresso IDE.
FreeRTOS TAD logs in my debug workspace show read timeouts and other errors from the debug session (see attached logfile).
The read timeout appears to trigger the faults. According to the other post linked above, a timeout threshold would need to be increased in a plugin for MCUXpresso IDE.
Is this a fix that is planned or is there another workaround/solution for this issue?
Hi Daniel,
To reproduce this issue on the iMXRT1050-EVKB will require customizing our application to run on the EVKB hardware pinout.
For now this is my task list retrievable thru the vTaskList() call into FreeRTOS.
void vTaskList( char * pcWriteBuffer )
Name Status Prio Stack Number
---- ------ ---- ----- ------
ADC R 4 623 6
conMain X 4 501 12
GPIO R 4 129 5
IDLE R 0 50 2
OPTCE-HI-PR-SYN B 1 10389 10
OPTCE-HAL B 3 30863 7
OPTCE-EQ-WH B 1 30918 8
OPTCE-EQ-CFG B 1 30922 9
OPTCE-SMC B 1 51402 11
Tmr Svc B 9 118 3
SS B 5 806 4
I've attached a picture of these tasks as seen by MCUXpresso IDE FreeRTOS Task List view.
I'm guessing that creating a bunch of tasks in an empty EVKB project with similar task cfg to the ones I have identified above should produce the same results. I don't believe I'm doing anything significantly different within my projects to keep the task info from being retrieved. The readout above is provided via commandline console running on the 1052.
Can you create a test project with at least as many tasks as I show running above and confirm that MCUXpresso IDE Task List (FreeRTOS) view shows all of them?
I am also pasting below a redlink console log dump for one of my debug sessions. This is using one of several LPC-Link2 probes I have worked with. I get similar results using a P&E Micro Multilink ACP probe.
[Started server]
[Connected on port 3025]
redlink> ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.224
Serial Number = I3FUBTOQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#11&2b2fe572&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.224
Serial Number = I3FUBTOQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#11&2b2fe572&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> ProbeList
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.224
Serial Number = I3FUBTOQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#11&2b2fe572&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
redlink> ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.224
Serial Number = I3FUBTOQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#11&2b2fe572&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 Handle 1 Open
redlink> WireIsConnected 1
FALSE
redlink> WireSwdConnect 1
DpID = 0BD11477
redlink> CoresConfigured 1
TRUE
redlink> ProbeStatus
Index = 1
Manufacturer = NXP Semiconductors
Description = LPC-LINK2 CMSIS-DAP V5.224
Serial Number = I3FUBTOQ
VID:PID = 1FC9:0090
Path = \\?\hid#vid_1fc9&pid_0090&mi_00#11&2b2fe572&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
IsOpen = TRUE
WireInitialized = TRUE
WireProtocol = SWD
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]
Hi Ed:
I tried 15 tasks with MCUXpresso 10.3.1 and 11. Both can show the task list on my side. Probe is DAPLink CMSIS-DAP.
Regards
Daniel
Hi Ed:
Could you please let me know how to reproduce your issue with IMXRT1050-EVKB board?
Regards
Daniel