-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openocd currently not disables watchdog? (OCD-994) #332
Comments
@denizzzka we do disable the watchdogs in every halt with this function. https://github.com/espressif/openocd-esp32/blob/master/tcl/target/esp32c3.cfg#L26 From OpenOCD's perspective, reason of the halt doesn't matter. WDTs will be disabled after step, breakpoint or manual halt command. Perhaps you could share your application log output to see what happens during the step. You should have seen the reset reason during the next boot. Additionally, you can monitor the OpenOCD output by running it with the -d3 option.
|
@denizzzka any update? |
Closing due to inactivity. |
I encountered the same issue with our new chip, ESP32-P4. It is probably related to the common layer and needs to be investigated for all RISCV chips. |
Now this issue labels are misleading |
@denizzzka can you replace
|
@erhankur no, I've already taken my test bench apart |
OK. if you have a chance to test please let us know the result. I will add the changes to the master branch. Clearing the pending interrupts helped to the ESP32-P4. I can not reproduce the issue on ESP32-C3. So closing this again until you come up with a bad news. |
Development Kit
LuatOS ESP32-C3
Module or chip used
ESP32c3
Debug Adapter
directly connected USB
OpenOCD version
v0.12.0-esp32-20240726 (2024-07-26-15:19)
Operating System
Linux
Using an IDE ?
CLI
OpenOCD command line
openocd -c "telnet_port 5449" -c "gdb_port 3117" -f interface/esp_usb_jtag.cfg -f board/esp32c3-builtin.cfg
JTAG Clock Speed
default
ESP-IDF version
v5.3
Problem Description
It seems, openocd currently not disables watchdog timer?
Iit is leads to panic condition after debug seesion stop on the breakpoint if user tries to execute next step manually
Temporary fix: just add
CONFIG_INT_WDT=n
into the project configDebug Logs
No response
Expected behavior
Step by step debugging should work without
CONFIG_INT_WDT=n
Screenshots
No response
The text was updated successfully, but these errors were encountered: