This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to load a bin or a hex file onto the flash memory on nrf52832?

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?

Parents
  • 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

Reply
  • 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

Children
No Data
Related