Infinite boot loop

Posted on
  • Hi, all!
    I`m having trouble with firmware newer than 1.87, no matter which boot version is uploaded (tried 1.6, 1.5, 1.4) the module goes to infinite boot loop

    1. ets Jan 8 2013,rst cause:2, boot mode:(3,0)
    2. load 0x40100000, len 2408, room 16
    3. tail 8
    4. chksum 0xe5
    5. load 0x3ffe8000, len 776, room 0
    6. tail 8
    7. chksum 0x84
    8. load 0x3ffe8310, len 632, room 0
    9. tail 8
    10. chksum 0xd8
    11. csum 0xd8
    12. 2nd boot version : 1.6
    13. SPI Speed : 40MHz
    14. SPI Mode : QIO
    15. SPI Flash Size & Map: 8Mbit(512KB+512KB)
    16. no GPIO select!
    17. jump to run user1 @ 1000
    18. rf_cal[0] !=0x05,is 0xFF
    1. load 0x40100000, len 1856, room 16
    2. tail 0
    3. chksum 0x63
    4. load 0x3ffe8000, len 776, room 8
    5. tail 0
    6. chksum 0x02
    7. load 0x3ffe8310, len 552, room 8
    8. tail 0
    9. chksum 0x79
    10. csum 0x79
    11. 2nd boot version : 1.5
    12. SPI Speed : 40MHz
    13. SPI Mode : QIO
    14. SPI Flash Size & Map: 8Mbit(512KB+512KB)
    15. jump to run user1 @ 1000
    16. rf_cal[0] !=0x05,is 0xFF

    On 1.87 the module boots pretty fine even with 1.6 boot version

    The module is ESP-01 with 1Mb of flash

    Here is the esptool upload terminal string

    1. D:\esp8266\esptool>esptool.py -p COM2 -b 115200 write_flash --flash_freq 40m --f
    2. lash_mode qio --flash_size 1MB 0x0000 D:\esp8266\espruino\188\boot_v1.5.bin 0x10
    3. 00 D:\esp8266\espruino\188\espruino_esp8266_user1.bin 0xFE000 D:\esp8266\espruin
    4. o\188\blank.bin

    Any ideas? Thanks in advance!

  • Hi @Questdoino,

    first erase the flash

    esptool.py -p COM2 -b 115200 erase_flash

    and then use a complete flash sequence like described here ...

  • I have had no issues using v91 with the included 1.6 bootloader - I have some with that, and some with 1.4, and no problems with either of them.

  • Sure I'm erasing the flash before uploading

  • OK, the flash statement you named is missing the esp_init_data_default.bin part

  • Still having problems with 1.88, 1.90, 1.91...

  • MaBe,
    I`m a dumb, thanks)

  • I have the same issue, with 2.1... still don't know what I'm doing wrong.

    1. > python "../esptool.py" --port COM6 --baud 115200 write_flash --flash_size 4MB-c1 -fm qio 0 espruino_2v10_esp8266_4mb_combined_4096.bin
  • try the latest travis build file

    http://www.espruino.com/binaries/travis/master/

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
    • $ Donate
About

Infinite boot loop

Posted by Avatar for Questdoino @Questdoino

Actions