I wish to store data in the flash memory of my STM32G030C8T6 microcontroller. The issue I am facing is that my data is not being stored in contiguous memory banks, but rather the banks are being skipped, as seen from the image.
I have written a small driver code for the same to store different types of data types to a memory location.
The link to my code is: Yadnik1/Eeprom-Emulation-driver-STM32 (github.com)
and I have taken reference from here: STM32/FLASH_PROGRAM/F1 SERIES at master ·
Reference Blog: How to Program Flash memory in STM32 » ControllersTech
The available code was for STM32F103C8T6 microcontroller, and I had to make some changes to the code for my g0 series MCU.
It would be very helpful if someone can please tell me what mistake I am making.
Thank you very much!!!
