Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenOCD cannot debug with STLinkv2 in stm32f4discovery #49

Open
Totoxa opened this issue Feb 11, 2013 · 0 comments
Open

OpenOCD cannot debug with STLinkv2 in stm32f4discovery #49

Totoxa opened this issue Feb 11, 2013 · 0 comments

Comments

@Totoxa
Copy link

Totoxa commented Feb 11, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant