2025-07-09 7:41 PM
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.
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?
Solved! Go to Solution.
2025-08-08 7:47 AM
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
2025-08-08 7:47 AM
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