2018-01-08 08:52 AM
Hi,
I am searching for hours, could not find a document about flash sectors sizes other than int
the sample header file /STMCUBEF4/STM32Cube_FW_F4_V1.18.0/Projects/STM32F411E-Discovery/Examples/FLASH/FLASH_EraseProgram/Inc/main.h. Is this information somewhere specified in any pdf's or documents.Thank you#define ADR_FLASH_SECTOR_0 ((uint32_t)0x08000000) /* Base @ of Sector 0, 16 Kbytes */
#define ADDR_FLASH_SECTOR_1 ((uint32_t)0x08004000) /* Base @ of Sector 1, 16 Kbytes */
#define ADDR_FLASH_SECTOR_2 ((uint32_t)0x08008000) /* Base @ of Sector 2, 16 Kbytes */
#define ADDR_FLASH_SECTOR_3 ((uint32_t)0x0800C000) /* Base @ of Sector 3, 16 Kbytes */
#define ADDR_FLASH_SECTOR_4 ((uint32_t)0x08010000) /* Base @ of Sector 4, 64 Kbytes */
#define ADDR_FLASH_SECTOR_5 ((uint32_t)0x08020000) /* Base @ of Sector 5, 128 Kbytes */
#define ADDR_FLASH_SECTOR_6 ((uint32_t)0x08040000) /* Base @ of Sector 6, 128 Kbytes */
#define ADDR_FLASH_SECTOR_7 ((uint32_t)0x08060000) /* Base @ of Sector 7, 128 Kbytes */
Thank you.
Solved! Go to Solution.
2018-01-08 09:16 AM
2018-01-08 09:16 AM
2018-01-08 09:20 AM
Hello
marrius9876
,You can find the flash sectors sizes in the reference manualrelated to your device (
)Best Regards
Imen