Search found 7 matches

by Mahonroy
Thu Jan 13, 2022 5:08 pm
Forum: ESP-IDF
Topic: ESP_Timer or "gpio_isr_handler_add" sometimes gets delayed and interrupt misses rising edge.
Replies: 3
Views: 3683

Re: ESP_Timer or "gpio_isr_handler_add" sometimes gets delayed and interrupt misses rising edge.

Not entirely sure what the specific issue with esp_timer is here, but I think you may be better off rewriting this to use a hardware timer that unblocks your own task... the reason is that all esp_timer callbacks are called from one single task, which means that if e.g. the WiFi driver schedules a ...
by Mahonroy
Wed Jan 12, 2022 10:21 pm
Forum: ESP-IDF
Topic: ESP_Timer or "gpio_isr_handler_add" sometimes gets delayed and interrupt misses rising edge.
Replies: 3
Views: 3683

ESP_Timer or "gpio_isr_handler_add" sometimes gets delayed and interrupt misses rising edge.

I am doing some serial communication (1200 baud) on a single GPIO (transmitting and receiving on the same line), and I am running into an issue with the GPIO ISR Handler and the ESP_Timer. I am using the esp_timer for the actual reading of data, and I am using the interrupt for detecting when data h...
by Mahonroy
Tue Dec 28, 2021 7:11 pm
Forum: ESP-IDF
Topic: Abort/Panic Reboot Problem With Interrupt - Having Trouble Deciphering Log And Troubleshooting
Replies: 1
Views: 4429

Abort/Panic Reboot Problem With Interrupt - Having Trouble Deciphering Log And Troubleshooting

Hello, I am using an ESP32-WROOM-32UE (16MB). Basically what I am doing is a serial transmit/receive function on a single GPIO to communicate with a sensor. I have 2 hardware timers running (1 for transmit function, 1 for receive function). I also set up some interrupts that are used for the receivi...
by Mahonroy
Tue Dec 21, 2021 9:07 pm
Forum: ESP-IDF
Topic: Hardware Timer - Auto Reload Function -Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 1
Views: 4525

Hardware Timer - Auto Reload Function -Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

Hello, I am using an " ESP32-WROOM-32UE (16MB) ". I set up a hardware timer, and if I have the auto reload function enabled (e.g. "TIMER_AUTORELOAD_EN") everything works fine. If I disable the auto reload function (e.g. "TIMER_AUTORELOAD_DIS"), as soon as the timer is up, I get the error "-Guru Medi...
by Mahonroy
Mon Sep 27, 2021 10:41 pm
Forum: General Discussion
Topic: OTA Example Not Working On ESP32 - ESP-IDF
Replies: 6
Views: 8243

Re: OTA Example Not Working On ESP32 - ESP-IDF

Thank you for the response. I tried your troubleshooting suggestion, and still could not make any progress. So I ended up ditching the OpenSSL local server, and hosted the binary file on the cloud instead (Azure Blob Storage). I can access this file from any computer/phone and it downloads just fine...
by Mahonroy
Thu Sep 23, 2021 4:47 pm
Forum: General Discussion
Topic: OTA Example Not Working On ESP32 - ESP-IDF
Replies: 6
Views: 8243

OTA Example Not Working On ESP32 - ESP-IDF

Hello, I was running through this example (simple_ota_example) and I am having some issues: https://github.com/espressif/esp-idf/tree/master/examples/system/ota I followed the steps exactly as it states. I can see my local IP address is 192.168.1.8, so I used that for the "Common Name" when creating...
by Mahonroy
Tue Sep 21, 2021 10:58 pm
Forum: ESP-IDF
Topic: ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based
Replies: 1
Views: 2331

ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based

Hey guys, I have been struggling to find a good example/tutorial on how to set up a cloud based OTA firmware update scheme. Everything I come across is where you push an OTA firmware update through the local network via local server. I want to be able to put the binaries in the cloud, have the ESP32...