-->
Page 1 of 1

1.0.1 Firmware on ESP-01 ?

PostPosted: Mon Apr 20, 2015 5:16 am
by moelski
Hi !

I have some ESP-01 boards and would like to install the latest firmware (1.0.1 Beta).
In the readme there is a note:
*NOTICE*: If you use Esp Flash Download Tool, please MAKE SURE to choose FLASH SIZE to 8Mbit.


But my board always reports it has a 4mbit flash. :?

So is it possible to install the 1.0.1 firmware on the ESP-01 or not? My first try was a failure ... :cry:

Greetings
Dominik

Re: 1.0.1 Firmware on ESP-01 ?

PostPosted: Mon May 04, 2015 10:11 pm
by moelski
No one has an answer for this?

Update:
Just got my ESP-12 Board running. And I got the same results:
2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO

SPI Flash Size : 4Mbit

So how is it generally possible to flash a 1.0.1 Firmware to the ESP?
I´m confused ..

Dominik

Re: 1.0.1 Firmware on ESP-01 ?

PostPosted: Mon May 04, 2015 11:57 pm
by jkarras
Doing the following should make it work. Assuming your flash chip is big enough.

Code: Select allesptool.py write_flash --flash_size 8m addr_filename [addr_filename ...]

Re: 1.0.1 Firmware on ESP-01 ?

PostPosted: Tue May 05, 2015 10:17 am
by tommybee
Look at this link, it's also discussed there:
http://bbs.espressif.com/viewtopic.php? ... 0&start=10

In short, you have to install the ESP8266 SDK (esp_iot_sdk_v1.0.1_15_04_24) and compile the provided AT Code yourself by selecting the version without the FOTA-Option.
Otherwise the Flash Size of 4MBit=512KB is not enough as FOTA needs twice the space for downloading the update-files.
I did so and everything works fine. Forget about FOTA, for me it never worked.

How to setup the SDK on a Windows machine, a little tricky but it work s :mrgreen: :
http://bbs.espressif.com/viewtopic.php?f=5&t=2
The SDK works on lubuntu, a special linux provided by espressif.
So you first have to install a virtual machine with the lubuntu-vm.
Read the README.pdf from here, that should be enough, there are also all the Files you need for the vm:
https://drive.google.com/folderview?id= ... sp=sharing

Here's the latest SDK for download:
http://bbs.espressif.com/viewtopic.php?f=5&t=398

In there is a document folder and there you can find "2A-ESP8266__IOT_SDK_User_Manual__EN_v1.0.1.pdf"
That tell's you how to compile the AT without FOTA.
Give it a try, good luck...