logo elektroda
logo elektroda
X
logo elektroda

[Solved] How to successfully upload AT firmware to ESP-01 module? ESP errors efuse, esptool.py, pyserial.py.

jurek.parus 1809 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19040260
    jurek.parus
    Level 18  
    Uploading AT firmware to the ESP8266 is some kind of failure.
    The ESP-01 module talked nicely over AT after purchase (I won't say not without a fight, but as it turns out it was my mistakes)
    Next in the task queue was to connect under the Andruino IDE and some demo software - reprogramming went and it works.
    Now trying to get back on Firmware AT - i..... drama. Different combinations of flashing softwares give different results, one doesn't go without a word another displays errors like "ESP efuse". The firmware "ESP8266 download tool" requires parameters the meaning of which it does not even explain (not to mention that they are highly detailed, such as memory mapping - can't it read this for itself from the module?).

    Interestingly, the Arduino IDE programs it with 100% success rate.
    I tried esptool.py, which is installed with the Andruino IDE (because this one apparently somehow manages it), and again it clings to the dependencies of pyserial.py, which is of course installed, but the dependencies are watched over by the Arduino IDE and so cannot be called from a finger.
    I don't want to junk myself and install a separate instance of python, esptool, pyserial etc.

    OK, question - isn't it possible to upload this AT firmware somehow magically from the Arduino IDE? this one somehow manages to deal with memory maps without pointing a finger.
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 19040313
    khoam
    Level 42  
    jurek.parus wrote:
    is it not possible to upload this AT firmware somehow magically from the Arduino IDE?
    .
    Unfortunately, it is unlikely to be possible.

    jurek.parus wrote:
    this one somehow manages to deal with memory maps without finger pointing.

    These memory "maps" are magically sewn into the configuration files.

    I have always used esptool exclusively for AT firmware upload operations. Without any fabulous graphical overlays. You can install esptool independently of the Arduino IDE - do not use the one supplied with the IDE.
  • ADVERTISEMENT
  • #3 19040901
    jurek.parus
    Level 18  
    Thanks, I installed esptool on another computer where I don't have the Arduino IDE - and it worked there.
    I managed to load some binary composition ESP_8266_BIN0.92.bin that works with AT but I think it's quite old.
    And trying to load the individual boot/user/init/blank packages in version 1.7 succeeds - only it doesn't work :) .
    I suspect that I have incorrectly matched the software to the version.
    Trying to upgrade directly from AT commands - AT+CIUPDATE also ends in Errorem (after going through steps 1,2,3,4 correctly)
    I need an AT command for the ESP-01 board, which is identified by the Arduino IDE as follows:
    How to successfully upload AT firmware to ESP-01 module? ESP errors efuse, esptool.py, pyserial.py. .
    Sorry but I'm getting lost in the multitude of these versions, branch....
  • ADVERTISEMENT
  • Helpful post
    #4 19041107
    khoam
    Level 42  
    The latest AT firmware version for the ESP-01 is 1.6.2: Link .
    Higher versions require more than 1MB of flash memory.
    At home, on linux, I have a script to flash ESP-01, as below. Exactly for this version 1.6.2 - all the necessary BIN files are placed in the same place as this script.
    Code: Bash
    Log in, to see the code
    There should probably be no problems converting it for Windows.
  • #5 19041355
    jurek.parus
    Level 18  
    It works, thanks a lot - indeed the 1.6 could be loaded with this esptool.
    Anyway - selecting this software to suit your needs - is not a simple matter.
ADVERTISEMENT