Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Configuration size vs. flash memory sector size #490

Open
@cw2

Description

@cw2

Some of the recent CPU variants, namely STM32F74xx and STM32F75xx, have flash memory divided into sectors of relatively large size, starting at 32 KB (then 128 KB and 256 KB).

In the current implementation, the NETMF configuration data requires a dedicated flash memory sector (BlockUsage::CONFIG), but its actual size is much smaller (<< 4 KB), which results in wasting precious flash space. (The situation will most likely be even worse, due to the size of tinybooter which is roughly 30 - 50 KB, depending on transport and presence of crypto libs.)

I am not sure what would be the best way to solve this problem (move the config data to some other block, deploy it as an assembly ?...); I guess this is rather something to keep in mind for v5...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions