-
Notifications
You must be signed in to change notification settings - Fork 9
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
support for black magic probe upload method #25
Comments
Hmm, I can look into this. Does this probe have its own uploader and/or gdb server? What are the modifications you need to make? |
BMP runs its own gdbserver (on the probe itself) and comunicates over usb serial. So to use it I just start gdb and then connect to it with:
and then to connect to the mcu I do:
After that I can load/debug/or whatever. So basically my .gdbinit file has those three lines. |
Hmm, that sounds like it could be tough because every build target would need its own gdbinit. Hmm maybe there's a way to pass commands to gdb on the command line instead. |
maybe --eval-command and --init-eval-command options may help with this ? |
Hi,
It would be great if BMP were supported. Currently I'm using BMP with OpenOCD upload method but I need to modify mbed-cmake.gdbinit generated file to be able to debug.
The text was updated successfully, but these errors were encountered: