Skip to content

ESP32C3 WDT's not being disabled by openocd (OCD-347) #153

@MabezDev

Description

@MabezDev

Openocd config:

adapter_khz 10000

# jlink
source [find interface/jlink.cfg]

# Source the ESP32-C3 configuration file
source [find target/esp32c3.cfg]

Openocd version:

Open On-Chip Debugger  v0.10.0-esp32-20210401 (2021-04-01-15:45)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html

I believe this behavior isn't seen in the IDF because of https://github.com/espressif/esp-idf/blob/1f54d17503ff17d830de75eed4eb47bc6a3aafc3/components/esp_system/port/soc/esp32c3/system_internal.c#L47-L56.

When I add the wdt disabling into my program (sorry in advance, it's Rust :D) I no longer get the RTC & TIMG wdt resets.

With that said, I am still getting a rst:0x12 (SUPER_WDT_RST) after these changes, this is probably not the place to ask, but do you know whats causing that? I looked in the prelim trm, section 1.14 and there are no comments next to Super watchdog reset. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions