[SOLVED] Keep getting TG0WDT_SYS_RESET

psiphi75
Posts: 13
Joined: Thu May 04, 2017 4:45 am

[SOLVED] Keep getting TG0WDT_SYS_RESET

Postby psiphi75 » Sun Oct 08, 2017 8:40 pm

I keep getting a TG0WDT_SYS_RESET reboot although, all the tasks seem to be working okay. There is not much context given for the issue. I get the following output. I'm running the latest code from GitHub and have the latest xtensa gcc compiler.

Any ideas on how to debug this issue?

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (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
lo�`<����x
             x�x�x<x���<<fÆ��̘03`x���<`<����x
                                                      x�x�x<x���<<fÆ����̘�Ø03`x���<`<����
                                                                                                    ���?x
                                                                                                             ��<<f����03`x���<`<����
                                ���?x
                                         ��<<f����������03`���`??��
                                                                             ���
                                                                                  ���?fx�<~��̞��~�x�x���f0f�x
        ��������f������3�~<f??�3�f�����f�f�f�f�<��~
                                                               ���30f��̞�̞f
                                                                              �W (33) boot: PRO CPU has been reset by WDT.
W (33) boot: WDT reset info: PRO CPU PC=0x40081639
0x40081639: .check_dport_access_end at /opt/Espressif/esp-idf-v2.1-20171007/components/esp32/./dport_panic_highint_hdl.S:181

W (33) boot: WDT reset info: APP CPU PC=0x4008147b
0x4008147b: esp_dport_access_stall_other_cpu_start at /opt/Espressif/esp-idf-v2.1-20171007/components/esp32/./dport_access.c:102
Last edited by psiphi75 on Mon Oct 09, 2017 1:11 am, edited 1 time in total.

psiphi75
Posts: 13
Joined: Thu May 04, 2017 4:45 am

Re: Keep getting TG0WDT_SYS_RESET

Postby psiphi75 » Mon Oct 09, 2017 1:10 am

It seems deleting the sdkconfig file and setting up the configuration options from scratch seemed to fix the issue. I did not take the time to figure out which setting caused the issue I was having.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: [SOLVED] Keep getting TG0WDT_SYS_RESET

Postby kolban » Mon Oct 09, 2017 5:05 am

Thanks for posting your resolution. I think that is a great technique to add to our box of "mystery resolutions". The one I commonly use is deleting the "build" directory within the project.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Soroosh_kei
Posts: 1
Joined: Mon Nov 22, 2021 4:08 pm

Re: Keep getting TG0WDT_SYS_RESET

Postby Soroosh_kei » Sun Aug 14, 2022 8:58 am

psiphi75 wrote:
Mon Oct 09, 2017 1:10 am
It seems deleting the sdkconfig file and setting up the configuration options from scratch seemed to fix the issue. I did not take the time to figure out which setting caused the issue I was having.
Where can I find the mentioned sdkconfig file? For working with both Arduino IDE and platformIO.

dg9ngf
Posts: 40
Joined: Mon Sep 16, 2019 6:49 pm

Re: [SOLVED] Keep getting TG0WDT_SYS_RESET

Postby dg9ngf » Fri Jun 16, 2023 9:53 am

For PlatformIO the file is directly next to platformio.ini. For me it's called sdkconfig.pico32. Deleting it has created a new one after reloading the project. But that didn't help. My device is still stuck in a reset loop. The code worked fine almost a year ago. Seems like the world has changed entirely around it with the latest tools and SDK. Let's see if I can get the current stuff working again.

Who is online

Users browsing this forum: Google [Bot] and 160 guests