Hello everyone.
I've always used a Windows computer to program, but I recently bought a 2015 MacBook Pro and I have macOS Big Sur (version 11.2.3) as my operating system.
On my Windows computer I wrote 2 different codes: one for the ESP32-WROOM-32 and one for the ESP32-WROVER-32 CAM.
I passed all the necessary libraries to the MAC, downloaded the "esp32" file from the "Board Maanager" section of the Arduino IDE, inserted the two links that I also have on the Windows IDE in the "preferences" and "Additional boards manager URLs" section.
When I try to upload the code for the ESP32-WROOM-32 everything works fine.
Instead when I try to upload for the ESP32-WROVER-32 CAM I sometimes get this error: A fatal error occurred: Invalid head of packet (0xE0) Failed uploading: uploading error: exit status 2
or this: A fatal error occurred: Timed out waiting for packet header Failed uploading: uploading error: exit status 2
They both come after the inscription: Configuring flash size... and I'm sure I'm using the same settings on the MAC that I have on Windows
I also tried holding down the BOOT and RESET buttons, but nothing.
Does anyone know what I have to do to ensure that I can program the ESP32-WROVER-32 CAM with the MAC?
This is also what I observed when I got the error message you described: My upload speed was set too high. After lowering everything worked wonderfully!
with board I meant the profile you select in the IDE
did you install a driver on your Mac?
try with a lower baud rate to see if there is any difference
Do you have a mac without usb-B port? (With 2 USB-C ports only?
It took me approx 100 euro to buy a thingy that has a proper usb b port. That works well.
A usb-c usb-b adapter did not work..
Ah, I choose "ESP32 Wrover Module", the same on the Windows.
I didn't install any driver on my Mac because I saw that I could program the other ESP32 board with the other code.
What do you mean with "lower baud rate"? The upload speed?