STM32 Tutorial #72 – FIX Using Built-in Flash for Data
882 views on YouTube
In the last video we covered using STM32 built-in Flash memory for data storage. I was a bit of an idiot and it didn’t really work too well 😉 In this video we will fix it and actually show something that works.
SPI Flash: https://www.youtube.com/watch?v=7Lacq—U9c
STM32World video on bootloader (linker scripts): https://www.youtube.com/watch?v=wirNEpE6Dd4
STM32World video on pointers and arrays: https://www.youtube.com/watch?v=FaooNo83jNQ
STM32World wiki: https://stm32world.com/wiki
Flash vs. EEPROM: https://stm32world.com/wiki/Flash_vs._EEPROM
#STM32 #STM32CubeMX #STM32CubeIDE #Flash #STM32World
00:00 Intro and recap
02:15 The setup using the STM32L432KC
02:50 Updates to the main code
04:52 Separating functionality out to separate library
07:00 The flash_storage_update function
09:35 Running the code
11:00 Why the page/sector size matters
14:10 Outro