Can you FDS for an external spi flash device/chip?
Can you FDS for an external spi flash device/chip?
Hi ypearson,
I am afraid that FDS or fstorage, which is used by FDS, support external flash at the current moment. We're looking into this and it will probably be added in a future release of the SDK.
Best regards
Bjørn
Two years have passed.
Is it possible now to use an external flash instead of an internal one?
I looked at the FDS source code and realized that this is generally possible, but it is not clear to me how it is used inside the softdevice. And I would not want to remake someone else's library, losing the ability to upgrade to the new version in the future.
Turnaev: In the latest SDK the Experimental: Flash Storage library ( which is the backend for FDS) only supports On-chip flash with two backends, either the SD API or through the NVMC directly.
FDS or fstorage is not used by the SoftDevice, it uses the NVMC directly.
Best regards
Bjørn
Ok.
If I replace fstorage to my own functions working with spi flash, SoftDevice will use any sector of the flash for their internal purposes via NVMC except MBR?
Turnaev: The SoftDevice will only use its designated flash area for internal purposes, see SoftDevice memory usage.