I'm using version 2v00.17 on my Sonoff. Have downloaded espruino_2v00.17_esp8266.tgz. esptool.py --port /dev/ttyUSB0 erase_flash cleans sonoff, and
root=$(pwd)/espruino_2v00.17_esp8266 esptool.py --port /dev/ttyUSB0 --baud 230400 write_flash \ --flash_freq 40m --flash_mode qio --flash_size 512KB \ 0x00000 $ root/boot_v1.6.bin \ 0x01000 $ root/espruino_esp8266_user1.bin \ 0x7C000 $ root/esp_init_data_default.bin \ 0x7E000 $ root/blank.bin installs on Sonoff.
> Reset (); = undefined ____ _ | __ | ___ ___ ___ _ _ | _ | ___ ___ | __ | _ - | . | _ | | | | | . | | ____ | ___ | _ | _ | | ___ | _ | _ | _ | ___ | | _ | espruino.com 2v00.17 (c) 2018 G.Williams Espruino is open source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate Flash folder 512KB: 256/256, manuf 0xe0 chip 0x4014 >
@Frida 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.
I'm using version 2v00.17 on my Sonoff.
Have downloaded espruino_2v00.17_esp8266.tgz.
esptool.py --port /dev/ttyUSB0 erase_flash
cleans sonoff,
and
root=$(pwd)/espruino_2v00.17_esp8266
esptool.py --port /dev/ttyUSB0 --baud 230400 write_flash \
--flash_freq 40m --flash_mode qio --flash_size 512KB \
0x00000 $ root/boot_v1.6.bin \
0x01000 $ root/espruino_esp8266_user1.bin \
0x7C000 $ root/esp_init_data_default.bin \
0x7E000 $ root/blank.bin
installs on Sonoff.