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

Support for AT45 External Flash possible? #5

Open
maclobdell opened this issue Nov 13, 2017 · 1 comment
Open

Support for AT45 External Flash possible? #5

maclobdell opened this issue Nov 13, 2017 · 1 comment

Comments

@maclobdell
Copy link
Contributor

FRDM-KW24D512 (new board to be Mbed Enabled soon) has a external 16-Mbit Flash connected over SPI.

Datasheet
https://www.adestotech.com/wp-content/uploads/doc8782.pdf

spiflash-driver doesn't seem to be compatible.

I see that a library was published a while back.
https://os.mbed.com/users/stjo2809/code/AT45/

My question is - can or should it be possible to add support for AT45 in this driver as an alternative interface, or should it remain a separate driver?

@geky
Copy link
Contributor

geky commented Nov 14, 2017

Ah, the AT45 block devices fall under this driver:
https://github.com/ARMmbed/dataflash-driver

Unfortunately, dataflash chips use a different protocol than other spi flash chips, so combining the drivers doesn't have an engineering benefit.

We've considered renaming this driver to help clarify the difference, but the spi flash protocol doesn't have a standard name. To quote the MX25R's product page: "It supports the standard Serial NOR Flash memory interface" [1]. So we decided to stick with "spi flash" as a name to catch the most users looking for this driver.

On the bright side, now we have this issue that can direct users to the correct driver.

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

2 participants