cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 OTP re-program

Dat Tran
Senior II

As we tested, from word 24 to 32, once write 0xFFFFFFFF ( all 32 bit turn to 1), is there any way to set back to 0x00000000?

And same for bit 59 to 95 (free for user)?

1 ACCEPTED SOLUTION

Accepted Solutions
Kevin HUBER
ST Employee

Hello @Community member​ ,

Unfortunately, OTP means One-Time-Programmed, you can see the complete definition page 123 of reference manual v6 (RM0436).

As indicated by the name of the memory and the warning in this page: https://wiki.st.com/stm32mpu/wiki/How_to_update_OTP_with_U-Boot#The_fuse_command

OTP are like fuses. Once they are set to 1, it is an irreversible operation.

You must only write the OTP when you are sure of what you are doing.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Kevin HUBER
ST Employee

Hello @Community member​ ,

Unfortunately, OTP means One-Time-Programmed, you can see the complete definition page 123 of reference manual v6 (RM0436).

As indicated by the name of the memory and the warning in this page: https://wiki.st.com/stm32mpu/wiki/How_to_update_OTP_with_U-Boot#The_fuse_command

OTP are like fuses. Once they are set to 1, it is an irreversible operation.

You must only write the OTP when you are sure of what you are doing.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Dat Tran
Senior II

Thanks, but because I see overwrite, update value command.... so I thought values are temporary or can be update before lock write or close device.

Got clear now, thanks a lot.