esp c3下载程序一直重启

常见错误:

  • 版本错误
  • flash配置错误

1 版本错误

ESP-ROM:esp32c3-20200918
Build:Sep 18 2020
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403d11a0
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x1740
load:0x403ce000,len:0x8d4
load:0x403d0000,len:0x293c
entry 0x403ce000
I (34) boot: ESP-IDF v4.3 2nd stage bootloader
I (35) boot: compile time 23:37:02
I (35) boot: chip revision: 2
E (36) boot_comm: This chip is revision 2 but the application is configured for minimum revision 3. Can't run.

芯片为老版本,非正式量产版。
如需使用,请在 ESP -IDF 中修改版本

  • 1.命令:idf.py menuconfig
    在这里插入图片描述

  • 2.依次选择:Component config -> ESP32C3-Specific -> Minimum Supported ESP32-C3 Revision -> Rev 2 退出按Y保存
    在这里插入图片描述


2 Flash配置错误

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038058c


SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x16bc
load:0x403cc710,len:0x930
load:0x403ce710,len:0x2d28
entry 0x403cc710
I (24) boot: ESP-IDF v4.4.3-dirty 2nd stage bootloader
I (24) boot: compile time 16:50:33
I (24) boot: chip revision: 3
I (26) boot.esp32c3: SPI Speed      : 80MHz
I (31) boot.esp32c3: SPI Mode       : DIO
I (36) boot.esp32c3: SPI Flash Size : 2MB
I (40) boot: Enabling RNG early entropy source...
...
W (231) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.

修改flash

  • 1.命令:idf.py menuconfig
    在这里插入图片描述

  • 2.依次选择:Serial flasher config -> Flash size -> 4 MB 退出按Y保存
    在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Eiker_3169

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值