Firmware Flashing
Read more- Download .bin File For NodeMCU from Here.
- Download Esptool Python tool to flash firmware from Here.
- Esptool to work you need Python- Serial. For install using Linux terminal Ctrl + Atl + T and Paste this code:
sudo apt-get install python-serial
- Unzip esptool in the home folder and copy the downloaded .bin file into esptool folder.
- Plug in NodeMCU and find its address using the terminal code.
dmeg | grep tty
And give the permissions using the code:
sudo chmod 777 /dev/ttyUSB0
- And in terminal change directory to the esptool and run the code:
sudo python ./esptool.py --port=/dev/ttyUSB0 write_flash -fm=dio -fs=32m 0x00000 nodemcu_float_0.9.6-dev_20150704.bin
- Reset the NodeMSU for reconnecting the device.
- To communicate with the device you need GTKterm for that run the code in the terminal.
Comments