After this step a range of elf files for all supported boards are present in the Bootloader directory.
Flashing the Bootloader
:::warning The right power sequence is critical for some boards to allow JTAG / SWD access. Follow these steps exactly as described. :::
The instructions below are valid for a Blackmagic / Dronecode probe. Other JTAG probes will need different but similar steps. Developers attempting to flash the bootloader should have the required knowledge. If you do not know how to do this you probably should reconsider if you really need to change anything about the bootloader.
The sequence is
Disconnect the JTAG cable
Connect the USB power cable
Connect the JTAG cable
Black Magic / Dronecode Probe
Using the right serial port
On LINUX: /dev/serial/by-id/usb-Black_Sphere_XXX-if00
On MAC OS: Make sure to use the cu.xxx port, not the tty.xxx port: tar ext /dev/tty.usbmodemDDEasdf
If any of the commands above are not found, you are either not using a Blackmagic probe or its software is outdated. Upgrade the on-probe software first.
If this error message occurs:
Disconnect the target (while leaving JTAG connected) and run
This will disable target powering and attempt another flash cycle.