Sd/Sdio/Mmc Driver - Espressif ESP32-S2 Programming Manual

Table of Contents

Advertisement

Chapter 2. API Reference
+---------------------+---------------------------------------------------
-----------------+
|
--outdir OUTDIR
|
+---------------------+---------------------------------------------------
-----------------+
You can run the utility to decrypt encrypted NVS partition using the command below:
python nvs_partition_gen.py decrypt sample_encr.bin sample_keys.bin sample_decr.bin
You can also provide the format version number:
• Multipage Blob Support Disabled (Version 1)
• Multipage Blob Support Enabled (Version 2)
Multipage Blob Support Disabled (Version 1):
parameter to 1, as shown below. A sample CSV file is provided with the utility:
python nvs_partition_gen.py generate sample_singlepage_blob.csv sample.bin
-version
1
Multipage Blob Support Enabled (Version 2):
rameter to 2, as shown below. A sample CSV file is provided with the utility:
python nvs_partition_gen.py generate sample_multipage_blob.csv sample.bin
version
2
Note: Minimum NVS Partition Size needed is 0x3000 bytes.
Note: When flashing the binary onto the device, make sure it is consistent with the application's sdkconfig.
Caveats
• Utility does not check for duplicate keys and will write data pertaining to both keys. You need to make sure
that the keys are distinct.
• Once a new page is created, no data will be written in the space left on the previous page. Fields in the CSV
file need to be ordered in such a way as to optimize memory.
• Utility supports using multiline strings with file type and singleline strings with data type in the CSV file.
• 64-bit datatype is not yet supported.

2.5.5 SD/SDIO/MMC Driver

Overview
The SD/SDIO/MMC driver currently supports SD memory, SDIO cards, and eMMC chips. This is a protocol level
driver built on top of SDMMC and SD SPI host drivers.
SDMMC and SD SPI host drivers
vide API functions for:
Espressif Systems
|
Output directory to store files created
|
|
(Default: current directory)
|
You can run the utility in this format by setting the version
You can run the utility in this format by setting the version pa-
(driver/include/driver/sdmmc_host.h
731
Submit Document Feedback
(continued from previous page)
and driver/include/driver/sdspi_host.h) pro-
0x3000
-
0x4000
--
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF