Skip to content

ESP32-C5 N8R4 Constant Watchdog Reset (rst:0x8 (TG1_WDT_HPSYS)) #11636

@cerebrumdk

Description

@cerebrumdk

Board

ESP32-C5

Device Description

WT0132C5-S6 series module built-in ESP32-C5 N8R4 series chip with UART module and two additional buttons for chip configuration.

Hardware Configuration

CH340 USB-UART converter, GPIO 27 is connected to Download Boot Button, 28 - SPI_boot button

Version

v3.3.0

IDE Name

VSCode Platformio with pioarduino, Arduino IDE

Operating System

Windows 11

Flash frequency

80 MHz

PSRAM enabled

no

Upload speed

115200

Description

The ESP32C5 constantly resets because of watchdog timer (rst:0x8 (TG1_WDT_HPSYS)) when running even the most basic Arduino sketch.

Reset Pattern:
System flashes and boots normally;
Code executes briefly (prints all outputs in setup and loop);
Timer Group 1 watchdog reset occurs (rst:0x8 (TG1_WDT_HPSYS));
System reboots and repeats the cycle.

Looks like new release can't handle interrupts properly, hence IWDT issue.

Sketch

#include <Arduino.h>

void setup() {
  Serial.begin(115200);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB
  }
  Serial.println("Hello, World from ESP32!");
}

void loop() {
  Serial.println("Still alive...");
  delay(1000);
}

Debug Message

ESP-ROM:esp32c5-eco1-20240726
Build:Jul 26 2024
rst:0x1 (POWERON),boot:0x10 (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x12bc
load:0x4084bba0,len:0xc4c
load:0x4084e5a0,len:0x3094
entry 0x4084bba0
Hello, World from ESP32!
Still alive...
ESP-ROM:esp32c5-eco1-20240726
Build:Jul 26 2024
rst:0x8 (TG1_WDT_HPSYS),boot:0x10 (SPI_FAST_FLASH_BOOT)
Core0 Saved PC:0x40806954
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x12bc
load:0x4084bba0,len:0xc4c
load:0x4084e5a0,len:0x3094
entry 0x4084bba0
Hello, World from ESP32!
Still alive...

Other Steps to Reproduce

On Arduiono IDE I use the latest release, and on platformio my .ini is:
[env:esp32c5]
platform = espressif32
board = esp32-c5-devkitc-1
framework = arduino
monitor_speed = 115200

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions