Page 1 of 1

[SOLVED] Keep getting TG0WDT_SYS_RESET

Posted: Sun Oct 08, 2017 8:40 pm
by psiphi75
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

Re: Keep getting TG0WDT_SYS_RESET

Posted: Mon Oct 09, 2017 1:10 am
by psiphi75
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.

Re: [SOLVED] Keep getting TG0WDT_SYS_RESET

Posted: Mon Oct 09, 2017 5:05 am
by kolban
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.

Re: Keep getting TG0WDT_SYS_RESET

Posted: Sun Aug 14, 2022 8:58 am
by Soroosh_kei
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.

Re: [SOLVED] Keep getting TG0WDT_SYS_RESET

Posted: Fri Jun 16, 2023 9:53 am
by dg9ngf
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.