完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
模组:ESP32-WROOM-32D
ESP-IDF版本:4.3.1 尝试编译烧写example/hello_world实例,正常编译无法烧写: 日志如下: Serial port COM10 Connecting.... Chip is ESP32-D0WD (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 4c:75:25:57:0f:64 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00010000 to 0x00039fff... Flash will be erased from 0x00008000 to 0x00008fff... Compressed 25440 bytes to 15871... Writing at 0x00001000... (100 %) Wrote 25440 bytes (15871 compressed) at 0x00001000 in 0.4 seconds (effective 466.9 kbit/s)... File md5: b181f1484c264652f0f20d506db35eca Flash md5: 4c03feeb3298a10ad0ea93ed8c09925b MD5 of 0xFF is 281039d6031a5a11af6c530e21de18d6 A fatal error occurred: MD5 of file does not match data in flash! CMake Error at run_serial_tool.cmake:56 (message): C:/Users/legen/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe F:/cv/Esp32Dev/ESP/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 failed FAILED: CMakeFiles/flash cmd.exe /C "cd /D F:cvEsp32DevESPesp-idfcomponentsesptool_py && C:Userslegen.espressiftoolscmake3.20.3bincmake.exe -D IDF_PATH="F:/cv/Esp32Dev/ESP/esp-idf" -D SERIAL_TOOL="C:/Users/legen/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe F:/cv/Esp32Dev/ESP/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="F:/WorkFlow/raspiberry/Mods/Esp32/hello_world/build" -P F:/cv/Esp32Dev/ESP/esp-idf/components/esptool_py/run_serial_tool.cmake" ninja: build stopped: subcommand failed. ninja failed with exit code 1 尝试运行python esptool.py --port COM10 write_flash_status --non-volatile 0发现无法设置flash状态 esptool.py v3.2-dev Serial port COM10 Connecting... Detecting chip type... Unsupported detection protocol, switching and trying again... Connecting... Detecting chip type... ESP32 Chip is ESP32-D0WD (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 4c:75:25:57:0f:64 Uploading stub... Running stub... Stub running... Initial flash status: 0x0200 Setting flash status: 0x0000 After flash status: 0x0200 Hard resetting via RTS pin... 使用 python espefuse.py --chip esp32 --port COM10 summary,信息如下 Connecting...... espefuse.py v3.2-dev ---------------------------------------------------------------------------------------- Calibration fuses: BLK3_PART_RESERVE (BLOCK0): BLOCK3 partially served for ADC calibration data = False R/W (0b0) ADC_VREF (BLOCK0): Voltage reference calibration = 1114 R/W (0b00010) Config fuses: XPD_SDIO_FORCE (BLOCK0): Ignore MTDI pin (GPIO12) for VDD_SDIO on reset = False R/W (0b0) XPD_SDIO_REG (BLOCK0): If XPD_SDIO_FORCE, enable VDD_SDIO reg on reset = False R/W (0b0) XPD_SDIO_TIEH (BLOCK0): If XPD_SDIO_FORCE & XPD_SDIO_REG = 1.8V R/W (0b0) CLK8M_FREQ (BLOCK0): 8MHz clock freq override = 55 R/W (0x37) SPI_PAD_CONFIG_CLK (BLOCK0): Override SD_CLK pad (GPIO6/SPICLK) = 0 R/W (0b00000) SPI_PAD_CONFIG_Q (BLOCK0): Override SD_DATA_0 pad (GPIO7/SPIQ) = 0 R/W (0b00000) SPI_PAD_CONFIG_D (BLOCK0): Override SD_DATA_1 pad (GPIO8/SPID) = 0 R/W (0b00000) SPI_PAD_CONFIG_HD (BLOCK0): Override SD_DATA_2 pad (GPIO9/SPIHD) = 0 R/W (0b00000) SPI_PAD_CONFIG_CS0 (BLOCK0): Override SD_CMD pad (GPIO11/SPICS0) = 0 R/W (0b00000) DISABLE_SDIO_HOST (BLOCK0): Disable SDIO host = False R/W (0b0) Efuse fuses: WR_DIS (BLOCK0): Efuse write disable mask = 0 R/W (0x0000) RD_DIS (BLOCK0): Efuse read disable mask = 0 R/W (0x0) = NONE (BLK1-3 len=256 bits) R/W (0b00) KEY_STATUS (BLOCK0): Usage of efuse block 3 (reserved) = False R/W (0b0) Identity fuses: MAC (BLOCK0): Factory MAC Address = 4c:75:25:57:0f:64 (CRC 0x5b OK) R/W MAC_CRC (BLOCK0): CRC8 for factory MAC address = 91 R/W (0x5b) CHIP_VER_REV1 (BLOCK0): Silicon Revision 1 = True R/W (0b1) CHIP_VER_REV2 (BLOCK0): Silicon Revision 2 = False R/W (0b0) CHIP_VERSION (BLOCK0): Reserved for future chip versions = 2 R/W (0b10) CHIP_PACKAGE (BLOCK0): Chip package identifier = 1 R/W (0b001) MAC_VERSION (BLOCK3): Version of the MAC field = 0 R/W (0x00) Security fuses: FLASH_CRYPT_CNT (BLOCK0): Flash encryption mode counter = 0 R/W (0b0000000) UART_DOWNLOAD_DIS (BLOCK0): Disable UART download mode (ESP32 rev3 only) = False R/W (0b0) FLASH_CRYPT_CONFIG (BLOCK0): Flash encryption config (key tweak bits) = 0 R/W (0x0) CONSOLE_DEBUG_DISABLE (BLOCK0): Disable ROM BASIC interpreter fallback = True R/W (0b1) ABS_DONE_0 (BLOCK0): Secure boot V1 is enabled for bootloader image = False R/W (0b0) ABS_DONE_1 (BLOCK0): Secure boot V2 is enabled for bootloader image = False R/W (0b0) JTAG_DISABLE (BLOCK0): Disable JTAG = False R/W (0b0) DISABLE_DL_ENCRYPT (BLOCK0): Disable flash encryption in UART bootloader = False R/W (0b0) DISABLE_DL_DECRYPT (BLOCK0): Disable flash decryption in UART bootloader = False R/W (0b0) DISABLE_DL_CACHE (BLOCK0): Disable flash cache in UART bootloader = False R/W (0b0) BLOCK1 (BLOCK1): Flash encryption key = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W BLOCK2 (BLOCK2): Secure boot key = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W BLOCK3 (BLOCK3): Variable Block 3 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W Flash voltage (VDD_SDIO) determined by GPIO12 on reset (High for 1.8V, Low/NC for 3.3V). |
|
相关推荐
1个回答
|
|
以下是一些建议来解决这个问题:
1. 确保您使用的是正确的烧录工具和固件。请检查您的烧录器和固件是否与您的ESP32-WROOM-32D模块兼容。 2. 检查您的烧录器连接是否稳定。如果连接不稳定,可能会导致数据传输错误。 3. 尝试使用不同的烧录速度。在某些情况下,降低烧录速度可以提高烧录成功率。 4. 确保您的ESP32模块没有硬件问题。如果模块存在硬件故障,可能会导致烧录失败。 5. 尝试使用其他版本的ESP-IDF。您当前使用的是4.3.1版本,可以尝试升级到最新版本或降级到其他稳定版本。 6. 在烧录之前,确保您的ESP32模块已经完全擦除。可以使用以下命令来擦除整个Flash: ``` esptool.py --port COM10 erase_flash ``` 7. 在烧录过程中,确保没有其他程序干扰。关闭可能影响烧录的程序,如杀毒软件或其他串口通信程序。 |
|
|
|
只有小组成员才能发言,加入小组>>
1138 浏览 1 评论
576浏览 6评论
477浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
461浏览 5评论
462浏览 4评论
435浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 12:22 , Processed in 0.674787 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号