PlatformIO Community

Upload to BBC micro:bit via CMSIS fails on Platform IO 4.1.0

I just updated to Platform IO 4.1.0 and not I can no longer upload to the BBC micro:bit using the default CMSIS-DAP protocol. The error is:

Uploading .pio/build/microbit/firmware.hex
xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-15:21)
Licensed under GNU GPL v2
For bug reports, read
debug_level: 1embedded:startup.tcl:26: Error: Can’t find scripts/interface/cmsis-dap.cfg
in procedure ‘script’
at file “embedded:startup.tcl”, line 26
*** [upload] Error 1

That file (scripts/interface/cmsis-dap.cfg) is in my .platformio folder as:


But it is apparently not being found.

I’m running the PlatformIO CLI tools on Mac OS Mojave.

Can you a “Verbose Upload” please and post the output?

This issue was just fixed in v5.0.1: