Created
November 11, 2016 13:47
-
-
Save HoriLiu/3bf808a37806dabd40455323c89139c5 to your computer and use it in GitHub Desktop.
SerriaOS terminal command in MacbookPro
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
0. Check How to flash firmware | |
1) https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/flash-firmware | |
2) https://github.com/nodemcu/nodemcu-devkit-v1.0 | |
3) https://nodemcu.readthedocs.io/en/dev/en/flash/ | |
1. ls /dev/tty* and find out used serial port | |
2. python esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash | |
esptool.py v1.3-dev | |
Connecting... | |
Running Cesanta flasher stub... | |
Erasing flash (this may take a while)... | |
Erase took 10.3 seconds | |
3. python esptool.py --port /dev/tty.SLAB_USBtoUART flash_id | |
esptool.py v1.3-dev | |
Connecting... | |
Manufacturer: e0 | |
Device: 4016 | |
4. python esptool.py --port /dev/tty.SLAB_USBtoUART write_flash -fm dio -fs 32m 0x00000 firmware.bin | |
esptool.py v1.3-dev | |
Connecting... | |
Running Cesanta flasher stub... | |
Flash params set to 0x0240 | |
Writing 548864 @ 0x0... 548864 (100 %) | |
Wrote 548864 bytes at 0x0 in 47.6 seconds (92.3 kbit/s)... | |
Leaving... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment