Writing data to STM32G4 Flash
Sorry, my first time programming an STM32. I have a bunch of data I need to store for a few hours, and the thought was to store it in Flash since there's a lot more of it (512k vs. 128k for regular RAM) but it looks to be pretty daunting.
I've been reading a bunch of articles online, and they all seem to contradict each other, and they all say things like "all you do is write to the memory location, just like regular RAM" and then in the fine print it lists the 43 things you have to do first, - turn off IRQs, update control registers, etc., etc., etc.
Is there an example program for the STM32G474RE that shows a simple "write a bunch of data to Flash" and an equally simple "read a bunch of data from Flash"?
Thanks!
Chris
