cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L471 Internal flash read/write

Nagaraj T
Associate
Posted on December 12, 2016 at 16:24

Hello,

Can anyone help me on read/write run time data to internal flash of a STM32L471.

Thanks ...

3 REPLIES 3
Posted on December 12, 2016 at 21:07

The flash reads like any other memory, review structures, and pointers to structures, to access the block of flash you plan on using. Try to keep all of your data within a structure, it will be much easier to manage, and allow you to journal the data across an erased block before you need to erase again.

Review Cube/HAL examples for writing flash on the L4 parts. Flash must be erased before it can be (re)written.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on December 12, 2016 at 21:13

Thank you ,

working fine ,I had problem with read and write function using HAL function , 

STM32L4

Reference manual explains steps to implement it ..

Oliver Beirne
Senior
Posted on December 13, 2016 at 16:23

Hi 

Tipanatti.Nagaraj

I have moved this post to the

https://community.st.com/community/stm32-community/stm32-forum?sr=search&ampsearchId=1f075d14-1117-4f25-85a1-96ea3fb8cda9&ampsearchIndex=0

where product related questions are posted.

Thanks

Oli