cancel
Showing results for 
Search instead for 
Did you mean: 

STM F411RE flash sectors

Marius CO
Associate III
Posted on January 08, 2018 at 17:52

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on January 08, 2018 at 18:16

0690X00000609MBQAY.png

View solution in original post

2 REPLIES 2
Posted on January 08, 2018 at 18:16

0690X00000609MBQAY.png
Imen.D
ST Employee
Posted on January 08, 2018 at 18:20

Hello

marrius9876

,

You can find the flash sectors sizes in the reference manualrelated to your device (

http://www.st.com/content/ccc/resource/technical/document/reference_manual/9b/53/39/1c/f7/01/4a/79/DM00119pdf/files/DM00119pdf/jcr:content/translations/en.DM00119pdf

)

0690X00000609LxQAI.png

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen