-->
Page 1 of 1

Trouble Flashing Firmware to ESP-01

PostPosted: Sat Jan 16, 2016 8:18 am
by nickds
Hello all,

I received a new ESP-01 and a FT232RL device to flash it with and have connected it all up as per the schematic below.

Image

I first used ESP8266Flasher.exe and flashed the device successfully with NODEMCU firmware but then realised that I had lost AT commands so followed the guide below to attempt to flash "v0.9.5.2 AT Firmware.bin"

https://developer.mbed.org/users/sschocke/code/WiFiLamp/wiki/Updating-ESP8266-Firmware

The XTCOM_UTIL can connect to the device at 115200 baud and it takes 2/3 attempts to connect, but when I start the flashing procedure the progress bar gets stuck half way, it hangs around "Sent length: 234496 B / Total length: 520192 B" each time.

I thought I had completely bricked the device so I closed the program mid flash, and then tried to reconnect but there was no response, but after restarting the computer I can connect again, and start the flash again, but the same thing happens, it just get stucks half way through the flash.

Any ideas greatly appreciated,

Many thanks,

Nick

Re: Trouble Flashing Firmware to ESP-01

PostPosted: Sun Jan 17, 2016 12:46 am
by Mmiscool
Hook up a dedicated 3.3 volt power supply. Make sure that the ground is common with your USB to serial adapter. This will most likely solve your issue.

Flashing with lua or any other firmware will remove the at commands. I would suggest looking at the different firmwares available or compiling your own with the arduino environment. The at commands are for the birds in my opinion. The esp has so much potential when you put your own software on it and use it as a computer in stead of as a periferal

Re: Trouble Flashing Firmware to ESP-01

PostPosted: Sun Jan 17, 2016 3:31 pm
by nickds
Mmiscool wrote:Hook up a dedicated 3.3 volt power supply. Make sure that the ground is common with your USB to serial adapter. This will most likely solve your issue.

Flashing with lua or any other firmware will remove the at commands. I would suggest looking at the different firmwares available or compiling your own with the arduino environment. The at commands are for the birds in my opinion. The esp has so much potential when you put your own software on it and use it as a computer in stead of as a periferal


Thank you for pointing me in the right direction, I managed to get the device flashed, now I have a clear ground to start from and learn about this chip!

Re: Trouble Flashing Firmware to ESP-01

PostPosted: Sun Jan 17, 2016 4:01 pm
by xtal
I received a new ESP-01 and a FT232RL device to flash it with and have connected it all up as per the schematic below.


I have 10 of the FR232RL , They all appear to work, but only 2 of them will flash,,, You need to think about getting a crystal controlled usb converter, I'm using D-SUN from ALIEXPRESS, and have very had few problems
for flashing,, the ESP FLASH DOWNLOAD TOOL v2.4 works good and supports multiple files....