Skip to content
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

Watchdog triggered when testing 'micro_speech' sample on ESP-IDF v5.1 #54

Open
misterb0407 opened this issue Jun 15, 2023 · 5 comments
Open

Comments

@misterb0407
Copy link
Contributor

Steps:

  1. cd to root of project files (not examples/micro_speech) so that 'component folder is recognized by system

  2. Build the sample under 'micro_speech' examples by using docker ESP-IDF version 5.2
    $docker run --rm -v $PWD:/project -w /project -it espressif/idf:release-v5.1
    Then inside the docker prompt:
    $ idf.py build

  3. Then flash and monitor, you would see the following in the log:
    `E (434939) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
    E (434939) task_wdt: - IDLE (CPU 0)
    E (434939) task_wdt: Tasks currently running:
    E (434939) task_wdt: CPU 0: tensorflow
    E (434939) task_wdt: CPU 1: IDLE
    E (434939) task_wdt: Print CPU 0 (current core) backtrace

Backtrace: 0x400E614F:0x3FFB0D50 0x40082905:0x3FFB0D80 0x400D6122:0x3FFC0200 0x400D5D8D:0x3FFC0240 0x400D5916:0x3FFC0270

Heard unknown (205) @434600ms
Heard unknown (205) @438300ms
Heard unknown (224) @439900ms
Heard unknown (213) @441500ms
Heard unknown (232) @443100ms
Heard unknown (215) @444700ms
Heard unknown (203) @448100ms`

This was not observed when building the same code with ESP-IDF version release-v4.4

@vikramdattu
Copy link
Collaborator

@misterb0407 is the target esp32 in both the setups?

@misterb0407
Copy link
Contributor Author

Hi @vikramdattu , yes , the target was esp32 for both setup. As a work around I just disable watchdog for now from the idf.py menuconfig

@vikramdattu
Copy link
Collaborator

@misterb0407 okay, thanks! I will certainly check for newer IDF branch and update you on the same.

@vikramdattu
Copy link
Collaborator

@misterb0407 I saw your issue on IDF: espressif/esp-idf#11678
Does having that particular change for I2S setup help with this example?

@misterb0407
Copy link
Contributor Author

Hi @vikramdattu , it is hard to say as the example here uses legacy I2S driver but the espressif/esp-idf#11678 uses the new I2S driver. Do you have any config (in this legacy driver) you would like me to try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants