Black Magic Probe

From Stm32World Wiki
Jump to navigation Jump to search
Original Black Magic Probe

As ST have, for some mysterious and completely baffling reason, chosen to make the ST-Link firmware proprietary, we can not pre-load our Jolt Connect - STM32 Programmer (ST-Link/V2-1) devices with this firmware. Fortunately a great alternative exists in the Black Magic Probe.

Building the Black Magic Probe firmware

Cloning the repository

We have created a fork which contains a configuration for the Jolt Connect. Clone from Github:

$ git clone git@github.com:currentmakers/blackmagic.git

This command will clone the repository into a directory called blackmagic.

Configuring

After cloning the repository, the build must be configured with the following commands.

First change to the directory where you cloned:

$ cd blackmagic

Now, run meson using the following command:

$ meson setup --reconfigure jc --cross-file cross-file/jolt-connect.ini -Dprobe=stlink

Building

The firmware can now be build.

First change to the directory created in the previous step:

$ cd jc

And build:

$ ninja bin

Black Magic firmware will run with the ST-Link bootloader but require a special flash tool. You can also build Black Magic's own bootloader:

$ ninja boot-bin

Binaries are linked towards the end of this page.

Miscellaneous Links