【mircopython】ESP32配置与烧录版本

下载ESP32的Micropython固件

官方连接https://www.micropython.org/download/esp32/

看了下描述,上面的是IDF4.x系列编译,下面是IDF3.x系列编译,我们默认选新的

下载安装CP2102驱动

CP210x USB to UART Bridge VCP Drivers - Silicon LabsThe CP210x USB to UART Bridge Virtual COM Port (VCP) drivers are required for device operation as a Virtual COM Port to facilitate host communication with CP210x products. These devices can also interface to a host using the direct access driver.https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers在以上连接下载对应操作系统的驱动文件。

安装ESP Tools

pip install esptool

使用命令行擦写固件:

esptool.py --port com4 erase_flash

 出现如下:

使用如下命令烧录固件:

 esptool.py --chip esp32 --port com4 write_flash -z 0x1000 .\esp32-20220117-v1.18.bin

 烧录完成:

使用Thonny可以看到烧录后的终端及版本信息:

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值