AnsweredAssumed Answered

How to write to internal Flash memory?

Question asked by sherrell.branden on Dec 17, 2015
Latest reply on Dec 17, 2015 by Clive One
I am working with an ST Discovery board (STM32L152RCT6). I have been able to program the device and do all entry level things. Now I want to write to, and read from, the internal EEPROM and Flash memories but have been very unsuccessful in doing so. 

I understand the nuances with reading and writing to Flash, and to a lesser degree EEPROM, but am in no way remotely sure how to do this directed internal. 

I have found a few references online to the API provided by CMSIS API, but I have not been able to make use of it. How can these utilities be integrated into and used by an existing project? 

I am using the Keil (uVision) IDE, but the only Flash API utilities provided are the following: 

Fd6u5.png

And I frankly do not know what to make of this information. Writing to internal EEPROM and Flash is made very simple with Atmel's controllers. What am I doing wrong with ST? Am I completely misinterpreting information and moving in the wrong direction? 

Outcomes