Some of you might be familiar with the Black Magic Probe, but some might not. As you know most UAV autopilots these days use one of the many STM32 microcontrollers. They are based on the ARM Cortex-M core family. Most of the boards also have either a JTAG or at least an SWD interface exposed. What you might not know or be familiar with is how useful these interfaces are.
If you connect a Black Magic Probe to your autopilot you can connect the GDB (GNU Debugger) directly to it and you can read, write memory, inspect the status of registers, manipulate peripherals, load a new firmware into flash and much much more. This will make debugging your autopilot firmware much easier, than adding print statements or blinking an LED. For those more familiar with JTAG/SWD debugging Black Magic Probe does not require a man in the middle software like texane/stlink or OpenOCD. This decreases the amount of setup complexity. Also we have put a lot of effort into making the target interface circuitry robust, using dual supply transceivers, adding a target supply switch and a built in USB to serial adapter.
If you are still not convinced that you need this tool, you should read the Hackaday article, and take a look at the Pixhawk website you will also see that the Black Magic Probe is their tool of choice too. (if you are interested in Drone Code development, 1BitSquared sells ARM Cortex 10pin connector to Drone Code connector adapter)
In this Kickstarter we are introducing the new version of Black Magic Probe V2.1. It has a more robust target front end, making sure the JTAG/SWD signals are solid and you will be able to debug your target device even if you are using long wires. (especially useful when your autopilot is buried deeply in the fuselage of your aircraft. Additionally you can also get a matching STM32F415 based development board, that you can learn and test the use of Black Magic Probe and GDB on. This is the same CPU that can be found on the Elle0 autopilot that we have featured here in the past.
I hope you will consider taking a look at our Kickstarter and decide to support us. The revenue from this project will go directly back into the open-source projects that made it all possible. We will be able to spend more time developing more software and hardware making open-source ARM development easier.
Cheers,
Piotr Esden-Tempski