自制PCB上使用安信可ESP32C3 32S模组(C3FN4),下载后一直报错

ryanwen
Posts: 3
Joined: Mon Jul 04, 2022 4:20 pm

自制PCB上使用安信可ESP32C3 32S模组(C3FN4),下载后一直报错

Postby ryanwen » Tue Jul 05, 2022 8:56 pm

自制PCB上使用安信可ESP32C3 32S模组(C3FN4),下载后一直报错

根据安信可文档,将IO8、IO9拉高,通过串口工具看到如下信息,esp32c3等待下载

ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0xf (BROWNOUT_RST),boot:0x5 (DOWNLOAD(USB/UART0/1))
waiting for download

使用flash_download_tool(v3.9.2)烧录AT固件(flash_download_tool提示)成功,
将IO9拉低后接串口工具重新加电启动,看到如下错误

ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0xf (BROWNOUT_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x12 (SUPER_WDT_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x12 (SUPER_WDT_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x18c8
load:0x00000000,len:0x0
load:0x00000000,len:0x0
Checksum failure. Calculated 0xef stored 0x00
ets_main.c 333


麻烦各位工程师帮忙看一下,万分感谢!!!

另外,请教一下flash_download_tool在烧录时是否会检验烧到flash的结果,
曾怀疑烧录原因,试过修改configure\esp32c3\spi_download.conf文件[ESPTOOL_PARAM]verify = True重新启动工具再烧录,结果依旧,

期间试过从安信可官网下载的固件 https://docs.ai-thinker.com/_media/fact ... v2.3.0.zip
也试过从espressif.com下载的固件 https://download.espressif.com/esp_at/ ... .4.0.0.zip

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: 自制PCB上使用安信可ESP32C3 32S模组(C3FN4),下载后一直报错

Postby ESP_LJH » Wed Jul 27, 2022 9:23 am

你的描述里 IO9 的状态都是反过来的,是否是写错了,IO8 为高,IO9 为低才进入下载。
然后你的 log 里一直有 brownout,你的电流是不是不够,最好检查下。还有原理图注意不要把 flash 的管脚占用了。

Who is online

Users browsing this forum: No registered users and 34 guests