cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 OTP

FB__1
Associate II

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

 

1 REPLY 1
RomainR.
ST Employee

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,

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.