当前位置: 首页 > news >正文

贵州省网站集约化建设字体设计网

贵州省网站集约化建设,字体设计网,地方网站运营教程,济南建设网站公司esptool库可以为esp32的开发板烧录新的固件,但是如果为了烧录固件就要装esp-idf软件包,甚至需要用make编译安装很久,实在太费时费力了! 好消息就是,esp提供了python的esptool库,这样只要使用pip安装上这个…

esptool库可以为esp32的开发板烧录新的固件,但是如果为了烧录固件就要装esp-idf软件包,甚至需要用make编译安装很久,实在太费时费力了!

好消息就是,esp提供了python的esptool库,这样只要使用pip安装上这个工具库,就可以使用了,非常简单方便。

pip安装esptool库:

pip install esptool

安装完成后显示:

Successfully installed argcomplete-3.5.1 bitarray-2.9.3 bitstring-4.2.3 ecdsa-0.19.0 esptool-4.8.1 intelhex-2.3.0 pyserial-3.5 reedsolo-1.7.0

这时候就可以使用esptool了,不过跟其它库不一样的是,执行命令需要带上py后嘴,也就是

需要执行

esptool.py --help
esptool.py --help
usage: esptool [-h][--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2,esp32c6,esp32c61,esp32c5,esp32c5beta3,esp32h2,esp32p4}][--port PORT] [--baud BAUD][--port-filter PORT_FILTER][--before {default_reset,usb_reset,no_reset,no_reset_no_sync}][--after {hard_reset,soft_reset,no_reset,no_reset_stub}][--no-stub] [--trace][--override-vddsdio [{1.8V,1.9V,OFF}]][--connect-attempts CONNECT_ATTEMPTS]{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,read_flash_sfdp,merge_bin,get_security_info,version}...esptool.py v4.8.1 - Espressif chips ROM Bootloader Utilitypositional arguments:{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,read_flash_sfdp,merge_bin,get_security_info,version}Run esptool.py {command} -h foradditional helpload_ram            Download an image to RAM and executedump_mem            Dump arbitrary memory to diskread_mem            Read arbitrary memory locationwrite_mem           Read-modify-write to arbitrary memorylocationwrite_flash         Write a binary blob to flashrun                 Run application code in flashimage_info          Dump headers from a binary file(bootloader or application)make_image          Create an application image from binaryfileself2image           Create an application image from ELF fileread_mac            Read MAC address from OTP ROMchip_id             Read Chip ID from OTP ROMflash_id            Read SPI flash manufacturer and device IDread_flash_status   Read SPI flash status registerwrite_flash_status  Write SPI flash status registerread_flash          Read SPI flash contentverify_flash        Verify a binary blob against flasherase_flash         Perform Chip Erase on SPI flasherase_region        Erase a region of the flashread_flash_sfdp     Read SPI flash SFDP (Serial FlashDiscoverable Parameters)merge_bin           Merge multiple raw binary files into asingle file for later flashingget_security_info   Get some security-related dataversion             Print esptool versionoptions:-h, --help            show this help message and exit--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2,esp32c6,esp32c61,esp32c5,esp32c5beta3,esp32h2,esp32p4}, -c {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2,esp32c6,esp32c61,esp32c5,esp32c5beta3,esp32h2,esp32p4}Target chip type--port PORT, -p PORT  Serial port device--baud BAUD, -b BAUD  Serial port baud rate used whenflashing/reading--port-filter PORT_FILTERSerial port device filter, can bevid=NUMBER, pid=NUMBER, name=SUBSTRING--before {default_reset,usb_reset,no_reset,no_reset_no_sync}What to do before connecting to the chip--after {hard_reset,soft_reset,no_reset,no_reset_stub}, -a {hard_reset,soft_reset,no_reset,no_reset_stub}What to do after esptool.py is finished--no-stub             Disable launching the flasher stub, onlytalk to ROM bootloader. Some featureswill not be available.--trace, -t           Enable trace-level output of esptool.pyinteractions.--override-vddsdio [{1.8V,1.9V,OFF}]Override ESP32 VDDSDIO internal voltageregulator (use with care)--connect-attempts CONNECT_ATTEMPTSNumber of attempts to connect, negativeor 0 for infinite. Default: 7.

 

http://www.yayakq.cn/news/162484/

相关文章:

  • 网站做三屏合一云南网络推广
  • 学生空间建设网站企业网站设计制作
  • 网站上的漂浮怎么做荥阳市网站建设
  • 网站的图书资源建设网页设计学什么软件
  • 教学单位 网站建设上海旧房翻新装修哪家好
  • 做搬家服务网站问卷调查的目的网络营销运营公司
  • 网站建设表单教案优质的做pc端网站
  • 网站标签布局qq wordpress登陆地址
  • 建什么网站做cpa瓜果类网站建设方案
  • 网站建设有几大板块文章类网站源码
  • 新公司网站设计注意事项公司网站建设申请单
  • 财经那个网站做的好中国能源建设集团有限公司子公司
  • html课设做网站怎么使用电脑是做网站
  • 网站上传程序流程电商网站建设开题报告
  • wordpress wamp南宁网站运营优化平台
  • 设计网站栏目微信网站怎么建立
  • 网站页面设计模板7一12岁手工玩具小制作
  • wordpress 默认页面自适应网站seo推广哪家值得信赖
  • 国外黄冈网站推广汽车低价网站建设
  • 网站开发行情wordpress淘客
  • 网站技术培训网络工程师自学教程
  • 西安企业网站开发企业网站建设服务哪家好
  • 企业网站设计特点百度总部在哪里
  • ico交易网站怎么做自助免费建站系统
  • 浏览器正能量网站2021互联网推广有哪些方式
  • 国家优质校建设网站wordpress功能小工具增加按钮
  • 更换网站模板跨平台软件开发工具
  • 做心悦腾龙光环的网站开展网络营销的企业网站有哪些
  • 网站备案时网站没有内容可以wordpress自定义二级菜单的标签
  • 最简单的网站小广告公司如何起步