完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
该ESP-BOX开发板已经正常使用几个星期,今天突然开始报错,不同固件均报错,具体如下:
Executing action: flashSerial port COM8Connecting...Detecting chip type... ESP32-S3Running ninja in directory d:espressifframeworksesp-idf-v4.4.1esp-boxexamplesimage_displaybuildExecuting "ninja flash"...[1/6] cmd.exe /C "cd /D D:Espressifframeworksesp-idf-v4.4.1esp-boxexample...meworks/esp-idf-v4.4.1/esp-box/examples/image_display/build/image_display.bin"image_display.bin binary size 0x82aa0 bytes. Smallest app partition is 0x200000 bytes. 0x17d560 bytes (74%) free.[3/6] Performing build step for 'bootloader'[1/1] cmd.exe /C "cd /D D:Espressifframeworksesp-idf-v4.4.1esp-boxexamplesimage_displaybuildbootloaderesp-idfesptool_py && D:Espressifpython_envidf4.4_py3.8_envScriptspython.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box/examples/image_display/build/bootloader/bootloader.bin"Bootloader binary size 0x56a0 bytes. 0x2960 bytes (32%) free.[3/4] cmd.exe /C "cd /D D:Espressifframeworksesp-idf-v4.4.1componentsespt...pressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"esptool.py esp32s3 -p COM8 -b 460800 --before=default_reset --after=hard_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 image_display.bin 0x8000 partition_table/partition-table.bin 0x210000 storage.binesptool.py v3.3-devSerial port COM8Connecting...Chip is ESP32-S3Features: WiFi, BLECrystal is 40MHzMAC: 7c:df:a1:e1:be:88Changing baud rate to 460800Changed.Enabling default SPI flash mode...Configuring flash size...Flash will be erased from 0x00000000 to 0x00005fff...Flash will be erased from 0x00010000 to 0x00092fff...Flash will be erased from 0x00008000 to 0x00008fff...Flash will be erased from 0x00210000 to 0x0030ffff...Erasing flash...Took 0.24s to erase flash blockWriting at 0x00000000... (4 %)Writing at 0x00000400... (9 %)Writing at 0x00000800... (13 %)Writing at 0x00000c00... (18 %)Writing at 0x00001000... (22 %)Writing at 0x00001400... (27 %)Writing at 0x00001800... (31 %)Writing at 0x00001c00... (36 %)Writing at 0x00002000... (40 %)Writing at 0x00002400... (45 %)Writing at 0x00002800... (50 %)Writing at 0x00002c00... (54 %)Writing at 0x00003000... (59 %)Writing at 0x00003400... (63 %)Writing at 0x00003800... (68 %)Writing at 0x00003c00... (72 %)Writing at 0x00004000... (77 %)Writing at 0x00004400... (81 %)Writing at 0x00004800... (86 %)Writing at 0x00004c00... (90 %)Writing at 0x00005000... (95 %)Writing at 0x00005400... (100 %)Wrote 22528 bytes at 0x00000000 in 1.9 seconds (95.1 kbit/s)...Hash of data verified.Erasing flash...Took 0.54s to erase flash blockWriting at 0x00010000... (0 %)Writing at 0x00010400... (0 %)Writing at 0x00010800... (0 %)Writing at 0x00010c00... (0 %)Writing at 0x00011000... (0 %)Writing at 0x00011400... (1 %)Writing at 0x00011800... (1 %)Writing at 0x00011c00... (1 %)Writing at 0x00012000... (1 %)Writing at 0x00012400... (1 %)Writing at 0x00012800... (2 %)Writing at 0x00012c00... (2 %)Traceback (most recent call last): File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5347, in _main() File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5340, in _main main() File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 4772, in main operation_func(esp, args) File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3978, in write_flash esp.flash_block(block, seq) File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 801, in flash_block self.check_command("write to target Flash after seq %d" % seq, File "D:/Espressif/frameworks/esp-idf-v4.4.1/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.1/components/esptool_py/esptool/esptool.py", line 451, in command self._port.timeout = new_timeout File "D:Espressifpython_envidf4.4_py3.8_envlibsite-packagesserialserialutil.py", line 372, in timeout self._reconfigure_port() File "D:Espressifpython_envidf4.4_py3.8_envlibsite-packagesserialserialwin32.py", line 222, in _reconfigure_port raise SerialException(serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '连到系统上的设备没有发挥作用。', None, 31)CMake Error at run_serial_tool.cmake:56 (message): D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py --chip esp32s3 failedFAILED: CMakeFiles/flashcmd.exe /C "cd /D D:Espressifframeworksesp-idf-v4.4.1componentsesptool_py && D:Espressiftoolscmake3.20.3bincmake.exe -D IDF_PATH="D:/Espressif/frameworks/esp-idf-v4.4.1" -D SERIAL_TOOL="D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py --chip esp32s3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset --no-stub write_flash @flash_args" -D WORKING_DIRECTORY="D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box/examples/image_display/build" -P D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"ninja: build stopped: subcommand failed.ninja failed with exit code 1 |
|
相关推荐
1个回答
|
|
根据您提供的错误信息,我们可以分析以下几个可能的原因:
1. 串口连接问题:请检查您的开发板与电脑之间的串口连接是否正常。确保数据线没有损坏,并且连接到正确的端口。 2. 串口驱动问题:请检查您的电脑是否安装了正确的串口驱动。如果驱动有问题,可能导致无法正常识别开发板。 3. 电源问题:请检查开发板的电源是否稳定,不稳定的电源可能导致烧录过程中出现问题。 4. 开发板硬件问题:由于您提到开发板已经正常使用了几个星期,可能存在硬件故障。请检查开发板上的元件是否有损坏或焊接问题。 5. 固件问题:您提到不同固件均报错,可能是固件本身存在问题。请尝试使用其他版本的固件进行烧录。 6. 烧录工具问题:请检查您使用的烧录工具是否为最新版本,如果不是,请尝试更新到最新版本。 7. 环境问题:请检查您的开发环境是否正确配置,包括路径、权限等。 为了解决这个问题,您可以尝试以下步骤: 1. 重新连接开发板,确保串口连接正常。 2. 检查并更新串口驱动。 3. 检查开发板电源是否稳定。 4. 检查开发板硬件是否有损坏。 5. 尝试使用其他版本的固件进行烧录。 6. 更新烧录工具到最新版本。 7. 检查开发环境配置。 希望这些建议能帮助您解决问题。如果问题仍然存在,请提供更多详细信息,以便我们进一步分析。 |
|
|
|
只有小组成员才能发言,加入小组>>
545浏览 6评论
457浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
437浏览 5评论
441浏览 4评论
411浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:00 , Processed in 0.903528 second(s), Total 84, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号