In my project, I want to store data in the form of hex or bin file in the flash memory and send it via spi to the slave device. Can anyone suggest any example on how to start with it?
In my project, I want to store data in the form of hex or bin file in the flash memory and send it via spi to the slave device. Can anyone suggest any example on how to start with it?
Hi,
Nordic has an example using fatfs (fatfs is not made by Nordic) with our devices. You may consider having a look at this and see if it may be suitable for your use case.
In general, our devices are so small that most users opt to not run a full file system, but rather just uses something simpler like our type-length-value FDS or just store the data as large binary blobs in flash though fstorage. You may want to consider if you need to preserve the data as actual files which the nrf52 can read, or if it might be sufficient to pass the files through it as binary blobs.
Best regards,
Rune Holmgren
Hi,
Nordic has an example using fatfs (fatfs is not made by Nordic) with our devices. You may consider having a look at this and see if it may be suitable for your use case.
In general, our devices are so small that most users opt to not run a full file system, but rather just uses something simpler like our type-length-value FDS or just store the data as large binary blobs in flash though fstorage. You may want to consider if you need to preserve the data as actual files which the nrf52 can read, or if it might be sufficient to pass the files through it as binary blobs.
Best regards,
Rune Holmgren