After OTA Flash ESP8266 is broken

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Rampler
Normal user
Posts: 95
Joined: 31 Dec 2016, 07:13

After OTA Flash ESP8266 is broken

#1 Post by Rampler » 12 Feb 2023, 08:39

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...
Attachments
#1.JPG
#1.JPG (60.73 KiB) Viewed 2019 times

User avatar
Ath
Normal user
Posts: 3492
Joined: 10 Jun 2018, 12:06
Location: NL

Re: After OTA Flash ESP8266 is broken

#2 Post by Ath » 12 Feb 2023, 17:03

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
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: After OTA Flash ESP8266 is broken

#3 Post by TD-er » 12 Feb 2023, 17:35

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.

Rampler
Normal user
Posts: 95
Joined: 31 Dec 2016, 07:13

Re: After OTA Flash ESP8266 is broken

#4 Post by Rampler » 16 Apr 2023, 16:45

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

User avatar
Ath
Normal user
Posts: 3492
Joined: 10 Jun 2018, 12:06
Location: NL

Re: After OTA Flash ESP8266 is broken

#5 Post by Ath » 16 Apr 2023, 17:05

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:
/Ton (PayPal.me)

Rampler
Normal user
Posts: 95
Joined: 31 Dec 2016, 07:13

Re: After OTA Flash ESP8266 is broken

#6 Post by Rampler » 14 May 2023, 21:36

Today I did another update with no problems !!
So sorry for the hustle...

User avatar
Ath
Normal user
Posts: 3492
Joined: 10 Jun 2018, 12:06
Location: NL

Re: After OTA Flash ESP8266 is broken

#7 Post by Ath » 14 May 2023, 21:39

Great to hear all is fine :D
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 63 guests