Search found 366 matches

by zliudr
Wed May 06, 2026 3:31 pm
Forum: ESP-IDF
Topic: esp_partition_register_external() call
Replies: 2
Views: 69

esp_partition_register_external() call

I saw MicroPython firmware use this call to register a partition that is not in the partition table. Is that what this call is intended to do? I was told by someone that there is no API call in IDF to update the actual partition table in case the app wants to create a file partition with the portion ...
by zliudr
Wed May 06, 2026 3:29 pm
Forum: ESP-IDF
Topic: Significantly more time when accessing encrypted littlefs
Replies: 2
Views: 81

Re: Significantly more time when accessing encrypted littlefs

I'm a bit disappointed at the lack of response to my recent posts. I used to be able to get some responses on various topics.
Anyway, I tested encrypted fatfs. It is much faster, faster than unencrypted littlefs, albeit having no protection against corruption. Just in case someone else had a similar ...
by zliudr
Fri May 01, 2026 5:26 am
Forum: ESP-IDF
Topic: Significantly more time when accessing encrypted littlefs
Replies: 2
Views: 81

Significantly more time when accessing encrypted littlefs

I encrypted the littlefs partition that contains config and other files I read in during bootup. This has significantly increased the startup time from about 10 seconds to over a minute. Is this to be expected?

Maybe the way I created the file system was to be blamed? I am using MicroPython. It ...
by zliudr
Sun Mar 29, 2026 8:46 pm
Forum: ESP-IDF
Topic: Trying to understand secure boot v2 and flash encryption
Replies: 1
Views: 193

Re: Trying to understand secure boot v2 and flash encryption

I'm not sure why I got no response on this. I figured out my answers.

Based on what I learned from the workflow:

https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/security-features-enablement-workflows.html

The 2nd-stage bootloader should encrypt partitions marked as encrypted ...
by zliudr
Sun Mar 22, 2026 8:11 pm
Forum: ESP-IDF
Topic: Trying to understand secure boot v2 and flash encryption
Replies: 1
Views: 193

Trying to understand secure boot v2 and flash encryption

It's been a long time! I last seriously used IDF V4.0 for a large project. Now I'm working on securing the firmware of a current project developed under IDF V5.5.1, i.e. micropython app and my micropython scripts.

I have been reading ESP's docs on:
1. flash encryption
2. secure boot v2

I want to ...
by zliudr
Fri Dec 20, 2024 4:21 pm
Forum: ESP32 Arduino
Topic: Is there official documention of the esp32 webserver library?
Replies: 1
Views: 3091

Is there official documention of the esp32 webserver library?

This one:

https://github.com/espressif/arduino-es ... /WebServer

I looked for a while and it's not included in the official doc. Just wish to read a doc alongside the example code for completeness. Thanks.
by zliudr
Wed Sep 25, 2024 9:38 pm
Forum: ESP-IDF
Topic: ESP32 wifi connect() priority when multiple APs with identical SSID are present (WiFi extenders)
Replies: 1
Views: 2157

ESP32 wifi connect() priority when multiple APs with identical SSID are present (WiFi extenders)

I have this really weird issue that if I have multiple APs sharing the same SSID and password to expand my WiFi coverage, then connect() will always prefer a certain AP even if the reception is horrible. I wonder if there is any default settings when multiple devices broadcast the same SSID, which ...
by zliudr
Thu Aug 01, 2024 8:20 pm
Forum: Hardware
Topic: General question regarding GPIO2 and program uploading
Replies: 1
Views: 1384

General question regarding GPIO2 and program uploading

According to ESP32-wrover-e doc, GPIO2 is a strapping pin with a default pull-down resistor. And if its value is LOW together with a LOW GPIO0, then program download commences. Is this correct? From my design experience with ESP32, I only have to connect GPIO0 and RESET to CP2102 in an XOR-style ...
by zliudr
Sat Nov 25, 2023 5:04 pm
Forum: General Discussion
Topic: Flashing and erasing both successful but ESP32 won't load code
Replies: 0
Views: 5510

Flashing and erasing both successful but ESP32 won't load code

I am pretty experienced with ESP-IDF at least between 2019 and 2022 and then moved on to micropython development on ESP32. I know what I'm doing but not with this symptom:

It's a board I designed and personally populated and tested previously to success. After sending it to a user and getting it ...

Go to advanced search