LoRa-Workshop/micropython/esp32-image/notes.txt

7 lines
232 B
Plaintext
Raw Permalink Normal View History

2019-11-30 19:19:37 +00:00
# flashing
esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash -z 0x1000 image.bin
# creating an image
esptool.py --port /dev/ttyUSB0 --baud 115200 read_flash 0x1000 4000000 image.bin