Search found 29 matches

by RathiSonika
Tue Jun 30, 2026 10:59 am
Forum: ESP-IDF
Topic: Max number of partitions that can be mmaped
Replies: 3
Views: 109

Re: Max number of partitions that can be mmaped

Not really — on ESP32-S3 this usually does not give you extra mmap capacity. SPI_FLASH_MMAP_DATA and SPI_FLASH_MMAP_INST are not two independent pools of MMU entries. They use the same underlying MMU/linear address space; the difference is mainly:
* which virtual address range you get (0x3C… for ...
by RathiSonika
Mon Jun 29, 2026 10:29 am
Forum: ESP-IDF
Topic: Max number of partitions that can be mmaped
Replies: 3
Views: 109

Re: Max number of partitions that can be mmaped

Hello,

Yes — mapping five partitions totaling 8 MiB on ESP32-S3 is generally possible. There is no fixed limit on the number of partitions; the real constraint is how many free 64 KB MMU pages remain after boot.

The ESP32-S3 has 512 MMU entries and uses 64 KB pages, giving a theoretical maximum of ...
by RathiSonika
Tue May 12, 2026 12:32 pm
Forum: General Discussion
Topic: ESP32-S3 SPIFFS file corruption after ~10(8 MB) days of continuous logging
Replies: 2
Views: 135

Re: ESP32-S3 SPIFFS file corruption after ~10(8 MB) days of continuous logging

According to the ESP32-S3 SPIFFS documentation https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/storage/spiffs.html#spiffs-filesystem, SPIFFS can reliably use about 75% of the allocated partition size. Since you are only using ~8 MB of a 27 MB partition (~30%), this does ...
by RathiSonika
Thu Nov 20, 2025 9:14 am
Forum: ESP-IDF
Topic: Vfs max number of file system
Replies: 2
Views: 1318

Re: Vfs max number of file system

1. /dev/uart : Provides UART devices as file-like interfaces (/dev/uart/N). It is what standard I/O (stdin/stdout/stderr) uses when the console is routed over UART.
2. /dev/console : The console VFS handles the standard C I/O streams (printf, scanf, etc.) and routes them to the selected backend ...
by RathiSonika
Thu Sep 11, 2025 8:19 am
Forum: General Discussion
Topic: NVS write fail but no error
Replies: 2
Views: 889

Re: NVS write fail but no error

Hello,
1. Yes, flash write protection can sometimes be enabled without returning errors. You can use the API esp_flash_get_chip_write_protect() to check if the flash is write-protected, and esp_flash_set_chip_write_protect() to disable it. Documentation: https://docs.espressif.com/projects/esp-idf ...
by RathiSonika
Thu Aug 07, 2025 8:12 am
Forum: General Discussion
Topic: Custom bootloader on ESP32-C6: esp_partition / esp_system include issue
Replies: 1
Views: 114

Re: Custom bootloader on ESP32-C6: esp_partition / esp_system include issue

Hello, esp_partition component is not available in bootloader context for ESP-IDF v5.3.1. The support was added in IDF-version5.4. You can try upgrading to ESP-IDF version 5.4 (release/v5.4) or above to check if it works.
As documented in the official ESP-IDF bootloader guide (https://docs.espressif ...
by RathiSonika
Tue Jul 08, 2025 8:40 am
Forum: ESP-IDF
Topic: SDMMC example only works on one board
Replies: 3
Views: 215

Re: SDMMC example only works on one board

As you've already mentioned that the pull-ups are connected correctly, you can still reverify the pull-up strength by enabling the CONFIG_EXAMPLE_DEBUG_PIN_CONNECTIONS option.
From the logs, I can see that the error is a timeout, which typically points to a few possible causes:
1. Card not inserted ...
by RathiSonika
Mon Jul 07, 2025 8:35 am
Forum: ESP-IDF
Topic: SDMMC example only works on one board
Replies: 3
Views: 215

Re: SDMMC example only works on one board

For the ESP32-S3 WROOM-2 board, based on the initial logs, it appears that Octal Flash mode is enabled. According to the documentation https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-devkitc-1/user_guide_v1.1.html#description-of-components, GPIO35, 36, and 37 are used ...
by RathiSonika
Fri Jul 04, 2025 5:11 pm
Forum: ESP-IDF
Topic: sd card unmounting and remounting not working
Replies: 4
Views: 320

Re: sd card unmounting and remounting not working

Hi, My mistake — there's no need to explicitly deinitialize SDMMC, as it's already handled internally by the esp_vfs_fat_sdcard_unmount() function. I tested the example https://github.com/espressif/esp-idf/tree/master/examples/storage/sd_card/sdmmc by mounting and remounting the SD card in a loop ...
by RathiSonika
Thu Jul 03, 2025 8:53 am
Forum: ESP-IDF
Topic: sd card unmounting and remounting not working
Replies: 4
Views: 320

Re: sd card unmounting and remounting not working

Hello, from your question, what I understand is that your setup includes a mechanism to temporarily switch the SD card lines to another device, effectively disconnecting it from the ESP32. If that’s correct, then the behavior you're observing is expected. When the SD card is mounted using esp_vfs ...

Go to advanced search