I would try my project under chibios but I can't debug with Gdb. It is based on an Olimex STM32H407 board.
I have tried the simple demo "ARMCM4-STM32F407-DISCOVERY" with a -O0 compile option. The Led blink but a simple breakpoint doesn't work (with -O2 and -ggdb, breakpoint works). I can Singint the program, so it is well attached..
I use openocd 0.6.1 and Linaro prebuilt toolchain :
Code: Select all
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.3 20130312 (release) [ARM/embedded-4_7-branch revision 196615]
GNU gdb (GNU Tools for ARM Embedded Processors) 7.4.1.20130312-cvsI have the same problem with ChibiOs 2.4.3
What part fail ?