PlatformIO Community

Blackmagic not recognized


#1

Hi

I’ve purchased a Blackmagic V2 probe. Then I signed up for a Professional Plus membership…

Tried to follow this instructions:

Gets the following error.
Error: Unknown debug tool blackmagic. Please use one of esp-prog, ftdi, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa or custom

Feels that something basic is wrong here …

Please help.


#2

What board are you debugging?


#3

ESP32-DEVKITC-VB when I purchased it.

In platform.ino I’ve added
board = esp-wrover-kit

Works well with serial debug.


#4

https://docs.platformio.org/en/latest/plus/debug-tools/blackmagic.html is not registered to be able to debug ESP32 chips.

https://satoshinm.github.io/blog/171223_jtagswdpillblink_jtagswd_debugging_via_black_magic_probe_on_an_stm32_blue_pill_and_blinking_a_led_using_stm32cubemx_libopencm3_and_bare_metal_c.html#jtaging-an-esp32-or-not is an example of somone not being able to get the BMP working with the ESP32.


#5

aghhhh then I’ve bee reading but not understanding.

Can you recommend a debugger, working with PlatformIO and ESP32, to use that can be purchased in Europe. ???


#6

Okay, I just ordered ESP-PROG from China, paid a little extra for shipping, but…
Is there a way to close this issue ?


#7

I’d recommend any of the adapters listed here: https://docs.platformio.org/en/latest/boards/espressif32/nodemcu-32s.html#debugging. ESP-PROG is one of them.