Skip to main content
Graduate
July 11, 2025
Question

STM32N6 OTP

  • July 11, 2025
  • 1 reply
  • 439 views

Hello,

Using the STM32CUBEPROGRAMMER v2.2.0 + the NUCLEO-N657X0-Q :

I tried to set the OTP_124 -> HSLV_VDDIO3 bit to 1 but it did not suceed. First, I read the whole otp, put 1 in that field then press Write and it did not work, the OTP_124 stays at default 0x00000 . The nucleo-n6 is is dev mode (BOOT0 = 0, BOOT1 = 1). 

  1. I would like to understand why it was not writing the new value of 1 and stayed at default value 0x0000 ?
  2. I checked the Lock checkbox and pressed Write again and now the OTP124 is greyed-out. Is there a way to revert this  (now it says permanent write lock).

Thank you.

 

FB__1_0-1752207662036.png

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    July 11, 2025

    Hi @FB__1 

    You have to write the whole word, not bit by bit. Check also the correct version of STM32CubeProgrammer you are using, is 2.19.0 or the last 2.20.0 (not 2.2.0 !)

    Refer to this article:
    https://community.st.com/t5/stm32-mcus/how-to-program-the-otp-fuse-bits-in-the-stm32n6/ta-p/782353

    Best regards,

    Romain,

    FB__1Author
    Graduate
    July 11, 2025

    Sorry i meant that i was using the STM32CubeProgrammer v2.20.0