【已解决】ESP-BOX用VS Code烧录固件时,突然中止

Jachin_Yu
Posts: 14
Joined: Wed Feb 26, 2020 8:48 am

【已解决】ESP-BOX用VS Code烧录固件时,突然中止

Postby Jachin_Yu » Tue Mar 21, 2023 8:38 am

如题。
尝试过手动进入下载模式,仍不能解决该问题。
Traceback信息如下:

Code: Select all

Traceback (most recent call last):
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 1031, in _main
    main()
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 831, in main
    operation_func(esp, args)
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\cmds.py", line 580, in write_flash
    esp.flash_defl_block(block, seq, timeout=timeout)
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 131, in inner
    return func(*args, **kwargs)
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 1030, in flash_defl_block
    self.check_command(
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 435, in check_command
    val, data = self.command(op, data, chk, timeout=timeout)
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 404, in command
    p = self.read()
  File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 337, in read
    return next(self._slip_reader)
StopIteration

A fatal error occurred: The chip stopped responding.
Last edited by Jachin_Yu on Fri Mar 24, 2023 11:53 am, edited 2 times in total.

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: ESP-BOX烧录较大固件时,中途突然停止

Postby ESP_Xuxin » Tue Mar 21, 2023 12:19 pm

Have you tried flash_download_tool_3.9.3.exe burning is ok?
In addition, whether the programming is the original project or has it been modified by yourself?

Jachin_Yu
Posts: 14
Joined: Wed Feb 26, 2020 8:48 am

Re: ESP-BOX用VS Code烧录固件时,突然中止

Postby Jachin_Yu » Tue Mar 21, 2023 12:43 pm

xuxin@espressif.com wrote:
Tue Mar 21, 2023 12:19 pm
Have you tried flash_download_tool_3.9.3.exe burning is ok?
In addition, whether the programming is the original project or has it been modified by yourself?
1.flash_down_tool可以正常烧录。
2.idf版本是v5.0.1(离线安装包),系统是win10,环境是vscode下的idf插件,项目代码是组件管理器中的板级支持包esp-box-2.3.2的三个自带例程,我没有修改过。三个例程均可编译通过,但烧录中途都会停止。有时候可以完成烧录,但大部分情况是烧录失败。
3.经测试,用esp-idf v4.4.3可以正常编译并烧录GitHub上esp-box-sdk中的示例代码。

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: ESP-BOX用VS Code烧录固件时,突然中止

Postby ESP_Xuxin » Fri Mar 24, 2023 8:29 am

我和我们做 esptool.py 的同事确认了一下,需要你确认下 esptool.py 的版本,另外答复如下:

We had an issue with ESP32-S3 in esptool v4.5. This has been fixed in v4.5.1
If the run the install script again, esptool should be automatically updated

Jachin_Yu
Posts: 14
Joined: Wed Feb 26, 2020 8:48 am

Re: ESP-BOX用VS Code烧录固件时,突然中止

Postby Jachin_Yu » Fri Mar 24, 2023 11:51 am

xuxin@espressif.com wrote:
Fri Mar 24, 2023 8:29 am
我和我们做 esptool.py 的同事确认了一下,需要你确认下 esptool.py 的版本,另外答复如下:

We had an issue with ESP32-S3 in esptool v4.5. This has been fixed in v4.5.1
If the run the install script again, esptool should be automatically updated
经查,我目前的esptool.py版本确实是v4.5。
按照答复更新了v4.5.1并多次测试后,目前可以稳定烧录,感谢答复。

Who is online

Users browsing this forum: No registered users and 36 guests