I have a problem using pemicro debug plugin with freeRTOS
I am using the freertos_generic_twrkv58f220m project
if I break after the scheduler starts I get a flood of these errors.
PE-ERROR: ERROR: Could not find thread-id 1298
PE-ERROR: ERROR: Could not find thread-id 988
PE-ERROR: ERROR: Could not find thread-id 1910
PE-ERROR: ERROR: Could not find thread-id e10
PE-ERROR: ERROR: Could not find thread-id 15b8
Notes:
- breakpoints work before the scheduler starts.
- If I don’t break the code runs fine, I see the expected results on the serial port
- I followed Eric’s advice in https://mcuoneclipse.com/2017/02/25/pe-arm-cortex-m-debugging-with-freertos-thread-awareness-and-rea...
and set
#define configTASK_RETURN_ADDRESS 0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
but this didn’t help
- If I use -kernel=none in the debug config then breakpoints work but I only get visibility to a single task
I am using:
TWR-Kv58F220M eval board
MCUXpresso SDK 2.2.0
FreeRTOS 9.0.0
PEmicro multilink Universal FX
KDS has:
- Kinetis Design Studio 3.2.0.201603041649
- GNU ARM PEMicro Interface Debugging Support 2.9.6.201704281541c.
I have attached all of the eclipse installs.
Help
Thanks
Joe