You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.
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:
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:
target extended-remote <path to serial device like ttyACM0>
and then to connect to the mcu I do:
monitor swdp (scan for connected devices)
attach <n> (connect to n'th device)
After that I can load/debug/or whatever. So basically my .gdbinit file has those three lines.
So to use debug-<target_name> target I need to change mbed-cmake.gdbinit file to have those three lines in it.
The flash-<target_name> is not usable with BMP now since it uses openocd. To support flashing with BMP the flash target would need to use gdb (connect/load/exit).
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.
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: