ESP32-S3 正常运行中重启 rst:0x7 (TG0WDT_SYS_RST),boot:0x9 (SPI_FAST_FLASH_BOOT)

yaochuanfu
Posts: 12
Joined: Mon Mar 04, 2024 9:06 am

ESP32-S3 正常运行中重启 rst:0x7 (TG0WDT_SYS_RST),boot:0x9 (SPI_FAST_FLASH_BOOT)

Postby yaochuanfu » Mon Apr 15, 2024 2:26 am

ESP32-S3 使用esp-idf4.4.6 程序正常运行过程中 突然间重启,打印输出log如下:

这种问题是什么原因引起的,如何排查?

[2024-04-13 17:39:09.801]# RECV ASCII/1750 <<<
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x9 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375e1f
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3808,len:0x165c
load:0x403c9700,len:0xbd4
load:0x403cc700,len:0x3034
entry 0x403c9954
[0;32mI (31) boot: ESP-IDF v4.4.6-dirty 2nd stage bootloader[0m
[0;32mI (32) boot: compile time 16:08:07[0m
[0;32mI (32) boot: Multicore bootloader[0m
[0;32mI (34) boot: chip revision: v0.2[0m
[0;32mI (38) boot.esp32s3: Boot SPI Speed : 40MHz[0m
[0;32mI (43) boot.esp32s3: SPI Mode : DIO[0m
[0;32mI (48) boot.esp32s3: SPI Flash Size : 8MB[0m
[0;33mW (52) boot.esp32s3: PRO CPU has been reset by WDT.[0m
[0;33mW (58) boot.esp32s3: APP CPU has been reset by WDT.[0m
[0;32mI (63) boot: Enabling RNG early entropy source...[0m
[0;32mI (69) boot: Partition Table:[0m

yaochuanfu
Posts: 12
Joined: Mon Mar 04, 2024 9:06 am

Re: ESP32-S3 正常运行中重启 rst:0x7 (TG0WDT_SYS_RST),boot:0x9 (SPI_FAST_FLASH_BOOT)

Postby yaochuanfu » Tue Jun 04, 2024 1:21 am

更新下信息:
复现问题:芯片使用ESP32-s3r2,外接8MB flash/DIO。
1、一个按键使用了GPIO35,当GPIO初始化为输入并内部上拉后,连续多次按连接GPIO35的按键,会导致出现TG0WDT_SYS_RST的情况,而且很频繁,不初始化GPIO35,未复现到TG0WDT_SYS_RST该问题。
怀疑是IDF启用了GPIO35的相关功能,导致GPIO35配置为输入后,功能冲突。4.4和5.0、5.2版本IDF环境下都编译测试过,都有TG0WDT_SYS_RST该问题。

同一批次线路板测试都会出现该问题,后边又改进部分硬件信号问题,但GPIO35相关按键电路都未改动,重新做了一批,暂未复现TG0WDT_SYS_RST该问题。

Who is online

Users browsing this forum: No registered users and 36 guests