Skip to main content
Bicer
Associate II
December 3, 2021
Question

stm32l476rg flash read-write

  • December 3, 2021
  • 1 reply
  • 1255 views

I want to use flash as eeprom by using hal library on stm32l476rg.

How can I create the flash_read() and flash_write() functions? (functions will read and write data of type uint32_t)

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
December 4, 2021

Pretty sure there are notes in the library source and examples..

STM32Cube_FW_L4_V1.14.0\Projects\NUCLEO-L476RG\Examples\FLASH\FLASH_EraseProgram\Src\main.c

Reads like normal memory within the processors address space

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..