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…
AVAILABLE: avr109
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


Finaly,I decided to modify my circuit board. Upload using Programmer by ISCP.
Leave this USB alone.

1 Like

Using ISCP directly may be the best way. For now.

1 Like

lol… well, yes, that is an option too if you have an ISCP handy! Glad you found a usable workaround! :slight_smile: