- Last edited 2 years ago ago
STM32CubeProgrammer STPMIC1 NVM management
STM32CubeProgrammer can be used to read and update the non volatile memory (NVM) of the PMIC on the board which is seen as a specific partition on the device.
This page describes the format of the partition used by embedded programming service to allow PMIC NVM access by STM32CubeProgrammer (see AN5275: USB DFU/USART protocols used in STM32MP1 Series bootloaders for protocol details).
Refer to STM32CubeProgrammer article to know how to use the STM32CubeProgrammer that is the official STMicroelectronics tool for update PMIC NVM on STM32 platforms.
1 PMIC NVM Partition
This optional partition is programmed without header and is only supported in U-Boot.
For read operation, the host requests the PMIC NVM partition data and the platform replies with all the partition content.
For write operation the host needs to send the full partition, containing one or more modifications (any reserved bit must be preserved).
2 STPMIC1 NVM Partition
|STPMIC1 Reg||STPMIC1 Address||NVM offset|