Comments on: ESP8266 Troubleshooting Guide https://randomnerdtutorials.com/esp8266-troubleshooting-guide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 20 Aug 2024 13:54:28 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Jose https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-949582 Tue, 20 Aug 2024 13:54:28 +0000 http://randomnerdtutorials.com/?p=16808#comment-949582 I have some ESP8266 D1 Mini modules. In some units it works without any problem, but in others when turned on the blue LED blinks and “dies”, it only comes into operation after I press the reset button a few times, then the blue LED starts blinking weakly, the network WiFi becomes available and I can access it at 192.168.4.1. On both modules I can record the firmware without any problems. I’ve already redone the firmware recording at low speed 9600 and it still didn’t solve the problem, what could be happening?

]]>
By: Jerry https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-869464 Thu, 02 Nov 2023 02:50:36 +0000 http://randomnerdtutorials.com/?p=16808#comment-869464 Rui: I consistently get the following error messages on upload. My ESP8266 cannot be having that bad of a day. Any suggestions?
esptool.py v3.0
Serial port COM5
Traceback (most recent call last):
File “C:\Users\Jerry Renken\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py”, line 66, in
esptool.main(cmdline)
File “C:/Users/Jerry Renken/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py”, line 3551, in main
esp = chip_class(each_port, initial_baud, args.trace)
File “C:/Users/Jerry Renken/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py”, line 283, in init
self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT
File “C:/Users/Jerry Renken/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/pyserial\serial\serialutil.py”, line 392, in write_timeout
self._reconfigure_port()
File “C:/Users/Jerry Renken/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/pyserial\serial\serialwin32.py”, line 224, in _reconfigure_port
‘Original message: {!r}’.format(ctypes.WinError()))
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, ‘A device attached to the system is not functioning.’, None, 31)
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, ‘A device attached to the system is not functioning.’, None, 31)

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-845047 Tue, 04 Jul 2023 09:30:37 +0000 http://randomnerdtutorials.com/?p=16808#comment-845047 In reply to bhor.

Hi.
Double-check your network credentials. Uppercase/smallcase and spaces matter.
Also make sure the board is close enough to the router to be able to pick up the wi-fi signal.
Regards,
Sara

]]>
By: bhor https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-845015 Tue, 04 Jul 2023 06:39:04 +0000 http://randomnerdtutorials.com/?p=16808#comment-845015 Hi, I am bhore
My esp 8266 is uploading code successfuly but not connecting and finding wifi network after everything is ok

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-840249 Sun, 11 Jun 2023 19:49:44 +0000 http://randomnerdtutorials.com/?p=16808#comment-840249 In reply to Manan.

Hi.
Did you press the board RST button after uplaoding the code?
Sometimes, we need to reset the board so that it starts running the code.
Regards,
Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-840248 Sun, 11 Jun 2023 19:49:43 +0000 http://randomnerdtutorials.com/?p=16808#comment-840248 In reply to Manan.

Hi.
Did you press the board RST button after uplaoding the code?
Sometimes, we need to reset the board so that it starts running the code.
Regards,
Sara

]]>
By: Manan https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-839816 Sat, 10 Jun 2023 07:18:56 +0000 http://randomnerdtutorials.com/?p=16808#comment-839816 My ESP8266 was working fine yesterday, but when i started integrating it with lcd, some errors started occurring. My code is getting uploaded fully, but nothing is being displayed on my serial monitor, even though the coding is correct. Then i tried uploading the example code of inbuilt led blinking led, the code got uploaded successfully. But no blinking was observed after this. But my led was working when the code was getting transferred. I don’t know why is it happening. Could you guys please help me?

]]>
By: Sander https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-822503 Thu, 02 Mar 2023 14:15:39 +0000 http://randomnerdtutorials.com/?p=16808#comment-822503 In reply to Zoli.

I had the same. Changed the cable … and bingo … these errors gone.

]]>
By: Martin https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-798807 Wed, 23 Nov 2022 02:46:26 +0000 http://randomnerdtutorials.com/?p=16808#comment-798807 ESP8266 hangs freezes stops responding when sent commands from different devices.

I’m checking ESP.getFreeHeap() and have over 30000 free.
I’m checking ESP.getHeapFragmentation() and goes between 1 to 4.
So heap and fragmentation is not the problem in my situation.

Also, I’ve noticed that HTTP GET requests from Safari and cURL work okay, while the ones from Chrome & Firefox cause the device to freeze.

It is still pingable in that frozen state.

I also installed, EspSaveCrash , GitHub – krzychb/EspSaveCrash: Save exception details and stack trace anytime and anywhere the ESP8266 crashes, https://github.com/krzychb/EspSaveCrash

But no crashes are being recorded.

To get my ESP8266 working after it freezes, I have to unplug the power cord and plug it back in again.

I’ve searched many other forums where users of ESP8266 are experiencing similar problems with little or no solution to this.

Any ideas, on how to have the ESP8266 webserver handle client requests from Chrome and Firefox without freezing up the board?

Thanks, Martin

]]>
By: viral https://randomnerdtutorials.com/esp8266-troubleshooting-guide/#comment-785641 Sat, 24 Sep 2022 11:31:57 +0000 http://randomnerdtutorials.com/?p=16808#comment-785641 write_flash succeeds but program doesn’t run in esp8266-12F . upolad BIN file but not working

]]>