It seems that the issue was fixed by adding an initialization line:
```
Board.init(0);
```
Many thanks to PowerFeather's great support: https://forum.powerfeather.dev/d/14-ran ... deep-sleep
Search found 9 matches
- Mon Nov 18, 2024 7:20 pm
- Forum: ESP-IDF
- Topic: Random resets after deep sleep
- Replies: 2
- Views: 498
- Mon Nov 18, 2024 7:19 pm
- Forum: ESP-IDF
- Topic: How to read ets_printf output from wake stub on a MacOS?
- Replies: 7
- Views: 980
Re: How to read ets_printf output from wake stub on a MacOS?
Awesome, thank you again!
- Mon Nov 18, 2024 10:00 am
- Forum: ESP-IDF
- Topic: How to read ets_printf output from wake stub on a MacOS?
- Replies: 7
- Views: 980
Re: How to read ets_printf output from wake stub on a MacOS?
Thank you so much!! I will try that!
(still interested for the other question! )
(still interested for the other question! )
- Mon Nov 18, 2024 8:56 am
- Forum: ESP-IDF
- Topic: How to read ets_printf output from wake stub on a MacOS?
- Replies: 7
- Views: 980
Re: How to read ets_printf output from wake stub on a MacOS?
Many thanks! Do you know if there is a watchdog active during the wake stub? If I add a delay as you kindly suggest, I would like to make sure it does not trigger a watchdog reset or any other inconvenience. If there is a watchdog, how long is the default delay, and what is this watchdog reference (...
- Mon Nov 18, 2024 8:44 am
- Forum: ESP-IDF
- Topic: Random resets after deep sleep
- Replies: 2
- Views: 498
Re: Random resets after deep sleep
I have tested the same code on an Arduino Nano ESP32, and cannot see any issues, so it looks like the issue is coming from the PowerFeather board. However, as it is specialized on very low current in deep sleep, I can't believe it does not work well in the deep sleep mode. Any clue what I could have...
- Sun Nov 17, 2024 3:51 pm
- Forum: ESP-IDF
- Topic: How to read ets_printf output from wake stub on a MacOS?
- Replies: 7
- Views: 980
How to read ets_printf output from wake stub on a MacOS?
Hi, I have seen several examples of wake-stub code calling ets_printf in order to output some text (thus, before the app_main function is called, and before the board has fully booted). I presume the authors of such code read the output text from the "idf.py monitor" command, running on a PC or on a...
- Sun Nov 17, 2024 10:35 am
- Forum: ESP-IDF
- Topic: Random resets after deep sleep
- Replies: 2
- Views: 498
Random resets after deep sleep
Hi, With an ESP32S3 board (PowerFeather) the following code sometimes poweron-resets instead of waking up properly: extern "C" void app_main() { ets_delay_us(1000*1000); ets_printf("wakeup_cause=%d reset_reason=%d\n", esp_sleep_get_wakeup_cause(), esp_reset_reason()); esp_sleep_enable_timer_wakeup(5...
- Sun Nov 17, 2024 9:38 am
- Forum: Hardware
- Topic: How to shorten boot-up time after wake-up from Deep-Sleep ?
- Replies: 4
- Views: 4798
Re: How to shorten boot-up time after wake-up from Deep-Sleep ?
Thank you for your answer! (sorry, I only see it now, as my post was under approval and I did not see the notification saying it was approved). I do need deep sleep to get minimum current consumption. I finally could find a way: - using a board with limited current in deep sleep: https://powerfeathe...
- Sat Oct 05, 2024 3:02 pm
- Forum: Hardware
- Topic: How to shorten boot-up time after wake-up from Deep-Sleep ?
- Replies: 4
- Views: 4798
Re: How to shorten boot-up time after wake-up from Deep-Sleep ?
I have the same requirements: the ESP32-S3 should run only 5ms every second. However the boot time is much much higher. I guess that the main reason is that the program code is transferred from Flash to SRAM, am I correct? (for a program having 300kbytes: ~3,000,000 bits x 1Mbit/second = 3 seconds! ...