cancel
Showing results for 
Search instead for 
Did you mean: 

User space for storing some bytes in stm32h7 MCU in runtime

srikanth
Associate III

hi,

i want to store some bytes ( 4 Bytes) of data in MCU flash registers in program run time .

In flash user locations are available or not. If available how can i assign the bytes to flash locations in run time.

3 REPLIES 3

The standard flash write methods work at run-time. The primary issues being you can only write once, the write stalls the processor, and the sectors are relatively large.

You can journal the writes all across the sector, and then find the last value written.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
berendi
Principal

H7 series MCUs come in 3 possible flash arrangements, which one do you have?

stm32h750vit -> 128 KB Flash, 1MB RAM in this any direct or Specific user location to write the data