On the CC3220SF launch board, I do a simple hello world uart sample, based on FreeRTOS. The code loads and starts, but, when FreeRTOS tries to start first task, the J-Link/GDBServer halts it seems in debug request on call to prvPortStartFirstTask.
And it doesnt get out of it, code cannot resume.
snippet of what SeggerGDBServer prints:
Starting target CPU...
...Target halted (DBGRQ, PC = 0x01004EB2)
---------------------------
snippet from GDB client:
Program received signal SIGTRAP, Trace/breakpoint trap.
0x01004eb2 in prvPortStartFirstTask () at FreeRTOS/Source/portable/GCC/ARM_CM3/port.c:239
239__asm volatile(
---------------------------
And if I continue , it just hits constantly that same SIGTRAP and not going further. This I experience with my J-Link (EDU) , J-Link software JLink_V652c. EDIT: tried latest too - V6.52e,
Interestingly, running the exactly same code/binary through the on-board emulator from TI, XDS110, I do not get this behaviour .. So this is J-Link specific.
(I can't recall seeing this problem using same FreeRTOS base code but on another board and chip, using another J-Link probe and J-Link software though ..)
The problem seems been observed years back, but , it was supposedly fixed ? see thread below .
Any suggestion what's going on for me?
sigtrap problem from old Segger thread 2015
And it doesnt get out of it, code cannot resume.
snippet of what SeggerGDBServer prints:
Starting target CPU...
...Target halted (DBGRQ, PC = 0x01004EB2)
---------------------------
snippet from GDB client:
Program received signal SIGTRAP, Trace/breakpoint trap.
0x01004eb2 in prvPortStartFirstTask () at FreeRTOS/Source/portable/GCC/ARM_CM3/port.c:239
239__asm volatile(
---------------------------
And if I continue , it just hits constantly that same SIGTRAP and not going further. This I experience with my J-Link (EDU) , J-Link software JLink_V652c. EDIT: tried latest too - V6.52e,
Interestingly, running the exactly same code/binary through the on-board emulator from TI, XDS110, I do not get this behaviour .. So this is J-Link specific.
(I can't recall seeing this problem using same FreeRTOS base code but on another board and chip, using another J-Link probe and J-Link software though ..)
The problem seems been observed years back, but , it was supposedly fixed ? see thread below .
Any suggestion what's going on for me?
sigtrap problem from old Segger thread 2015
The post was edited 1 time, last by v01d ().