2018-06-15 02:50 AM
Hi, I'm working with a NUCLEO-L433RC board and I'm trying to use storage_on_flash library (
https://os.mbed.com/teams/mbed_controller/code/storage_on_flash/file/2bb58064d0a2/SOFBlock.h/
)This library works well on the NUCLEO-F401/F411 board. Inside the file 'SOF_dev_stm32_f4xx.cpp' I can see the Flash Memory Sector Address structure.
&sharpif defined(STM32F401xE) || defined(STM32F411xE) || defined(STM32F407xx)
static const SOF_SectorSpec_t _sec_spec[] = { {FLASH_SECTOR_0, 0x08000000, 16*1024}, {FLASH_SECTOR_1, 0x08004000, 16*1024}, {FLASH_SECTOR_2, 0x08008000, 16*1024}, {FLASH_SECTOR_3, 0x0800C000, 16*1024}, {FLASH_SECTOR_4, 0x08010000, 64*1024}, {FLASH_SECTOR_5, 0x08020000, 128*1024}, {FLASH_SECTOR_6, 0x08040000, 128*1024}, {FLASH_SECTOR_7, 0x08060000, 128*1024},};&sharpendif
The NucleoL433 board uses a STM32L433RC cpu that has different flash memory address.
Where I can find Flash Memory Sector Addresses for STM32L433RC
cpu?Can someone help me?
Thank you.
#mbed #flash-storage #nucleo-l433rc #stm322018-06-15 05:49 AM
Hi,
Flash Area , it’s mapping, Pages/ Sectors on STM32F4 and STM32L4 are completely different. In F4 we have big size sectors, in L4 the sectors are small. You can find details in our Product Reference Manuals.
Cheers
STOne-32
2018-06-15 10:36 AM
Hi,
thank you for your fast reply.
can you please show me where I can fibd this information in the datasheet?
I can only see where the flash memory begins but I can't see the different sectors address or size.
Thank you
2018-06-15 10:41 AM
3.4 Embedded Flash memory
STM32L433xx devices feature up to 256 Kbyte of embedded Flash memory available for
storing programs and data in single bank architecture. The Flash memory contains 128
pages of 2 Kbyte.