Background: Atollic 9.1, F429 Nucleo with Segger debug stub loaded.
We'll be using Segger J-Link when production boards show up.
CubeMX-generated FreeRTOS application.
6.34h Segger software installed.
Trying to debug an LwIP problem, but breakpoint does not operate properly.
When the breakpoint is hit inside an ISR (and FreeRTOS idle, no active task),
the breakpoint fails to operate properly. The application stops, and a debugging
failure is reported in the console window (shown below).
RTOS-aware debugging (RTOS variant) is set to FreeRTOS.
If I change that to 'No RTOS' the ISR breakpoint works,
but of course all the FreeRTOS-aware stuff stops working outside the ISR.
Any idea how to work around this?
Need the debugger to operate properly at the breakpoint!
Thanks in advance!
Best Regards, Dave
Display All
We'll be using Segger J-Link when production boards show up.
CubeMX-generated FreeRTOS application.
6.34h Segger software installed.
Trying to debug an LwIP problem, but breakpoint does not operate properly.
When the breakpoint is hit inside an ISR (and FreeRTOS idle, no active task),
the breakpoint fails to operate properly. The application stops, and a debugging
failure is reported in the console window (shown below).
RTOS-aware debugging (RTOS variant) is set to FreeRTOS.
If I change that to 'No RTOS' the ISR breakpoint works,
but of course all the FreeRTOS-aware stuff stops working outside the ISR.
Any idea how to work around this?
Need the debugger to operate properly at the breakpoint!
Thanks in advance!
Best Regards, Dave
Source Code
- [Switching to Thread 1]
- Temporary breakpoint 7, main () at ..\Src\main.c:139
- 139 {
- [New Thread 536873360]
- [New Thread 536872096]
- [New Thread 536872728]
- [New Thread 536877952]
- [New Thread 536879560]
- [New Thread 536887872]
- Program received signal SIGTRAP, Trace/breakpoint trap.
- [Switching to Thread 536873360]
- prvIdleTask (pvParameters=<optimized out>) at ..\Middlewares\Third_Party\FreeRTOS\Source\tasks.c:3166
- 3166 if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ tskIDLE_PRIORITY ] ) ) > ( UBaseType_t ) 1 )
- [New Remote target]
- [Switching to Thread 536877952]
- Invalid selected thread.