I had PlatformIO working fine with Catalina but this week I upgraded to v10.15.4 and now I can’t program either
Wemos D1 Minis
A fatal error occurred: Timed out waiting for packet header
*** [upload] Error 2
Arduino Uno
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
These boards were working last week, same problem if I use a different USB port
I can’t try on my Windows PC as the hard drive has decided to die!
Has anyone got this working on Catalina 10.15.4 or any ideas to help.
Both serial uploaders have stopped working? That’s really odd. Did you previously do any modifications to the USB serial drivers that were somehow overwritten with the update? Seems like a botched kernel driver to me.
I think I had installed another driver previously. I deleted SiLabsUSBDriver.kext from /library/extensions and now the wemos is working but the uno still has the same problem.
Then there’s still got to be some other kernel driver involved which shouldn’t be there. Maybe you can use the utilities listed here to check which USB serial driver is responsible for the Uno’s serial (or anything suspicious loaded module)
The output of kextstat indicates that you have the Apple USB CDC driver (good) and the WCH custom driver (bad) installed.
The USB CDC driver implements the USB-to-Serial protocol as defined by the USB standard. This protocol is used by the auxiliary ATMEL MEGA16U2 chip on the Arduino Uno board.
The WCH driver is from the Chinese manufacturer of the CH340G USB-to-serial chip. It is often found on ESP32 boards. I recommend to uninstall this driver as newer macOS versions come with an Apple driver for this chip (driver is found at /System/Library/DriverExtensions/DriverKit.AppleUSBCHCOM.dext).
After reading the thread again, I’m not sure my instructions will help as your WEMOS board with the CH340G seems to be working by now. (They shouldn’t hurt either.)
The Arduino Uno uses the USB CDC drivers. It’s not possible to reinstall these. They are at the core of the Mac’s USB implementation.
And neither of the boards needs the SiLabs drivers. They are for yet another USB-to-serial chip.
Try to use a different USB cable and to unplug all other devices, especially those on the same USB port / hub.
I haven’t upgraded to Catalina 10.15.4 yet. But I haven’t heard of any Arduino Uno problems with it either.
My Windows PC is now fixed and I tried the Uno on that and it failed too. I was looking for another USB cable and found another Uno, tried it and that works straight away so it looks like my Uno is duff despite the leds coming on, it appearing in the device list and being able to get board info in the arduino ide.
The new Uno also works on my Mac so there are no problems with it now, it was just bad timing and a duff driver installed.
I can’t remember what I was doing with it last time it worked but I see there are some useful pages to try and resurrect it using the instructions there.