Skip to main content
Nagaraj T
Associate
December 12, 2016
Question

STM32L471 Internal flash read/write

  • December 12, 2016
  • 2 replies
  • 865 views
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 ...

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    December 12, 2016
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    Nagaraj T
    Nagaraj TAuthor
    Associate
    December 12, 2016
    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
    Associate II
    December 13, 2016
    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