Skip to main content
Visitor II
August 1, 2022
Solved

STM32MP1 OTP re-program

  • August 1, 2022
  • 2 replies
  • 1123 views

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)?

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    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

    2 replies

    Technical Moderator
    August 2, 2022

    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

    Dat TranAuthor
    Visitor II
    August 2, 2022

    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.