Page 1 of 1

ARM single wire debug with black magic and the ESP32

Posted: Fri Apr 13, 2018 8:51 am
by Olof Astrand
If you are into ARM programming and your device has support for SWD you can now do it over wifi with the ESP32!

https://github.com/Ebiroll/esp32_blackmagic

I wanted to send it back as a pull request to, https://github.com/blacksphere/blackmagic
but do not have the skills to fix the makefiles.

This is better than i.e. ST-LINK as you can flash and debug your device without using any USB-port.

/Olof

Re: ARM single wire debug with black magic and the ESP32

Posted: Tue Apr 17, 2018 2:29 pm
by BuddyCasino
Nice! Had some trouble flashing BMP to a Blue Pill due to 64k flash limit, this would have saved me some time. Is the port feature complete?

Re: ARM single wire debug with black magic and the ESP32

Posted: Thu May 03, 2018 1:40 pm
by Olof Astrand
Its almost complete, except for Jtag. You must use the SWD pins. 2 of them + ground.
I am currently adding a web based log viewer/serial terminal. Wanted to use the SWO pin for that but will probably just use an extra UART instead. It seems easier to understand.

I am amazed how well it works. It feels like black magic.