cancel
Showing results for 
Search instead for 
Did you mean: 

SFI Option Bytes for STM32H753ZI (Nucleo-H753ZI)

jho
Associate II

Hi everyone,

I have a question regarding SFI Option Bytes for the STM32H753ZI (Nucleo-H753ZI).

Question:
Which option bytes should I pick, since there are a lot of different combinations available:

 

1. Generated by TrustedPackageCreator:

 

FLASH_OPTSR_PRG,0x17DEBBF0
FLASH_PRAR_PRG1,0x0000000F
FLASH_PRAR_PRG2,0x0000000F
FLASH_SCAR_PRG1,0x81000200
FLASH_SCAR_PRG2,0x81000200
FLASH_WPSN_PRG1,0xFFFFFFFF
FLASH_WPSN_PRG2,0xFFFFFFFF
FLASH_BOOT7_PRG,0x08002400
RESERVED,0x24000810

 

2. STM32CubeExpansion_RSSe_V1.1.0\Option_Bytes_Template\STM32H7\OB_H742_H743_H753_H750_v3.1.0.csv:

 

FLASH_OPTSR_PRG,0x17DEBBF0
FLASH_PRAR_PRG1,0x0000000F
FLASH_PRAR_PRG2,0x0000000F
FLASH_SCAR_PRG1,0x81000200
FLASH_SCAR_PRG2,0x81000200
FLASH_WPSN_PRG1,0xFFFFFFFF
FLASH_WPSN_PRG2,0xFFFFFFFF
FLASH_BOOT7_PRG,0x1FF00800
RESERVED,0x1FF00800

 

3. x-cube-sfi-v1-5-0\STM32CubeExpansion_SFI_v1.5.0\Projects\NUCLEO-H753ZI\Applications\SFI\OEM_SecureRoom\OptionBytes\ob.csv:

 

FOPTSR_PRG,0x13DEAAF8
FPRAR_PRG_A,0x81000200
FPRAR_PRG_B,0x81000200
FSCAR_PRG_A,0x81000200
FSCAR_PRG_B,0x81000200
FWPSN_PRG_A,0x000000FF
FWPSN_PRG_B,0x000000FF
FBOOT7_PRG,0x1FF10800
FBOOT4_PRG,0x10000810

 

I am mostly concerned about the BOOT7 Add0 and Add1.

 

Best regards

1 ACCEPTED SOLUTION

Accepted Solutions
Jocelyn RICARD
ST Employee

Hello @jho ,

I created an internal case.

On first glance, I don't think 0xAA as final RDP is even possible.

Regarding boot addresses, I would put twice the same which should be the boot address of your firmware.

So, if firmware starts at 0x08000000, is makes FBOOT7_PRG,0x08000800

Best regards

Jocelyn

 

View solution in original post

3 REPLIES 3
Jocelyn RICARD
ST Employee

Hello @jho ,

I created an internal case.

On first glance, I don't think 0xAA as final RDP is even possible.

Regarding boot addresses, I would put twice the same which should be the boot address of your firmware.

So, if firmware starts at 0x08000000, is makes FBOOT7_PRG,0x08000800

Best regards

Jocelyn

 

jho
Associate II

Hello Jocelyn,

you are right.

RDP = 0xBB and BOOT_CM7_ADD0 = 0x08000000 worked for my standard application.

 

Best regards

jho

Jocelyn RICARD
ST Employee

Hello @jho ,

thank you for your feedback.

Anyway, this issue is under discussion internally. And the default option bytes values will probably be more consistant in next releases

Best regards

Jocelyn

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.