-->
Page 1 of 1

Flashing an ESP-05

PostPosted: Tue Apr 04, 2017 3:01 pm
by alex_g
Hi - I have a couple of ESP-05s that I'm messing around with, and I heard that if you have later versions, it is possible to reflash them, using AT commands. Somehow. Is this true?

I wonder if the ones I have are "latest versions" or not

This is what I get when I connect...

Code: Select allAi-Thinker Technology Co. Ltd.

ready
AT+GMR

AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK
AT+GSLP=5000



...and this is what I get on AT+RST

Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000



All ideas, suggestions, links appreciated!

Re: Flashing an ESP-05

PostPosted: Fri Apr 07, 2017 6:59 am
by mforcen
As far as I know, that's​ not possible. In order to flash an ESP you will need an USB to Serial converter, or something like that.
Apart from that, if your program uses the OTA API, you can perform OTA updates to your program, but first, it's necessary to load those codes to the ESP.
See if this helps: https://www.google.es/url?q=http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html&sa=U&ved=0ahUKEwj0_Lm7pZLTAhXKVRoKHUkzCsMQFggLMAA&usg=AFQjCNHYB1QYmzgxbUwsB0lSKosHl3BdRA

Re: Flashing an ESP-05

PostPosted: Sat Apr 08, 2017 1:05 pm
by alex_g
I see. That's very helpful.
I wonder if this rumour came about because the latest espressif firmware might already incorporta ethe OTA update system. I'll look into it when I have some more time, it's not critical or anything, I was just curious.

Thanks for the link.

Re: Flashing an ESP-05

PostPosted: Mon Feb 07, 2022 12:02 pm
by treii28
I was able to reflash one once, but I bricked another in the process. It's not easy. Basically you have to build a rig with wire whiskers to directly access the chip pins responsible for the reset mode. (I bricked one trying to hold wires on the pins manually)

You basically hotwire the chip to program it like any other ESP with the full program/reset pins