请选择 进入手机版 | 继续访问电脑版
论坛
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 200|回复: 1

有调过ESP32_CAM的老师吗,make flash monitor时出现如下错误,...

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2019-7-30 14:17:20 | 显示全部楼层 |阅读模式
ai-thinker@aithinker:~/esp_demo/ESP32_CAMERA_QR$ make flash monitor
^[[3~WARNING: Toolchain version is not supported: 1.22.0-73-ge28a011
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Toolchain version is not supported: 1.22.0-73-ge28a011
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.3.1
Traceback (most recent call last):
  File "/home/ai-thinker/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2637, in <module>
    _main()
  File "/home/ai-thinker/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2630, in _main
    main()
  File "/home/ai-thinker/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2355, in main
    esp = chip_class(args.port, initial_baud, args.trace)
  File "/home/ai-thinker/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 193, in __init__
    self._port = serial.serial_for_url(port)
  File "/usr/lib/python2.7/dist-packages/serial/__init__.py", line 88, in serial_for_url
    instance.open()
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
/home/ai-thinker/esp/esp-idf/components/esptool_py/Makefile.projbuild:54: recipe for target 'flash' failed


回复

使用道具 举报

1

主题

55

帖子

322

积分

中级会员

Rank: 3Rank: 3

积分
322
发表于 2019-8-3 19:37:54 | 显示全部楼层
could not open port /dev/ttyUSB0

串口无法打开。你设置的串口路径是 linux 系统下的 /dev/ttyUSB0
windows 下的是 com1 或COM2或COM3等等

你的固件已经编译好了,就差刷写进去。
建议你直接用官方刷写软件,少了刷前检查的步骤,会更快下载。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|安信可论坛    

GMT+8, 2019-10-15 02:16 , Processed in 0.019580 second(s), 14 queries , Redis On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表