完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
发了两个问题,一直都没有看到厂家的技术支持有回复,只好把原来的MDF都删除,然后git了一个最新的esp-mdf,demo总算编译通过了,但是有出现了make flash的问题,把python改成3.6了,sudo chmod 777 /dev/ttyUSB0也试过了,在python 控制台状态下能open这个USB转串口(CP系列),并且能接受到串口数据,但make flash后就出现以下错误:
App "eth2ap" version: 1 Flashing binaries to serial port '/dev/ttyUSB0' (app at offset 0x10000)... esptool.py v3.0-dev Serial port "/dev/ttyUSB0" Traceback (most recent call last): File "/home/willen/.local/lib/python3.6/site-packages/serial/serialposix.py", line 291, in open self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK) FileNotFoundError: [Errno 2] No such file or directory: '"/dev/ttyUSB0"' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/willen/esp/esp-mdf/esp-idf/components/esptool_py/esptool/esptool.py", line 3430, in _main() File "/home/willen/esp/esp-mdf/esp-idf/components/esptool_py/esptool/esptool.py", line 3423, in _main main() File "/home/willen/esp/esp-mdf/esp-idf/components/esptool_py/esptool/esptool.py", line 3087, in main esp = chip_class(each_port, initial_baud, args.trace) File "/home/willen/esp/esp-mdf/esp-idf/components/esptool_py/esptool/esptool.py", line 261, in __init__ self._port = serial.serial_for_url(port) File "/home/willen/.local/lib/python3.6/site-packages/serial/__init__.py", line 85, in serial_for_url instance.open() File "/home/willen/.local/lib/python3.6/site-packages/serial/serialposix.py", line 294, in open raise SerialException(msg.errno, "could not open port %s: %s" % (self._port, msg)) serial.serialutil.SerialException: [Errno 2] could not open port "/dev/ttyUSB0": [Errno 2] No such file or directory: '"/dev/ttyUSB0"' /home/willen/esp/esp-mdf/esp-idf/components/esptool_py/Makefile.projbuild:104: recipe for target 'flash' failed |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
545浏览 6评论
457浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
437浏览 5评论
441浏览 4评论
411浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 00:23 , Processed in 0.821967 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号