-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP WROOM 02 - A fatal error occurred: Timed out waiting for packet header #1097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
-Use the best and short USB cable that you have, usually, those that manufacturers send with smartphones are good enough If none of them works it can be a bad soldering, take a look in this issue it have a lot of tips about this problem |
@copercini thanks for your response. Tried all of the above still no luck... I've ordered a new one to confirm if it's not the board itself.... |
I like to test connectivity using the esptool directly. Open a command prompt, and run |
I bought a new board (https://www.amazon.co.uk/MakerHawk-NodeMcu-Development-ESP8266-Compatible/dp/B071S8MWTY) but unfortunately the behaviour is exactly the same. Before I throw the whole arduino crap out of the window and call it a day, is there anyone who'd genuinely faced this issue and can help? I've trawled through all forums with people facing similar issues and tried all sorts of button presses and changes to baud rates and even tried different board managers. If these things are selling, surely people must've had some success with them? |
Both modules you linked to are ESP8266 boards not ESP32 boards. It looks like you buy ESP8266 boards and try to program them as ESP32. THAT DOESNT WORK. |
OK so I managed to get the new wemos D1 mini board programmed with a simple world clock example (yay!). The issue was actually with power. It appears that for whatever reason when the upload is performed the power isn't enough to do the job. I had read this in other threads here but didn't take much notice. I applied external power and that resolved it in an instant. |
I got mine working by unplugging the OLED module. This would be the same situation mentioned by @vjkanth . |
Recently i bought esp32 module with ch340G. I try everything but it always show time out. Now i try .5 sec interval of switching flash switch constantly. Chip is ESP32D0WDQ6 (revision 1) Writing at 0x0000e000... (100 %) Writing at 0x00001000... (100 %) Writing at 0x00010000... (4 %) Writing at 0x00008000... (100 %) Leaving... and it work done uploaded |
I had the same exact problem. It is this one https://de.aliexpress.com/item/WeMos-D1-Esp-Wroom-02-Motherboard-ESP8266-Mini-WiFi-Nodemcu-Module-18650-Battery/32824587872.html?spm=a2g0x.search0104.3.9.5a601bd7diBuvJ&ws_ab_test=searchweb0_0,searchweb201602_2_10320_10065_10068_10547_319_10548_317_5733915_10696_10924_453_10084_454_10083_5733715_10618_10920_10921_10304_10922_10307_10820_10821_537_10302_536_5733815_10843_10059_10884_5734015_10887_100031_10319_321_322_10103,searchweb201603_51,ppcSwitch_0&algo_expid=1b8c39ce-9d24-446e-aff1-47443219699e-1&algo_pvid=1b8c39ce-9d24-446e-aff1-47443219699e |
@froderi1 But you understand that you have esp8266 chip on this board and this is not the same as esp32? |
@chegewara Now I do. But judging from the title of this thread it looked like vjkanth is treating the wroom-02 like a esp32. |
Cant believe I read this entire post only to realize its a esp8266 problem and not a esp32 one |
i had the same problem. tried a good power supply, no result. but after cleaning and re-soldering the ESP-WROOM-32D module, it's now working. |
change the baud rate to 115200 |
I was having this issue with a cheap ESP-WROOM-32 dev board that I had purchased online. |
I Got the solution, watch this video on youtube and u will get it, i suffered from the same problem too but this video resolved the problem, anyways thanks me later, the link is below: |
mine working by unplugging the OLED module |
Mine working by change
|
i enter this code: SoftwareSerial esp01(7, 6); // RX, TX void setup() { void loop() { } void SendData() if (esp01.find("ERROR")) } cmd = "GET /afhd/index.php/afhd/status_?value=123\r\n\r\n"; } /* t=millis()+TIMEOUT; and then i got this error: Arduino: 1.8.9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 40 MHz, 80MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200" Sketch uses 268520 bytes (53%) of program storage space. Maximum is 499696 bytes. This report would have more information with what the problem here....btw im new to this thing |
@karan6190 Wrong Repository, here is for ESP32 not for ESP8266. You might post your issue here |
@karen3980 this repo is for ESp32, please post your answer on ESP8266 repo as mentioned by @beegee-tokyo |
@karan6190 sorry, typo. |
I encountered the same problem, and the problem disappeared after changing the Dupont line. |
I fixed it by disconnecting the GND, I think that some input that you use is harmful. I recommend you disconnect all the cables and see if that works. |
Hello
I'm very new to the whole Arduino scene and recently purchased https://www.aliexpress.com/item/Lolin-ESP32-wemos-ESP32-WiFi-Modules-Bluetooth-Dual-ESP-32-ESP-32S-ESP8266-X-Battery-Shield/32810419853.html?spm=a2g0s.9042311.0.0.T7MAHc
I'm trying to upload successfully compiled samples from espressif such as "SimpleTime.ino" but each time I get "A fatal error occurred: Timed out waiting for packet header" error. So far I've tried:
The current selected board is WEMOS LOLIN32 set at flash frequency 80MHz (as per the sample in the product link above)
Anyone tried this and know how to resolve this?
The text was updated successfully, but these errors were encountered: