Hello I can not upload the code to my ESP32 created with arduino IDE, it says
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I don't know if the system is not reading my usb port or what
coz the port using is:
Serial port /dev/cu.URT1
because the others are bluetooth
I tried pushing the boot button and nothing, and also arduino site says that my agent is not installed when it is installed and running
plug the board in, note what comm ports are available in arduino IDE. unplug the board, see which one disappears. then you know your on the right port and we can move forward...
for that we need to know what board, OS, core package. so you have things connected to pins? if so what pins? (a schematic would be easiest).
ps be carefull with the buttons, in my limited experience, they illicited odd behavior...included not being able to upload to them. I can't tell you exactly how I did that, or fixed it...I dont push the buttons anymore.
The easiest way of checking the ESP32 is connected to its serial port correctly is to open up the Arduino IDE serial monitor and set it to 115,200baud.
Then press the EN button on your ESP32 module, you should see several lines of readable text and numbers.
If when you press the EN button you also hold down the BOOT button you should see a message 'waiting for download'
ok, thats a start. fyi I am currently working on identical boards, tell me, what board have you selected from in the arduino ide? i use "esp32 dev module" & it works great. anything with vroom in it, would not work(for me).
Defo i can not see any lines of text, I see nothing in the ports what i have selected, is there any problem with my computer? I am using mac these are my available ports
no mac here, so I dont know specifically how ports are named....but with the one selected in the screen shot, your trying to upload your arduino sketch to your JBL speaker! (you do have a jbl speaker, right ?)
was that screen shot taken with the board connected, or not? Do the opposite (plug in or unplug). You'll either have a new port in the list if you just plugged it in, or, if you unplugged it, that port will no longer be on the list. That's your port! (i'm guessing its uart1 or uart2)
There is one other possibility...unplugging /plugging the board in causes no change, then you're looking at a driver issue. Read the article linked to below, should address eps32 drivers on macs.
the things you need installed:
-arduino IDE
-any relevant usb drivers for that board (article on the subject)
-expressif esp32 arduino core.
After figuring out your port, please see post #7 & make sure you've made the correct board selection.
haha yeah i didnt connect to the speakers i think i have found the problem i need to install drivers but i install and the still dont work.... thanks for your help
Defo i need some USB drivers for the ESP32.... probably there is a problem coz i am using a generic one instead of the original from espressif?
I am working on windows now
So far problem has been solved, as i purchased a generic ESP 32, even though it says ESP32, I had to configure it as ESP8266. Thank you very much for your help!