Search found 566 matches
- Sun Nov 26, 2023 3:34 pm
- Forum: General Discussion
- Topic: Source code for esp_set_deep_sleep_wake_stub() ESP32-S3 version?
- Replies: 2
- Views: 1777
- Sat Nov 18, 2023 10:11 am
- Forum: Hardware
- Topic: RTC? RTC Slow Memory? RTC Fast Memory
- Replies: 1
- Views: 1390
Re: RTC? RTC Slow Memory? RTC Fast Memory
The TRM does include a Glossary that defines RTC: Real Time Controller. A group of circuits in SoC that keeps working in any chip mode and at any time. And clarifies how RTC Slow and Fast memory got their names in 1.3.5.3: The ROM as well as the SRAM are both clocked from CPU_CLK and can be accessed...
- Wed Nov 15, 2023 1:15 pm
- Forum: General Discussion
- Topic: Managing RTC clock drift in deep sleep?
- Replies: 6
- Views: 5221
Re: Managing RTC clock drift in deep sleep?
I looked into this recently, too, on ESP32. First I tried to use the slow clock frequency adjustment register (RTC_CNTL_SCK_DCAP) to periodically tune the frequency in deep sleep wakeup stubs. After too long, I noticed that increasing the frequency is detrimental to sleep power consumption, so that ...
- Tue Oct 03, 2023 4:03 am
- Forum: General Discussion
- Topic: How to debug application in OTA1 partition
- Replies: 2
- Views: 965
Re: How to debug application in OTA1 partition
You can give this a try: https://github.com/boarchuz/bo_cflash I've only used it with ESP32, in VS Code, and likely with a different IDF version to yours, so expect some obstacles. Anyway, if it works, it allows you to select the app partition you want to flash to and optionally update ota_data at t...
- Tue Oct 03, 2023 12:00 am
- Forum: Hardware
- Topic: ESP32-C6 IO21 Glitch on Boot
- Replies: 1
- Views: 1229
Re: ESP32-C6 IO21 Glitch on Boot
Check Appendix A of the datasheet, where GPIO21 is one of the pins that has pullup enabled at (but not after) reset.
- Tue Sep 26, 2023 11:09 pm
- Forum: General Discussion
- Topic: HTTPS OTA fail
- Replies: 5
- Views: 1749
- Fri Sep 15, 2023 9:30 am
- Forum: ESP-IDF
- Topic: VS code ESP IDF components issue
- Replies: 5
- Views: 2565
Re: VS code ESP IDF components issue
The red squiggles are courtesy of Intellisense, not the build process. Ideally the errors from both would be the same, but as you can see if there's any issue with the Intellisense configuration then you can get these annoying red herrings. The build output contains your actual error. In this case, ...
- Mon Sep 04, 2023 12:01 pm
- Forum: ESP32 Arduino
- Topic: Are 'preferences' supposed to maintain values even over uploads of new code?
- Replies: 6
- Views: 3939
Re: Are 'preferences' supposed to maintain values even over uploads of new code?
Minimum NVS partition size is 0x3000b, so the inconsistent results you're seeing would fall under "undefined behaviour".
Is mynvs == false with the custom 0x2000 partition? If not, an issue on the esp32-arduino repo is probably the best way to have this addressed.
Is mynvs == false with the custom 0x2000 partition? If not, an issue on the esp32-arduino repo is probably the best way to have this addressed.
- Sun Aug 27, 2023 4:28 am
- Forum: ESP32 Arduino
- Topic: ESP32 crashes when using rom\miniz decompression function
- Replies: 2
- Views: 1373
Re: ESP32 crashes when using rom\miniz decompression function
Debug exception reason: Stack canary watchpoint triggered (loopTask) You'll need to increase loopTask's stack size. This is the task that Arduino creates to run your code, ie. setup() and loop(). I don't know if there's an easy way to do that, so it might be easiest (at least for the purposes of te...
- Sun Aug 20, 2023 9:55 pm
- Forum: General Discussion
- Topic: Using printf with \r does not print anything
- Replies: 10
- Views: 3099
Re: Using printf with \r does not print anything
He's right, put a "fflush(stdout);" in there.