Flashing the firmware file from windows
Flashing the file using utilities like ESPEasy Flasher did not work for me. So instead esptool directly. I use anaconda, but you can probably just use the pip that came with your python. I made new environment for ESPHome
#make new env conda create --name ESPHome # activate env conda activate ESPHome #get esptool conda install -c conda-forge esptool
You should probably make an extra directory for all your esphome files. I made mine in Documents/ESPHome.
Now connect the ESP01 to your USB-programmer be sure that the chip enters programming mode by keeping the programmin button pressed on power up. Or hold the programming button and press reset.
Now navigate to the firmware file and flash with:
esptool.py --before default_reset --after hard_reset --baud 460800 --chip esp8266 --port COM5 write_flash 0x0 --verify
Be sure to change your COM port accordingly.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.