Agreed, it's just that when I flashed espruino_1v95_esp8266_4mb_combined_4096.bin, I believe I got serial gibberish.
espruino_1v95_esp8266_4mb_combined_4096.bin
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_esp8266_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.
Flash map 4MB:1024/1024, manuf 0xef chip 0x4018
save()
In fact, it also works with just 4MB (not 4MB-c1) size: Flash map 4MB:512/512, manuf 0xef chip 0x4018.
4MB
4MB-c1
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
./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.
esptool.py
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.
@user85573 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Agreed, it's just that when I flashed
espruino_1v95_esp8266_4mb_combined_4096.bin
, I believe I got serial gibberish.But success!
On boot:
Flash map 4MB:1024/1024, manuf 0xef chip 0x4018
and able tosave()
and reboot without serial gibberish.In fact, it also works with just
4MB
(not4MB-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.