Search found 28 matches

by papadeltasierra
Thu Dec 07, 2023 10:32 am
Forum: ESP-IDF
Topic: Secure Boot - change public key?
Replies: 4
Views: 5139

Re: Secure Boot - change public key?

Thanks for that info - very hepful.
by papadeltasierra
Thu Dec 07, 2023 9:32 am
Forum: ESP-IDF
Topic: OTA to 2MB flash - possible?
Replies: 4
Views: 5502

OTA to 2MB flash - possible?

Is it possible to use OTA with an ESP32c3 that has only 2MB of flash? I have seen partition tables where OTA1 and OTA2 seem to be the same address so is this possible on the understanding that if it failed, we're "in trouble"? Is there any recovery mechanism possible that does NOT require cables and...
by papadeltasierra
Wed Dec 06, 2023 4:08 pm
Forum: ESP-IDF
Topic: Secure Boot - change public key?
Replies: 4
Views: 5139

Secure Boot - change public key?

I believe I understand the process for signing images and enabling secure boot but if the worse (inevitable!) happens and I need to change the public key on shipped devices, is there any way to do this? Many systems will permit TWO keys so that they keys can be rotated (you retire one, replace it wi...
by papadeltasierra
Tue Dec 05, 2023 8:25 am
Forum: ESP-IDF
Topic: Console baud rate missing from menuconfig?
Replies: 2
Views: 2115

Re: Console baud rate missing from menuconfig?

Thanks very much! Not a very obvious interface ;-).
by papadeltasierra
Mon Dec 04, 2023 8:16 pm
Forum: ESP-IDF
Topic: Console baud rate missing from menuconfig?
Replies: 2
Views: 2115

Console baud rate missing from menuconfig?

I have configured the console to use UART0 but am unable to find any of the baud rate settings when I run `idf.py menuconfig`. Is there something obvious that I am missing or perhaps need to set to make the baud rate settings appear?
by papadeltasierra
Fri Dec 01, 2023 3:11 pm
Forum: ESP-IDF
Topic: WiFi, FreeRTOS task and event loops
Replies: 2
Views: 2483

Re: WiFi, FreeRTOS task and event loops

I suspect the answer to my question is not use FreeRTOS task and queues directly but to use the ESP event loop library and create multiple event loops, which seems to create tasks and queues "under the covers". So you get the ESP event loops that much ESP code expects but the tasks and queues that s...
by papadeltasierra
Fri Dec 01, 2023 12:21 pm
Forum: ESP-IDF
Topic: WiFi, FreeRTOS task and event loops
Replies: 2
Views: 2483

WiFi, FreeRTOS task and event loops

If I want to use FreeRTOS tasks and queues but also the ESP-NETIF WiFi support, do I need to have an ESP event loop callback that just forwards the ESP (event loop) events to the FreeRTOS queue for the task I have created? I don't see any way to register a FreeRTOS queue as the recipient of WiFi eve...
by papadeltasierra
Thu Nov 30, 2023 10:59 am
Forum: ESP-IDF
Topic: Restart HTTP server after WiFi connect?
Replies: 0
Views: 3054

Restart HTTP server after WiFi connect?

I'm working on a project where I will be using WIFI_MODE_APSTA connectivity and creating an http web server. On the assumption that users connect using SoftAP mode, configure and then the WiFi connection to a router comes up, will the http web server immediately begin listening on the STA WiFI addre...
by papadeltasierra
Wed Nov 22, 2023 1:58 pm
Forum: ESP-IDF
Topic: ESP32c3 - single threaded?
Replies: 3
Views: 2644

Re: ESP32c3 - single threaded?

Thanks for that info. I was idly wondering "how might I pass a lot of data between tasks" and passing the pointer to a shared buffer would be one way, but would need some sort of protection in this case.
by papadeltasierra
Wed Nov 22, 2023 10:24 am
Forum: ESP-IDF
Topic: ESP32c3 - single threaded?
Replies: 3
Views: 2644

ESP32c3 - single threaded?

I believe the ESP32c3 only has a single core so two questions: 1. Does it still build using the ESP modified multi-core version of FreeRTOS or does it use the standard single-threaded version? 2. Do I need to worry about locking or can I be 100% sure that only one task at a time can be running and a...