Skip to main content
Marius CO
Associate II
January 8, 2018
Solved

STM F411RE flash sectors

  • January 8, 2018
  • 2 replies
  • 986 views
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.

    This topic has been closed for replies.
    Best answer by waclawek.jan
    Posted on January 08, 2018 at 18:16

    0690X00000609MBQAY.png

    2 replies

    waclawek.jan
    waclawek.janBest answer
    Super User
    January 8, 2018
    Posted on January 08, 2018 at 18:16

    0690X00000609MBQAY.png
    ST Technical Moderator
    January 8, 2018
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks