Created
February 11, 2018 19:57
-
-
Save katrotz/96cd05a5291cd0cee03b6b04209168c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connect Lolin via FTD1232: | |
D3 > G | |
RX > TX (FTD1232) | |
TX > RX (FTD1232) | |
G > G (FTD1232) | |
Use NodeMCU USB power conection | |
1. Erase the current flash | |
```esptool.py --port /dev/tty.usbserial-00000000 --baud 115200 erase_flash``` | |
2. Write the new flash | |
``` | |
esptool.py --port /dev/tty.usbserial-00000000 --baud 460800 write_flash \ | |
--flash_freq 80m --flash_mode qio --flash_size 4MB-c1 \ | |
0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin \ | |
0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment