Search found 643 matches

by mzimmers
Mon Nov 28, 2022 5:02 pm
Forum: ESP-IDF
Topic: crude idea for log storage/retrieval
Replies: 5
Views: 4949

Re: crude idea for log storage/retrieval

I did implement a logging facility, but it was more elaborate than I first thought it would be (source file was almost 1200 lines).
by mzimmers
Wed Nov 02, 2022 1:57 pm
Forum: ESP-IDF
Topic: triggering WDT in OTA
Replies: 12
Views: 13478

Re: triggering WDT in OTA

No side effects that I'm aware of. Still works just fine.
by mzimmers
Wed Oct 26, 2022 5:28 pm
Forum: ESP-IDF
Topic: (solved) esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE
Replies: 5
Views: 8898

Re: (solved) esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE

Well, you could use the return from the call.
by mzimmers
Wed Oct 12, 2022 12:16 am
Forum: ESP-IDF
Topic: triggering WDT in OTA
Replies: 12
Views: 13478

Re: triggering WDT in OTA

I realize this thread is ancient, but today I got bitten by the long execution time of esp_ota_begin(). In looking at the source code, I discovered the OTA_WITH_SEQUENTIAL_WRITES macro which can be used as the 2nd argument. It changed the execution time of esp_ota_begin() from about 3 seconds to abo...
by mzimmers
Sat Sep 17, 2022 12:59 am
Forum: ESP-IDF
Topic: after esp_restart, getting a "waiting for download" message
Replies: 5
Views: 3562

Re: after esp_restart, getting a "waiting for download" message

Hi Chegewara -

I'm not really sure what you mean - can you please give me a little more detail as to what I'm supposed to do?

Thanks...
by mzimmers
Fri Sep 16, 2022 7:30 pm
Forum: ESP-IDF
Topic: after esp_restart, getting a "waiting for download" message
Replies: 5
Views: 3562

Re: after esp_restart, getting a "waiting for download" message

Hi Chegewara - so, does this mean I need to pull GPIO12 low prior to calling esp_restart()?

Thanks...
by mzimmers
Fri Sep 16, 2022 5:06 pm
Forum: ESP-IDF
Topic: after esp_restart, getting a "waiting for download" message
Replies: 5
Views: 3562

after esp_restart, getting a "waiting for download" message

Hi all - My app issues an esp_restart() command, and I get these messages: I (348163) wifi:state: run -> init (0) I (348173) wifi:pm stop, total sleep time: 203864605 us / 343318182 us W (348173) wifi:<ba-del>idx W (348173) wifi:<ba-del>idx I (348183) wi��ets Jun 8 2016 00:22:57 waiting for download...
by mzimmers
Thu Aug 18, 2022 3:48 pm
Forum: ESP-IDF
Topic: linker problem using mbedtls component
Replies: 3
Views: 4458

Re: linker problem using mbedtls component

Hi ESP_Mahavir -

This does eliminate the compile time errors. It appears, however, that I'm using a routine found in the openthread component, instead of the mbedtls component:
md5.PNG
md5.PNG (50.09 KiB) Viewed 4344 times
Am I correctly interpreting this window?

Thanks...
by mzimmers
Mon Aug 15, 2022 11:37 pm
Forum: ESP-IDF
Topic: linker problem using mbedtls component
Replies: 3
Views: 4458

linker problem using mbedtls component

Hi all - I'm porting a program to the ESP32. I just enabled the portion of code that uses md5 (it supplies its own files for this) and now I can't link. When I try to use the files in my project folder, this code passage: mbedtls_md5_init(&Zctx); mbedtls_md5_starts(&Zctx); results in this error: C:/...
by mzimmers
Mon Aug 01, 2022 3:45 pm
Forum: IDEs for ESP-IDF
Topic: VS Code "go to definition" includes IDF
Replies: 3
Views: 4452

Re: VS Code "go to definition" includes IDF

There's something about the build process I still don't understand. If I do a clean, I get build errors when I try to build from within the IDE. Running idf.py build fixes that, but it also wipes out my compile_commands.json file, and replaces it with about 4800 lines including a ton of files from t...