2023-07-21 10:50 AM
What are the option byte settings set to when they ship from the factory for the NUCLEO-WL55JC1?
While trying to get the LoRaWAN_SBSFU_1_Slot_DualCore application running somehow I've managed to mess up the boot options. I want to restore them to the factory defaults.
The following is what they are set to now.
OPTION BYTES BANK: 0
Read Out Protection:
RDP : 0xAA (Level 0, no protection)
BOR Level:
BOR_LEV : 0x0 (BOR Level 0 reset level threshold is around 1.7 V)
User Configuration:
nBOOT0 : 0x1 (nBOOT0=1)
nBOOT1 : 0x1 ()
nSWBOOT0 : 0x1 (BOOT0 taken from PH3/BOOT0 pin)
SRAM_RST : 0x1 (SRAM1 and SRAM2 are not erased when a system reset occurs)
SRAM2_PE : 0x1 (SRAM2 parity check disable)
nRST_STOP : 0x1 (No reset generated when entering the Stop mode)
nRST_STDBY : 0x1 (No reset generated when entering the Standby mode)
nRST_SHDW : 0x1 (No reset generated when entering the Shutdown mode)
WWDG_SW : 0x1 (Software window watchdog)
IWGD_STDBY : 0x1 (Independent watchdog counter running in Standby mode)
IWDG_STOP : 0x1 (Independent watchdog counter running in Stop mode)
IWDG_SW : 0x1 (Software independent watchdog)
BOOT_LOCK : 0x1 (CPU1 CM4 Boot lock enabled)
C2BOOT_LOCK : 0x1 (CPU2 CM0+ Boot lock enabled)
IPCCDBA : 0x3FFF (0x3FFF)
Security Configuration Option bytes ESE:
ESE : 0x1 (Security enabled)
PCROP Protection:
PCROP1A_STRT : 0x0 (0x8000000)
PCROP1A_END : 0x0 (0x8000000)
PCROP_RDP : 0x0 (PCROP zone is kept when RDP is decreased)
PCROP1B_STRT : 0x0 (0x8000000)
PCROP1B_END : 0x0 (0x8000000)
Write Protection:
WRP1A_STRT : 0x57 (0x802B800)
WRP1A_END : 0x7D (0x803E800)
WRP1B_STRT : 0x0 (0x8000000)
WRP1B_END : 0xA (0x8005000)
OPTION BYTES BANK: 1
Security Configuration Option bytes:
SFSA : 0x37 (0x37)
FSD : 0x0 (System and Flash secure. This bit can only be accessed when HDPADIS = 0)
DDS : 0x1 (CPU2 debug access disabled (when also enabled by C2SWDBGEN))
HDPSA : 0x7D (0x7D)
HDPAD : 0x0 (User Flash hide protection area access enabled.)
SUBGHSPISD : 0x0 (FSD=0 and SUBGHSPISD=0: SPI3 security enabled)
C2OPT : 0x1 (SBRV will address Flash memory, from start address 0x0800 0000 + SBRV.)
NBRSD : 0x1 (SRAM1 is non-secure if FSD=0 and secure otherwise. This bit can only be accessed when HDPADIS = 0)
SNBRSA : 0x1F (0x1F)
BRSD : 0x0 (SRAM2 is secure if FSD=0 and non-secure otherwise. This bit can only be accessed when HDPADIS = 0)
SBRSA : 0x0 (0x0)
SBRV : 0xD800 (0xD800)
2023-07-26 06:21 AM
Hello @CGemb.1 and welcome to ST Community.
In the figures below you can find the option bytes that you need to change their values are highlighted in red. You can find their reset value in this Reference manual.
When your question is answered, please close this topic by choosing "Accept as Solution". This will help other users find that answer faster.
Issam
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.