-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[TW#24061] ULP example breaks on first debug output #2145
Comments
Hi @barde, thanks for reporting this. |
Adding some delay before esp_deep_sleep_start(); helps. |
yes, I am experiencing the same issue, the core functions seems to be working, but the console output e.g. printf("debug message....") seems to be cut off after the first few words. and it seems to be on all the ULP examples which I have tested. ya thanks to forth94, adding some delay such as helps with the proper debug output. |
Since 94250e4, UART output is suspended when entering sleep mode (deep or light sleep). This makes sense for light sleep, where sleep normally takes small amount of time, and flushing the UART would add a lot of latency. But this breaks existing behaviour for deep sleep, where UART output was previously sent out before entering sleep mode. Closes #2145
Since 94250e4, UART output is suspended when entering sleep mode (deep or light sleep). This makes sense for light sleep, where sleep normally takes small amount of time, and flushing the UART would add a lot of latency. But this breaks existing behaviour for deep sleep, where UART output was previously sent out before entering sleep mode. Closes espressif/esp-idf#2145
Since 94250e4, UART output is suspended when entering sleep mode (deep or light sleep). This makes sense for light sleep, where sleep normally takes small amount of time, and flushing the UART would add a lot of latency. But this breaks existing behaviour for deep sleep, where UART output was previously sent out before entering sleep mode. Closes espressif/esp-idf#2145
Environment
git rev-parse --short HEAD
to get the commit id.):fdee0b6
Problem Description
The ULP demo does not run. It crashes on writing the first string on the serial debug.
I tried it with two other 3rd party ESP32 modules and got the same behaviour.
Expected Behavior
Running ULP demo.
Actual Behavior
First line does not get printed on the debug console. ESP32 is not sleeping.
Steps to repropduce
Debug Logs
The text was updated successfully, but these errors were encountered: