/
reflash.sh
executable file
·28 lines (18 loc) · 1.92 KB
/
reflash.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 9600 write_flash 0x00000 ../firmware/nodemcu_latest.bin
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 9600 write_flash 0x40000080 ../firmware/nodemcu_latest.bin
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x40000080 ../firmware/nodemcu_latest.bin
#---- Linux
# Initial Flash of ESP-03's... After this, you can do the custom below...
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 9600 write_flash 0x00000 ../firmware/nodemcu_integer_0.9.5_20150318.bin
# Custom Built NodeMCU Master with required modules...
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 9600 write_flash 0x00000 ../firmware/NodeMCU\ Custom\ Build/nodemcu-master-9-modules-2015-08-10-01-56-53-integer.bin
#---- Mac
# Initial Flash of ESP-03's... After this, you can do the custom below...
#sudo python ../esptool/esptool.py --port /dev/cu.usbserial --baud 9600 write_flash 0x00000 ../firmware/nodemcu_integer_0.9.5_20150318.bin
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ../firmware/nodemcu_integer_0.9.5_20150318.bin
# Custom Built NodeMCU Master with required modules...
#sudo python ../esptool/esptool.py --port /dev/cu.usbserial --baud 9600 write_flash 0x00000 ../firmware/NodeMCU\ Custom\ Build/nodemcu-master-9-modules-2015-08-10-01-56-53-integer.bin
#sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ../firmware/NodeMCU\ Custom\ Build/nodemcu-master-9-modules-2015-08-10-01-56-53-integer.bin
sudo python ../esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ../firmware/NodeMCUBuild/nodemcu-firmware/bin/nodemcu_integer_master_20160325-1742.bin
#MAC
#sudo python ../esptool/esptool.py --port /dev/cu.usbserial --baud 115200 write_flash 0x00000 ../firmware/NodeMCUBuild/nodemcu-firmware/bin/nodemcu_integer_master_20160325-1742.bin