PlatformIO Community

Unknown upload protocol olimex-arm-usb-ocd-h

I am trying to use my Olimex ARM-USB-OCD-H debugger for firmware uploading, but PlatformIO returns the following error:

Warning! Unknown upload protocol olimex-arm-usb-ocd-h

I followed the instructions found here:

The board is a STM32-E407 and here is my platformio.ini:

default_envs = black_f407zg

monitor_speed = 115200
build_flags =
    -D BAUD_RATE=${env.monitor_speed}
    -D HSE_VALUE=12000000
    -D ENABLE_HWSERIAL3 ; Serial on BOOT header
    -D ENABLE_HWSERIAL6 ; Serial on UEXT connector
	-D USBD_VID=0x0483
	-D USB_PRODUCT="\"STM32_E-407_board\""

platform = ststm32
board = black_f407zg
framework = arduino
build_flags = ${env.build_flags}
upload_protocol = olimex-arm-usb-ocd-h

Is there something to install to make it work?

Unsupported upload protocol according to the documentation. See for supported boards. Please open an issue on for support.

The only thing I could think of would be again a upload_protocol = custom and friends directive (

Thank you for your reply. As you suggested, I opened an issue here:

OK, so the olimex-arm-usb-ocd-h protocol is not supported with the STM32 platform. Is it foreseen to support it in the future? Do I have to open an issue somewhere else?

No it’s the right place. @ivankravets or @valeros will surely respond.

1 Like