Hi,
i have two problem occuring in my project when trying to debug the code.
1)
When i continue the program, which only makes copy of two files on SD card, the j-link control panel restarts with following state output:
(see the image at: 95.168.216.1/download/images/jlink-problem.png)
[img]http://95.168.216.1/download/images/jlink-problem.png[/img]
(the j-link control panel restarts and looks as you can see on picture)
2) The second problem is that sometime from unknow reason the gdb server stops at freeRTOS idle task with SIGTRAP , while there are no set breakpoint for this function or even in that C-file. The dissasembly code looks absolutely normal, no special SVC or any other thumb sets, just infinte while which does nothing just cycle.
The GDB init looks like:
monitor speed 1000
monitor interface SWD
monitor flash device = STM32F207IG
monitor endian little
monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)
set mem inaccessible-by-default off
#after load:
monitor reset
continue
Conclusion:
I cant debug for more than 2 seconds when CPU is running. Some of the above problems still occures.
i have two problem occuring in my project when trying to debug the code.
1)
When i continue the program, which only makes copy of two files on SD card, the j-link control panel restarts with following state output:
(see the image at: 95.168.216.1/download/images/jlink-problem.png)
[img]http://95.168.216.1/download/images/jlink-problem.png[/img]
(the j-link control panel restarts and looks as you can see on picture)
2) The second problem is that sometime from unknow reason the gdb server stops at freeRTOS idle task with SIGTRAP , while there are no set breakpoint for this function or even in that C-file. The dissasembly code looks absolutely normal, no special SVC or any other thumb sets, just infinte while which does nothing just cycle.
The GDB init looks like:
monitor speed 1000
monitor interface SWD
monitor flash device = STM32F207IG
monitor endian little
monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)
set mem inaccessible-by-default off
#after load:
monitor reset
continue
Conclusion:
I cant debug for more than 2 seconds when CPU is running. Some of the above problems still occures.