Page 1 of 1

After OTA Flash ESP8266 is broken

Posted: 12 Feb 2023, 08:39
by Rampler
Hi,
after OTA upgrade my ESP8266 V1 mini pro is defect.
Since the ESP was not reachable over wlan after OTA, i tried to flash it via USB cable. The ESP ist died !!
I have many ESP8266 in use, just one always dies during OTA. For now it is the 2nd time happended.
Does anybody know under with circumstances the ESP can get broken during flash ?
I think some pin goes down or up during OTA, which will destroy the ESP..
Next time, i will remove the ESP from his circuit bevor flashing...

Re: After OTA Flash ESP8266 is broken

Posted: 12 Feb 2023, 17:03
by Ath
For this setup you might consider placing the ESP in a socket, so it can relatively easy be removed for updates, to prevent this kind of damage.

What GPIOs are in use on that unit? Some are 'dangerous' to use: https://espeasy.readthedocs.io/en/lates ... on-esp8266

Re: After OTA Flash ESP8266 is broken

Posted: 12 Feb 2023, 17:35
by TD-er
Can you also try to pull the GPIO-0 to GND using some resistor of like 1k .. 10k?
I think the pin will be kept high, so do not try to short the GPIO-0 and GND, but rather "gently" pull it down.

Re: After OTA Flash ESP8266 is broken

Posted: 16 Apr 2023, 16:45
by Rampler
Sorry for my late answer..

Here is my device configuration:
RX: GPIO-3 (D9)
TX: GPIO-1 (D10)

SDA: GPIO-5 (D1)
SCL: GPIO-4 (D2)

Switch: GPIO-14 (D5)

GPIO0 is not used ...

I currently know whether I should dare to do an OTA update.. that would be my third victim

Re: After OTA Flash ESP8266 is broken

Posted: 16 Apr 2023, 17:05
by Ath
There is nothing special about your used GPIO pins, so that should not be a problem here.

What is very important when OTA-flashing an ESP8266, is that after the upload is completed, you leave the ESP alone for at least 20 to 30 seconds, as during that time the uploaded .bin data is moved (copied) from the OTA area to the actual Flash location where it is to be executed. If you reset the ESP during that time, the unit will not boot anymore! :shock:

Re: After OTA Flash ESP8266 is broken

Posted: 14 May 2023, 21:36
by Rampler
Today I did another update with no problems !!
So sorry for the hustle...

Re: After OTA Flash ESP8266 is broken

Posted: 14 May 2023, 21:39
by Ath
Great to hear all is fine :D