ESP32 Resets 0x7 (TG0WDT_SYS_RESET) continuously

Serg1987
Posts: 7
Joined: Fri Apr 03, 2020 3:33 am

ESP32 Resets 0x7 (TG0WDT_SYS_RESET) continuously

Postby Serg1987 » Wed Dec 01, 2021 12:56 pm

Hello. I have firmware, that works fine at ESP32-PICO-KIT board. But when I try launch this at ESP32-WROOM32, firmware crashes.
In log I see

Code: Select all

I (941) ble gap: advertising start successfully
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:5104
load:0x40078000,len:13960
load:0x40080400,len:3636
0x40080400: _init at ??:?

entry 0x40080668
I (54) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (54) boot: compile time 14:39:26
I (54) boot: chip revision: 1
I (54) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (61) boot.esp32: SPI Speed      : 40MHz
I (65) boot.esp32: SPI Mode       : DIO
I (68) boot.esp32: SPI Flash Size : 4MB
W (72) boot.esp32: PRO CPU has been reset by WDT.
W (76) boot.esp32: WDT reset info: PRO CPU PC=0x4008f169
0x4008f169: _xt_context_save at C:/Users/sfrolov/ESP32/esp-idf/components/freertos/port/xtensa/xtensa_context.S:209

W (81) boot.esp32: WDT reset info: APP CPU PC=0x40126b4a (waiti mode)
0x40126b4a: esp_pm_impl_waiti at C:/Users/sfrolov/ESP32/esp-idf/components/esp_pm/pm_impl.c:829
My version of WROOM32 has the same flash size as ESP32-PICO-KIT board.
For flashing WROOM32 I use external USB-Serial converter from Silicon labs , and I manually manipulates with 'boot'/'reset' buttons for any operations.
Unlike this PICO-KIT uses embedded USD-to-Serial and resets/erases/flashes memory automatically. Power level also good (used also with pico-board without any problem).
But WSP32-PICO-KIT starts and works good, and WROOM32 not.

What causes this strange behavior?? Need help.
Thanks.

Serg1987
Posts: 7
Joined: Fri Apr 03, 2020 3:33 am

Re: ESP32 Resets 0x7 (TG0WDT_SYS_RESET) continuously

Postby Serg1987 » Thu Dec 02, 2021 3:44 pm

I will write any additional things that I found. I found out that I2S library initializes with troubles and freezes, then WDT resets chip.
I disabled I2C and found that my android app cannot connect to ESP32 throw Bluetooth. Firmware shows:

Code: Select all

I (51834) GATT Server: ESP_GATTS_DISCONNECT_EVT, reason = 19
This is all for ESP32-WROOM32D.
In ESP32-PICO-D4 all works fine.
Many time I thought that no any problems with migration. But now I guess that some things of last version ESP-IDF are incompatible with little old modules like ESP-WROOW32D
Can anybody suggest the reason of this unstable work?? :(
Thanks.

Serg1987
Posts: 7
Joined: Fri Apr 03, 2020 3:33 am

Re: ESP32 Resets 0x7 (TG0WDT_SYS_RESET) continuously

Postby Serg1987 » Fri Dec 03, 2021 8:01 am

Anybody here??
How can I migrate from PICO D4 to WROOM32??

Who is online

Users browsing this forum: No registered users and 110 guests