esden / summon-arm-toolchain

This project is not under active development any more. Consider using https://launchpad.net/gcc-arm-embedded instead! A very simple build script for bare metal arm toolchain. NO LINUX!
http://summon-arm-toolchain.org/
213 stars 92 forks source link

OpenOCD cannot debug with STLinkv2 in stm32f4discovery #49

Open Totoxa opened 11 years ago

Totoxa commented 11 years ago

if OpenOCD is built with the patch applied by the script the debug function (in eclipse with GDB Hardware debug) doesnt work, OpenOCD show this in the console: .... target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800e1f8 msp: 0x20020000 target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x20000042 msp: 0x20020000 Error: gdb requested a non-existing register Info : dropped 'gdb' connection

without the patch everything works fine