Can't upload with MAC but with Windows yes

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?

Thank you all for your availability

which board version do you use for the ESP32-WROVER-32 CAM?
which IDE?

did you try to lower the upload speed?

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!

On my Windows I use the 2.0 IDE, on my MAC 2.0.3 IDE.
The board is this

I didn't try with a lower speed because on my Windows i use that

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?

I have two USB-A port. I have a 2015 MacBook Pro

yes the upload speed indeed

I'm using the lower (921600)

that's the fastest. try 115200, this is the lowest

Ohhh. The upload is going.

Thank you man

so you can try to go a bit faster, check the other values and see what works

Yeah yeah. It works with the second highest (460800).

Thanks

it will have to be good enough then

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.