Page 1 of 1

Enabling flash encryption with ESP-AT result in a missing partition error.

Posted: Mon Mar 25, 2024 8:26 am
by Rabeb12
Hi,

I would like to activate flash encryption on the ESP32 WROOM module. I have successfully enabled it using the Menuconfig in development mode. Additionally, I have configured the log bootloader to none and enabled the bootloader to optimize size. Here is the partition table:

# Name, Type, SubType, Offset, Size, Flags
phy_init, data, phy, 0x10000, 0x2000,encrypted
nvs, data, nvs, 0x12000, 56K
at_customize, 0x40, 0, 0x20000, 0xE0000, encrypted
factory, app, factory, 0x100000, 0x180000, encrypted

# Name, Type, SubType, Offset, Size, Flags
mfg_nvs, data, nvs, 0x21000, 112K
fatfs, data, fat, 0x70000, 576K

I deleted all OTA partitions.
I encountered an issue where the factory_param partition was missing. I conducted tests on some AT commands which were successful, however, I encountered errors when trying to use AT+sysflash, AT+BLEGATTSSRVCRE, and AT+BLEGATTSSRVSTART. I must resolve this issue promptly as I need to flash the ble_data partition via the AT command.