Loading...
 
Skip to main content

System Workbench for STM32


Using BlackMagic probe to upload frmware and debug

Is it possible to use blackmagic probe (https://github.com/blacksphere/blackmagic/wiki) within Ac6 eclipse environment to upload firmware and debug execution?

Blackmagic probe is HW gdb server and I can acces it over COM5 on my Windows 10 64b.
it box.
How do I need to configure connection to bmp (blackmagic probe)?



regards

Is there some other hw I need to buy that is recommended for programming stm32f3 from openstm32 eclipse environment ?

I was able to upload from openstm32 using legacy debugger under hardware debugging with this command:

target extended-remote COM6
mon swdp_scan
attach 1
monitor vector_catch disable hard
set mem inaccessible-by-default off
monitor option erase
set print pretty

regards

Yes, it is OK in cmd.exe,
but what about eclipse.

I have found this one post about .gdbinit file
https://esden.net/2014/12/29/black-magic-discovery/

Idea is to create .gdbinit in project root dir (e.g. ...\workspace\blink\.gdbinit) and run
arm-none-eabi-gdb - -command c:/path_to_.gdbinit
and even:
arm-none-eabi-gdb - -command c:/path_to_.gdbinit - -version
(- - = --)

It works in cmd.exe, but how to run in from Eclipse?
I've tried to specify it on "GDB Command:" in debug config, but it fail

Any more ideas?