I am evaluating the J-Link for debugging a FreeRTOS application on Texas Instruments TM4C129 class microcontrollers (Cortex-M4F). I am testing on a Texas Instruments EK-TM4C1294XL evaluation kit.
When I attempt to debug the target within Code Composer Studio (TI's Eclipse-based IDE), the code runs to main and can be single-stepped on-demand, however upon calling vPortStartFirstTask, service handler 0 is called and execution is halted. Attempts to step past this instruction simply result in the debugger remaining paused at the same instruction.
I am aware that semihosting also makes use of service calls and have disabled this feature since it is not needed in my target application. Despite this, I still cannot continue beyond startup of the FreeRTOS scheduler. I can debug the application without any problems if I connect to the target after it has been reset.
I found another post and a blog where the same problem was fixed by adding
What am I missing?
When I attempt to debug the target within Code Composer Studio (TI's Eclipse-based IDE), the code runs to main and can be single-stepped on-demand, however upon calling vPortStartFirstTask, service handler 0 is called and execution is halted. Attempts to step past this instruction simply result in the debugger remaining paused at the same instruction.
I am aware that semihosting also makes use of service calls and have disabled this feature since it is not needed in my target application. Despite this, I still cannot continue beyond startup of the FreeRTOS scheduler. I can debug the application without any problems if I connect to the target after it has been reset.
I found another post and a blog where the same problem was fixed by adding
monitor reset 0
to the debugger startup options, but I do not see anywhere to set this option.What am I missing?
The post was edited 2 times, last by BryceHillam ().