Created
February 14, 2019 17:32
-
-
Save ankitsejwal/d80ca106690bab966360514c3be9132c 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
# make sure hardware is connected | |
$ esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 --after no_reset read_mac | |
# erase the flash: | |
$ esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 --after no_reset erase_flash | |
# flash new firmware | |
$ esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 esp32-20180127-v1.9.3-240-ga275cb0f.bin | |
# confirm success | |
$ screen /dev/cu.SLAB_USBtoUART 115200 | |
# https://appelsiini.net/2018/m5stack-esp32-firmware-cli/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment