2019-12-13 05:44 PM
In the STM32H7 datasheets, page 23 (H750) or 26 (H743) - ST says the device has 2KB user option bytes flash area.
Does anyone have idea if this is a typo? Or how to access this memory?
If it really is there - it has a good potential to be used as config flash, because it seems independently erasable from the main flash sectors.
2019-12-15 07:45 AM
2019-12-16 11:49 AM
Thanks @PMath.4, but the problem is that these functions (used in the link) are not available in the flash_ex HAL files for H7, there are no similar defines in e.g. stm32h7??xx.h, and there is nothing in the reference manual explaining how to access these registers.
I would normally expect that the option bytes (as usual) are not directly mapped on the memory bus but are indirectly accessed via registers (which technically are again accessed via the memory bus, but this is a just a detail).
2021-06-17 07:13 AM
Hi Dan
I am also looking for a possibility to use the 2k user option bytes of the stm32h7 devices. But I am not sure if these so called user options bytes could be freely used or not. Did you figure out how the user options bytes could be accessed and programmed?
Best regards
Raphael
2021-06-18 03:30 AM
Are there really 2 k of user option bytes beside the user option bits fr configuration? I do not see it mentioned in the reference manual. I do not find in in the memory map neither.
2021-06-18 04:09 AM
Dear Uwe
This is the reason I am confused about the user options topic. The data sheet talks about 2k user options but the ref manual dosen't as you mentioned.
2021-06-18 07:29 AM
That's a recurring topic, e.g. https://community.st.com/s/question/0D53W00000mm98USAQ/how-to-write-nonreserved-option-bytes-on-stm32h750xx-mcu
2021-06-18 07:33 AM
Thanks for the link and clarification of the topic. I will use the first sector of internal flash bank 2 as a kind of OTP replacement.
2021-06-18 08:58 AM
@loeffel2 - Unfortunately I have not found a way to use this 2KB area. My contacts in ST were not aware either. It would have been convenient with the Value line devices...