PlatformIO Community

PlatformIo Upload error on macOS Catalina

When arduino Micro on macOS Mojave, everything is ok. When I upgrade to macOS Catalina, I despair… Compile is ok,but unable to upload program to board.
I use official PlatformIO ATOM, all can’t to upload. I have suspected the following: python、brew, xcode command line、\dev\cu.usbmodem. But, there is ok.
How to fix it ! Thanks.Thanks…

Arduino Micro on macOS Catalina
PlatformIO, version 4.1.0

Configuring upload protocol…
CURRENT: upload_protocol = avr109
Looking for upload port…
Auto-detected: /dev/cu.usbmodem142201
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem142201
Waiting for the new upload port…
Uploading .pio/build/micro/firmware.hex
Connecting to programmer: .avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding

This seems to be a known issues with ATmega32u4 based boards:

The issue is still open and not specific to PlatformIO.

It has been discussed in this forum before:

The OP seems to have solved it with an upgrade of avrdude but is unable to give more details :frowning:

Apart from burning a new bootloader, are there any fixes underway?

Looks like the suggestions in the arduino issue Manuel linked (if replacing the bootloader is not an option for you) are to either 1) wait to see what the outcome of the case lodged with Apple over the breakage in behaviour caused by Catalina 2) run a Windows (or linux?) VM and program the board that way or 3) revert to an earlier version of MacOS

:cold_sweat: THANKS.
I try running a VM.

1 Like