Search found 27 matches

by thoraz
Fri Apr 28, 2023 11:39 am
Forum: ESP-ADF
Topic: Need Help with HTTPS Get
Replies: 13
Views: 41583

Re: Need Help with HTTPS Get



-----BEGIN CERTIFICATE-----
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw
WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg ...
by thoraz
Thu Nov 03, 2022 10:29 am
Forum: General Discussion
Topic: esp32-camera: Corrupted image when I send it to a FTP server in a separate task
Replies: 4
Views: 4130

Re: esp32-camera: Corrupted image when I send it to a FTP server in a separate task

Hi thoraz,
Interesting findings. Can you also share your PCB layout?

Sure. This is the top

Image

and this is the bottom

Image
by thoraz
Tue Oct 25, 2022 12:23 pm
Forum: General Discussion
Topic: esp32-camera: Corrupted image when I send it to a FTP server in a separate task
Replies: 4
Views: 4130

Re: esp32-camera: Corrupted image when I send it to a FTP server in a separate task

I found that the issue is due to the PSRAM communication. It seems that the the SDx signals sometimes are very noisy, so I suppose it's not a firmware problem but an hardware one instead. I configured the OV2640 to allocate the buffer in DRAM rather than in PSRAM and now the pictures are good, even ...
by thoraz
Wed Oct 19, 2022 10:57 am
Forum: General Discussion
Topic: esp32-camera: Corrupted image when I send it to a FTP server in a separate task
Replies: 4
Views: 4130

Re: esp32-camera: Corrupted image when I send it to a FTP server in a separate task

I've just tryed to implement the application without the freeRTOS, but the issue persists! So it seems confined in the use of WiFi or FTP libraries. :?

EDIT:
It seems that the corruption is after the WiFi connection. To get the picture via serial I use this routine that allows me to have a hex ...
by thoraz
Wed Oct 19, 2022 9:34 am
Forum: General Discussion
Topic: esp32-camera: Corrupted image when I send it to a FTP server in a separate task
Replies: 4
Views: 4130

esp32-camera: Corrupted image when I send it to a FTP server in a separate task

I want to send an image captured whit OV2640 to a FTP server when my system power-up. In my application I have some indipendent FreeRTOS task, so I created a task that manage the take & send of the picture. But when I receive the picture on the FTP server, it is corrupted: I can open it but seems ...
by thoraz
Wed Oct 19, 2022 8:49 am
Forum: General Discussion
Topic: esp_http_client_init returns a LoadProhibited exception
Replies: 5
Views: 3935

Re: esp_http_client_init returns a LoadProhibited exception


Seems platformio decodes it automatically if you use its own terminal rather than an external one (though you may need to configure it to decode the backtraces first)


Thanks for the suggestion, very usefull. Now I've changed my code to work around the issue. Next time I'll try with the decoder ...
by thoraz
Tue Oct 18, 2022 3:18 pm
Forum: General Discussion
Topic: esp_http_client_init returns a LoadProhibited exception
Replies: 5
Views: 3935

Re: esp_http_client_init returns a LoadProhibited exception

Can you decode that backtrace?
How can I decode the backtrace? Is there a tool or somewhat? I'm using VS Code with PlatformIO and a general serial terminal to read the output.
by thoraz
Thu Oct 13, 2022 10:09 am
Forum: General Discussion
Topic: esp_http_client_init returns a LoadProhibited exception
Replies: 5
Views: 3935

esp_http_client_init returns a LoadProhibited exception

I'm adding to a project (Arduino framework in PlatformIO) the HTTPS OTA feature. I started from https://github.com/lucadentella/esp32-tutorial/blob/master/30_https_ota/main/main.c to understand how to move my first steps. But now I have a problem with the call of esp_http_client_init in my update ...
by thoraz
Fri Sep 30, 2022 8:21 am
Forum: General Discussion
Topic: ESP32 - Keep the deep sleep timing when other wakeup source occurs
Replies: 0
Views: 1795

ESP32 - Keep the deep sleep timing when other wakeup source occurs

I'm working on a system that should wakeup every 2 minutes to perform a specific task and come back to sleep. During the sleep I need to count the edges (rise and fall) of a signal so I implemented the EXT1 wakeup too. But when the system wakes up by EXT1, if I use only the esp_sleep_enable_ext1 ...
by thoraz
Mon Jul 18, 2022 11:59 am
Forum: ESP-IDF
Topic: How to keep periodic wakeup when EXT1 awakening occurs?
Replies: 0
Views: 1195

How to keep periodic wakeup when EXT1 awakening occurs?

My questions are just to be sure about the behaviour of ESP32 in deep sleep mode with EXT1 and TIMER active:

1) If I set the TIMER and the EXT1 wakeups on my ESP32 and the EXT1 occurs, to keep the periodic awakening behaviour I need just to go in deep sleep without call again the esp_sleep_enable ...

Go to advanced search