Can't read OTP bits on STM32MP157C-DK2 using STM32CubeProgrammer
Hi I'm trying to read the OTP bits on the discovery board STM32MP157C-DK2 using the STM32CubeProgrammer v2.4.0. The GUI version can't read the OTP bits, but I tried with the Command Line Interface and it gave me the following error:
C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>stm32_programmer_cli.exe --connect port=usb1 -otp displ
-------------------------------------------------------------------
STM32CubeProgrammer v2.4.0
-------------------------------------------------------------------
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 002A00413338510939303435
FW version : 0x0110
Device ID : 0x0500
Device name : STM32MPxxx
Device type : MPU
Device CPU : Cortex-A7
UPLOADING OTP STRUCTURE ...
Partition : 242
Size : 1024 Bytes
Uploading OTP data:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Error:
Error: unable to get the associate alternate setting of partition ID: 0xf2
Error: please make sure that your alternate settings have string descriptors with the right format
Error: the specified partition: 0xf2 is unreachable
Error: Read OTP Partition failed
Error: Uploading the OTP structure failed
Error: Initializing the OTP structure failed
0%What am I doing wrong?
My final goal is to change these OTP bits because on my custom board we have an eMMC connected to SDMMC1 and the WiFi connected to SDMMC2 (The default is the SD card on SDMMC1).
Thanks in advance!
