Skip to main content
deckhard
Associate III
December 29, 2021
Question

Size of Option bytes on STM32H743

  • December 29, 2021
  • 3 replies
  • 1547 views

The size of system memory on STM32H743 is 2 sectors of 128KB each.

What is the size of the option bytes block?

This topic has been closed for replies.

3 replies

TDK
Super User
December 29, 2021

Option bytes are not directly accessible. So in one sense they don't have a size as they don't exist anywhere in the memory map.

You can only modify them indirectly through the register interface shown in the FLASH section of the RM, which gives you access to portions of 8x 32-bit words.

"If you feel a post has answered your question, please click ""Accept as Solution""."
deckhard
deckhardAuthor
Associate III
December 29, 2021

Thanks.

Is it possible to write into System memory region from user flash regions in RDP level 0 ?

TDK
Super User
December 29, 2021
System memory is read only.
"If you feel a post has answered your question, please click ""Accept as Solution""."
deckhard
deckhardAuthor
Associate III
December 30, 2021

Is possible while running form Flash in RDP level 0 to:

  1. write code into SRAM
  2. Change the BOOT_ADDR to SRAM
  3. Reset the MCU via AIRCR register i.e NVIC_SystemReset()
  4. Boot into SRAM code

Is it possible?

I know that if RDP level 2 is applied you can only boot into user flash or into System Memory.