OTP programming window for STM32N6

For generic usage of this window, refer to Section 4.3. STM32N6 devices support 367 OTP words, and STM32CubeProgrammer allows users to program these OTP with the same commands as MPU or the user interface.

  • Via Debug interfaces: use the external loader OTP_FUSES_STM32N6xx from

    the ExternalLoader panel, selected by default when you connect via ST-Link.

  • Via BootROM: STM32CubeProgrammer needs the TSV file that includes the

    OpenBootloader for OTP programming. For more information refer to STMicroelectronics/stm32-mw-openbl.

Example of OTP programming

The tool loads the OpenBootloader as requested in the TSV file using the embedded BOOTROM. Once the OpenBootloader is running, you can manipulate the entire OTP using the same commands as the MPU.

Command for launching the OpenBootloader: -c port=USB1 -d file.tsv

Example of TSV file to launch the OpenBootloader:

#Opt Id  Name        Type  IP    Offset  Binary
P    0x1 FSBL Binary none  0x0    OpenBootloader_STM32N6-DK_OTP_Cut2-Signed.stm32