cancel
Showing results for 
Search instead for 
Did you mean: 

What is the correct way to generate RMA LOCK PASSWORD for STM32MP2?

ThinhNguyen
Associate III

I read the AN5510 at section 5.1 RMA Pasword(s). I am working on STM32MP257F so the RMA pasword is 128-bit as describe in the table 5.

ThinhNguyen_0-1751877083821.png

The AN5510 also mentions that "The RMA password(s) are chosen by OEM". I understand that I need to generate a 128 bit binary file as RMA Password. So I use the following Command to generate RMA Password.

STM32_KeyGen_CLI -rand 16 stm32mp_rma_password.bin

Is this the correct way to generate RMA Password?

 

1 ACCEPTED SOLUTION

Accepted Solutions
ThomasB
ST Employee

Hello @ThinhNguyen,

Sorry for the late reply, that is indeed a correct way to generate RMA password.

You can also used other tools such as OpenSSL or Python but then you need to be cautious about the formatting when writing to the OTP. You could check the different format in https://wiki.st.com/stm32mpu/wiki/STM32MP23-25_OTP_mapping, particularly section “2.1 Key storage in OTP.”

 

Best regards,

Thomas

View solution in original post

1 REPLY 1
ThomasB
ST Employee

Hello @ThinhNguyen,

Sorry for the late reply, that is indeed a correct way to generate RMA password.

You can also used other tools such as OpenSSL or Python but then you need to be cautious about the formatting when writing to the OTP. You could check the different format in https://wiki.st.com/stm32mpu/wiki/STM32MP23-25_OTP_mapping, particularly section “2.1 Key storage in OTP.”

 

Best regards,

Thomas