Chat freely about anything...

User avatar
By KS8622
#5929 Hi!

I'm using esptool to update my AT firmware but I've no luck so far. Something I did wrong???


My setup:

I've a ESP-02 module (a blue one). I've pulled GPIO0 low and CH_PD high to enter bootloader mode. Since I have a USB to serial adapter I've used jumpers to do this. This seem to work. I can for example read the MAC via esptool:

Code: Select allsudo ./esptool.py --port /dev/ttyUSB0 --baud 115200 read_mac
Connecting...
MAC: 18:fe:34:98:55:62


I'm using latest version of esptool from https://github.com/themadinventor/esptool/

Next I've downloaded latest AT firmware from: http://bbs.espressif.com/viewtopic.php?f=5&t=64
Version is at_v0.20_14_11_28

The "bin" subfolder contains the binaries I've flashed using esptool:

Code: Select allsudo ./esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ./bin/boot_v1.1.bin 0x01000 ./bin/user1.bin 0x41000 ./bin/user2.bin 0x7c000 .bin/esp_init_data_default.bin 0x7e000 ./bin/blank.bin
Connecting...
Erasing flash...
Writing at 0x00000600... (100 %)
Erasing flash...
Writing at 0x00036f00... (100 %)
Erasing flash...
Writing at 0x00076f00... (100 %)
Erasing flash...
Writing at 0x0007c000... (100 %)
Erasing flash...
Writing at 0x0007ef00... (100 %)

Leaving...


Since there was no address infos bundled with the latest AT firmware version I've used those of the previous one. The previous one contains a readme.txt in the "bin" subfolder with these addresses.

Since everything looks okay, I've pulled CH_PD to VCC and left GPIO0 open again and did a power cycle. There is some garbage output after power-on but it doesn't seem to react on commands any more. I've tried 9600,115200 and 57600 baud. I've tested the module before the update which responded okay then.

Something I did wrong? Is anyone successfully using this firmware?
User avatar
By sej7278
#6605 one too many binaries perhaps?

i usually use:

Code: Select allesptool.py --port /dev/ttyUSB0 write_flash \
    0x00000 eagle.app.v6.flash.bin \
    0x10000 eagle.app.v6.irom0text.bin \
    0x7c000 esp_init_data_default.bin \
    0x7e000 blank.bin