User Activity

I couldn’t figure out how to write a simple code to write some bytes at the end of the Flash on my STM32H7. I don’t need much bytes, only one uint32_t.I tried using HAL_FLASH_Program by unlocking the flash first but couldn’t make it work..Any help?