• Agreed, it's just that when I flashed espruino_1v95_esp8266_4mb_combined_4096.­bin, I believe I got serial gibberish.

    But success!

    ./esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 4MB-c1 0x0000 espruino_1v95_esp8266_4mb/boot_v1.6.bin 0x1000 espruino_1v95_esp8266_4mb/espruino_esp82­66_user1.bin 0x3FC000 espruino_1v95_esp8266_4mb/esp_init_data_­default.bin 0x3FE000 espruino_1v95_esp8266_4mb/blank.bin
    

    On boot: Flash map 4MB:1024/1024, manuf 0xef chip 0x4018 and able to save() and reboot without serial gibberish.

    In fact, it also works with just 4MB (not 4MB-c1) size: Flash map 4MB:512/512, manuf 0xef chip 0x4018.

    and with ./esptool.py write_flash --flash_size 4MB-c1 0x0000 espruino_1v95_esp8266_4mb_combined_4096.­bin

    The takeaway seems to be, don't let esptool.py guess the chip size @ 16MB and don't specify 16MB.

  • In fact, it also works with just 4MB (not 4MB-c1) size:

    IME, it appears to work, but when you do wifi.save(), it no longer boots and you have to reflash.

About

Avatar for DrAzzy @DrAzzy started