Yay, I found the source of the problem. I found a README in the Espruino repo with more specific instructions for my 1MB device.
https://github.com/espruino/Espruino/blob/master/targets/esp8266/README_flash.txt
Here's the exact command that worked for me:
$ ~/.local/bin/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 40m --flash_mode dout --flash_size 1MB 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0xFC000 esp_init_data_default.bin 0xFE000 blank.bin
Note that this did not work with flash modes qio or dio. Only dout worked.
qio
dio
dout
@Jonah 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.
Yay, I found the source of the problem. I found a README in the Espruino repo with more specific instructions for my 1MB device.
https://github.com/espruino/Espruino/blob/master/targets/esp8266/README_flash.txt
Here's the exact command that worked for me:
Note that this did not work with flash modes
qio
ordio
. Onlydout
worked.