I'm trying to use an ESP32-CAM for a face recognition project, using the basic CameraWebServer example. However, I keep getting these errors when uploading the code:
A fatal error occurred: Failed to connect to ESP32: No serial data received.
and
A fatal error occurred: Invalid head of packet (0xFD): Possible serial noise or corruption.
This is how my Tools look like. I'm using the AI Thinker ESP32-CAM board.
As you can see in the image, there is no Upload Speed. I've looked at other forums and I can't find anything that helps. Do any of you have any suggestions for help?
You need to post the verbose upload log. Did you use copy/paste of the supplied sample? Did you modify the code to specify AI-Thinker? I ask because the new default is NOT AI-Thinker.
Sorry, I forgot to tell you I am using a FTDI Programmer. Also do you have any idea what this means: WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs. Configuring flash size...
There are some pins of the ESP32 that require certain levels to allow uploading firmware.
See the link above.
It's always a good idea to search the net using the error message (or at least some significant parts of it). In most cases there are already others with the same problem...
Do you have the FTDI voltage selector set to 5V, many esp32cam boards will fail at 3.3V (yes I know the board is a 3.3v board, I think the 5V will be connected to a VR)
Remotely possible if you were doing something to the bootloader but you are just doing a normal upload. Some esp32's on some Windows PC's can be problematic. If you can by a different esp32cam or what about a totally different board like the ESP_EYE or the more powerful ESP32S3_EYE