EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #742 background imageLoading...
Page #742 background image
Chapter 2. API Reference
(continued from previous page)
+---------------------+---------------------------------------------------
,-----------------+
| --outdir OUTDIR | Output directory to store files created
, |
| | (Default: current directory)
, |
+---------------------+---------------------------------------------------
,-----------------+
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): You can run the utility in this format by setting the version
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 0x3000 -
,-version 1
Multipage Blob Support Enabled (Version 2): You can run the utility in this format by setting the version pa-
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 0x4000 --
,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 applications 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 (driver/include/driver/sdmmc_host.h and driver/include/driver/sdspi_host.h) pro-
vide API functions for:
Espressif Systems 731
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish