cancel
Showing results for 
Search instead for 
Did you mean: 

Can any of the STM32H7 2 Kbytes (64 Flash words) of user option bytes be used for application configuration parameters

shami
Associate

A similar question has been asked a few times on here. But I have yet to see a clear answer.

In the document here

https://www.st.com/content/ccc/resource/training/technical/product_training/group0/1f/4f/b7/85/91/e0/4d/2f/STM32H7-Memory-Flash_FLASH/files/STM32H7-Memory-Flash_FLASH.pdf/_jcr_content/translations/en.STM32H7-Memory-Flash_FLASH.pdf

Its state that

2 Kbytes (64 Flash words) of user option bytes for user configuration available only in Bank 1.

There are similar statements in other ST documents.

Is this 2k fully dedicated and only usable for setting user flash/boot options or is there addition flash registers that i can use for my own configuration parameters.

If so how are they accessed , as the current HAL only supports the flash/boot options registers

1 REPLY 1
SBEN .2
Senior II

Hello @shami​ ,

User option bytes are option bytes that are to be used to configure user configurable option bytes. They are not supposed to contain arbitrary user data.

Best regards,

@SBEN .2​