30 lines
705 B
Markdown
30 lines
705 B
Markdown
## Flashing Micropython
|
|
|
|
Download the latest firmware from
|
|
https://micropython.org/download/?port=esp8266
|
|
(ESP8266 with 2MiB+ flash)
|
|
|
|
Flash Wemos D1 mini with (note the -fm dout option)
|
|
|
|
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fm dout --flash_size=detect 0 esp8266-20220618-v1.19.1.bin
|
|
|
|
## Access webrepl
|
|
|
|
minicom -D /dev/ttyUSB0
|
|
|
|
Password for webrepl: badkamer
|
|
|
|
When the program is running, webrepl is not responsive. Get the prompt >>> with Ctrl+C.
|
|
|
|
|
|
## Flashing source code
|
|
|
|
ampy --port /dev/ttyUSB0 put . /
|
|
|
|
Flash Wemos D1 mini with (note the -fm dout option)
|
|
|
|
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fm dout --flash_size=detect 0 esp8266-20220618-v1.19.1.bin
|
|
|
|
|
|
|