Updated Flashing (markdown)

Michael Ingraham 2019-10-01 10:55:20 -04:00
parent ba071c836c
commit c17913ce29
1 changed files with 2 additions and 2 deletions

@ -94,13 +94,13 @@ Ensure the device is in flash mode before each step.
#### Erase flash memory
```
esptool -cp COM5 -cb 115200 -ce -v
esptool -cp COM5 -ce -v
```
#### Upload firmware
Once the erase is complete, put device back into programming mode and upload the firmware
```
esptool -cp COM5 -cb 115200 -bm dout -cf sonoff.bin -v
esptool -cp COM5 -bm dout -cf sonoff.bin -v
```
Unplug your serial programming adapter or your device and plug it back in or connect to another power source. Your device is now ready for [Initial configuration](Initial-Configuration). **For proper device initialization after the firmware upload completes, power down and power up the device.**