Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F7 Flash Dual Bank support #6955

Closed
dhwalters423 opened this issue May 18, 2018 · 9 comments
Closed

STM32F7 Flash Dual Bank support #6955

dhwalters423 opened this issue May 18, 2018 · 9 comments
Assignees

Comments

@dhwalters423
Copy link
Contributor

Description

In order to support sensible SOTP and NV Store values, the STM32F7 platforms should have dual bank flash support.

At the moment this is not supported:

/* We don't support the DUAL BANK MODE for now, so return error */

Impact:
In order to support drag and drop programming of devices with Mbed Cloud Client, we need to set the SOTP regions to the end of the bank. This allows consistent device identity and the ability to use the RoT in the SOTP sector.

Example:
The NUCLEO_F746ZG platform has 1Mb of flash. The flash sectors at the end of the single bank are 256kb a piece (at 0x08080000 and 0x080C0000). Therefore SOTP is taking up more than half the available flash on the board. By enabling dual bank flash sectors, the end sectors would only be 128kb, thus taking up 25% rather than 50% of the available flash memory.

Issue request type

[ ] Question
[X ] Enhancement
[ ] Bug

@0xc0170
Copy link
Contributor

0xc0170 commented May 22, 2018

@ARMmbed/team-st-mcd Please review

@jeromecoutant
Copy link
Collaborator

Hi
For information, STM32F746ZG doesn't support dual bank.
Dual bank feature seems to be supported only for STMF76x MCU

@dhwalters423
Copy link
Contributor Author

dhwalters423 commented May 24, 2018

Thanks for clarification @jeromecoutant
This is still important for those platforms with dual bank support- NUCLEO_F767ZI for example.

@0xc0170
Copy link
Contributor

0xc0170 commented May 30, 2018

Dual bank feature seems to be supported only for STMF76x MCU

@jeromecoutant What would take to enable that ? Are there any limitations to be aware of , drawbacks or?

@bcostm
Copy link
Contributor

bcostm commented Jun 1, 2018

Can you please verify if this PR solves your issue ? and close it if ok. Thanks

@ciarmcom
Copy link
Member

ciarmcom commented Jun 1, 2018

ARM Internal Ref: MBOTRIAGE-23

@dannybenor
Copy link

@dhwalters423 Can you please review?

@bcostm
Copy link
Contributor

bcostm commented Jun 4, 2018

@0xc0170 can you please add the device: st label ?

@dhwalters423
Copy link
Contributor Author

#7088 reviewed and tested, thank you @bcostm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants