Search found 37 matches

by Jimis1
Thu Jul 03, 2025 6:18 am
Forum: ESP-IDF
Topic: https client: Failed to verify peer certificate
Replies: 8
Views: 12992

Re: https client: Failed to verify peer certificate

I finally found the problem!
During the tests to make my cert file work I probably checked "Variable SSL buffer length" don't see how else this could have been checked. That was the problem.

After that everything worked perfectly. I even managed to get the built-in bundle working which is supposed ...
by Jimis1
Sun Jun 29, 2025 1:29 pm
Forum: ESP-IDF
Topic: https client: Failed to verify peer certificate
Replies: 8
Views: 12992

Re: https client: Failed to verify peer certificate

I have the same issue. My OTA upgrade was working until some time ago. It throws a certification verification error.

I download my binary from https://raw.githubusercontent.com
Github changed the root certificates and they don't work anymore.

I tried downloading the new ones using git bash command ...
by Jimis1
Mon Apr 15, 2024 4:15 pm
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 2610

Re: Flash write/read issue

ok found the problem.

I was trying to use the nvs functions too fast before they had time to initialize (facepalm), so I set the same delay right after them

Thanks a lot!


Screenshot_4.jpg
Screenshot_4.jpg (73.47 KiB) Viewed 2291 times
by Jimis1
Mon Apr 15, 2024 4:08 pm
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 2610

Re: Flash write/read issue

Thanks ESP_adokitkat.

It worked with a delay 900ms not less ! The volatile didn't do anything.

There's clearly something very wrong here. I don't suppose I need to wait 900ms before I call my function!


Screenshot_3.jpg
Screenshot_3.jpg (73.44 KiB) Viewed 2302 times
by Jimis1
Sun Apr 14, 2024 8:08 am
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 2610

Re: Flash write/read issue

No, the code executes once before the main loop.
I realized I have this problem only in the first flash of the ESP. If I reset it works ok.
The following is between resets. This is repeating which is ok

Screenshot_1.jpg
Screenshot_2.jpg

Ofc this is not solving my problem cause it's the first ...
by Jimis1
Sat Apr 13, 2024 8:55 am
Forum: General Discussion
Topic: Flash write/read issue
Replies: 6
Views: 2610

Flash write/read issue

Hi,

I have been banging my head over the following.

I have setup some functions to read and write to Flash which seem to work fine. But when I try to check the values of a global variable in flash compared to another global variable in RAM I have a problem. Before I even set the flash variable it ...
by Jimis1
Wed Mar 13, 2024 12:53 pm
Forum: General Discussion
Topic: 1-Wire example problem
Replies: 2
Views: 3185

Re: 1-Wire example problem

Yeap, stupid mistake I had mistakenly soldered a 100nF in Data line instead of 33pF
by Jimis1
Sun Mar 10, 2024 12:14 pm
Forum: General Discussion
Topic: How to detect ESP restart from upgrade
Replies: 7
Views: 9346

Re: How to detect ESP restart from upgrade

Thanks all ! I will have to implement one of the above :)
by Jimis1
Sun Mar 10, 2024 12:13 pm
Forum: General Discussion
Topic: ESP32 - nvs pointer issue
Replies: 4
Views: 6523

Re: ESP32 - nvs pointer issue

Thanks ESP_adokitkat :)
by Jimis1
Sun Mar 10, 2024 12:06 pm
Forum: General Discussion
Topic: 1-Wire example problem
Replies: 2
Views: 3185

1-Wire example problem

Hi,
I'm trying to setup a DS18B20 thermometer and use the 1Wire library from here
https://github.com/espressif/esp-idf/tree/c460e1c/examples/peripherals/rmt/onewire

My hardware setup is with a pull-up 4k7 like it suggests and I assume it's ok. I can't read the thermometer, I get the errors
E (77649 ...

Go to advanced search