ESP8266的固件下载
https://www.micropython.org/download/esp8266/
官方安装说明
Program your board using the esptool.py program, found here.
If you are putting MicroPython on your board for the first time then you should first erase the entire flash using:
esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
From then on program the firmware starting at address 0x1000:
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin
安装日志
1、查看设备
Sunpats@Sunpats:~$ ls /dev/tty*
截图_选择区域_20230421173638.png
2、擦除设备固件
Sunpats@Sunpats:~$ esptool.py --chip esp8266 --port /dev/ttyCH341USB0 erase_flash
截图_选择区域_20230421173842.png
3、写入固件
Sunpats@Sunpats:~$ esptool.py --chip esp8266 --port /dev/ttyCH341USB0 --baud 460800 write_flash -z 0x1000 /home/Sunpats/Downloads/esp8266-20220618-v1.19.1.bin
截图_选择区域_20230421173949.png
4、完成
网友评论