Programming STM32G0 Flash Memory while executing from Flash
Hello All,
I need to perform two separate tasks.
First I need to locate an array of constant integers at the fixed address 0x8000 0000. I know this has to be done though the linker script. But I am a little out of touch with writing linker scripts. Can Anyone help me with the specific command I need to insert into the linker file?
Second, I need to copy some values that I have stored in a RAM array and write to the Flash memory at the address 0x8000 0000 either using the in-built HAL drivers or the LL drivers if required. If someone can point me in the right direction that would be highly appreciated. If any one can share some sample code that would be highly appreciated.
Regards
Anand
