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

Rework SFDP/BlockDevice to support region overlap #15048

Open
Tracked by #14967
LDong-Arm opened this issue Sep 2, 2021 · 0 comments
Open
Tracked by #14967

Rework SFDP/BlockDevice to support region overlap #15048

LDong-Arm opened this issue Sep 2, 2021 · 0 comments

Comments

@LDong-Arm
Copy link
Contributor

LDong-Arm commented Sep 2, 2021

We have a task #12574 to support parsing multiple SFDP sector maps, to support CYW9P62S1_43012EVB_01. But that is not enough - there's a separate issues that CYW9P62S1_43012EVB_01 has overlaid regions which Mbed OS doesn't support yet.

Explanation:

One of the configurations of CYW9P62S1_43012EVB_01 has the following layout (relative addresses):

  • 1st region: Eight 4KB sectors between 0x0000'0000 - 0x0000'7FFF
  • 2nd region: One 256KB sector at 0x0000'0000 - 0x0003'FFFF
  • 3nd region: A number of 256KB sectors from 0x0004'0000 until the end of the flash

The first two regions overlap. But Mbed OS BlockDevice and SFDP implementations both assume there's no overlap. Some rework is needed.

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

No branches or pull requests

2 participants