Search found 568 matches
- Sun Aug 27, 2023 4:28 am
- Forum: ESP32 Arduino
- Topic: ESP32 crashes when using rom\miniz decompression function
- Replies: 2
- Views: 1404
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: 3200
Re: Using printf with \r does not print anything
He's right, put a "fflush(stdout);" in there.
- Wed Aug 16, 2023 3:50 am
- Forum: General Discussion
- Topic: Multiple versions of ESP-IDF are possible?
- Replies: 3
- Views: 1366
Re: Multiple versions of ESP-IDF are possible?
I've got in the habit of adding ESP-IDF as a git submodule to every project. There are a lot of advantages, and it only takes a few seconds to set up a new project once you're used to it. I have a template project with git intialised and IDF added, but no commits yet, copy the directory and rename i...
- Mon Aug 14, 2023 1:37 pm
- Forum: ESP-IDF
- Topic: HTTP Server - Progress bar on front end
- Replies: 3
- Views: 1773
Re: HTTP Server - Progress bar on front end
Unfortunately the ESP32 httpd is not designed for multiple concurrent requests. I was surprised by how much difficulty I had trying to find an embedded C HTTP server that is! I ultimately gave up and now simply start *two* HTTP servers on the ESP32 for this purpose. When a firmware upload is sent to...
- Wed Jul 26, 2023 3:52 am
- Forum: Hardware
- Topic: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33
- Replies: 2
- Views: 596
Re: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33
Possibly ESP32 errata 3.11:
"Certain RTC peripherals" includes ADC1.
When certain RTC peripherals are powered on, the inputs of GPIO36 and GPIO39 will be pulled down for approximately 80 ns.
"Certain RTC peripherals" includes ADC1.
- Mon Jun 26, 2023 1:11 am
- Forum: General Discussion
- Topic: RTC Boot (Slow Memory)
- Replies: 2
- Views: 2405
RTC Boot (Slow Memory)
The ESP32 TRM describes two RTC boot methods in 31.3.13. The second method, using RTC fast memory, is implemented in ESP-IDF (eg. esp_set_deep_sleep_wake_stub), however I can't find any references for the little-known first method. This uses RTC slow memory, and the TRM suggests that it might be a b...
- Tue Jun 20, 2023 10:37 pm
- Forum: General Discussion
- Topic: How to connect to wifi network while in APSTA mode?
- Replies: 4
- Views: 2615
Re: How to connect to wifi network while in APSTA mode?
Yes, you can freely change WiFi mode without needing to completely stop and restart the driver. eg. esp_wifi_start(); esp_wifi_set_mode(AP); esp_wifi_set_config(AP, &ap_config); /* ... Receive WiFi credentials from user ... */ esp_wifi_set_mode(APSTA); esp_wifi_set_config(STA, &user_sta_config); esp...
- Tue Jun 20, 2023 10:28 pm
- Forum: ESP-IDF
- Topic: Why are WebSockets so painfully slow?
- Replies: 11
- Views: 4262
Re: Why are WebSockets so painfully slow?
It sounds like the task watchdog. I suspect that, even with SPI_FLASH_YIELD_DURING_ERASE, these other very busy tasks still don't have enough time to get through their work. The obvious and easy thing to do is increase SPI_FLASH_ERASE_YIELD_TICKS so that the OTA task will give other tasks more time ...
- Tue Jun 20, 2023 10:10 pm
- Forum: Hardware
- Topic: ESP32 - Unable to get GPIO15 strapping pin to turn off ROM messages
- Replies: 3
- Views: 1084
Re: ESP32 - Unable to get GPIO15 strapping pin to turn off ROM messages
In menuconfig, change "Channel for console output" (ESP_CONSOLE_UART) to custom or none.
- Tue Jun 20, 2023 5:38 am
- Forum: General Discussion
- Topic: stopping wifi before going into deep sleep?
- Replies: 1
- Views: 1008
Re: stopping wifi before going into deep sleep?
Yes, you should at least esp_wifi_stop. If your IDF version is fairly recent then it will automatically esp_wifi_stop before deep sleep anyway (see esp_register_shutdown_handler). I would also recommend waiting a moment for the subsequent WIFI_EVENT_[STA/AP]_STOP event to ensure it has actually stop...