cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l476rg flash read-write

Bicer
Associate II

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)

1 REPLY 1

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 Venmo
Up vote any posts that you find helpful, it shows what's working..