嵌入式技术william hill官网
直播中

jf_21833741

1年用户 3经验值
私信 关注
[问答]

合宙ESP32C3开发板烧录失败问题

"合宙ESP32C3开发板",用VScode + ESP-IDF烧录失败->设备不识别此命令

请问有人遇到过这种烧录失败的问题吗?同个板子同个固件前几次烧录还是ok的

raise FatalError(msg)
__main__.FatalError: Serial data stream stopped: Possible serial noise or corruption.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 5399, in <module>
    _main()
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 5392, in _main  
    main()
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 4824, in main
    operation_func(esp, args)
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 4019, in write_flash
    esp.flash_defl_block(block, seq, timeout=timeout)
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 143, in inner   
    return func(*args, **kwargs)
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 931, in flash_defl_block
    self.check_command("write compressed data to flash after seq %d" % seq,
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 495, in check_command
    val, data = self.command(op, data, chk, timeout=timeout)
  File "d:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 484, in command 
    self._port.timeout = saved_timeout
  File "d:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialutil.py", line 372, in timeout 
    self._reconfigure_port()
  File "d:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
    raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '设备不识别此命令。', None, 22)

更多回帖

发帖
×
20
完善资料,
赚取积分