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

Changing Flash parameters in overlay file

My project is using nRF52840.   Early software development used an nRF52840-DK to develop most of the software.   Software is based on Zephyr using nRF Connect version 1.6.1.     I'm using the "littlefs" file system.   I got most things working using the nRF52840-DK.     I now have my custom board and it uses a slightly different (and larger) qspi-nor flash device.   

I'm still using the nRF52840-DK board file, but "modify" some of the parameters using an overlay file.    I know I need to change some of the parameters w.r.t. the flash.    I was able to modify the jedec-id for the new device, but am looking for some documentation that defines the parameters (keywords) in the board definition file (what some of them mean and format of values)   

Can you point me to these definitions (so I don't have to read through a lot of code :-))?

Thanks!

Parents
  • Hi again

    I asked one of our FileSystem gurus, and this seems to be the cause for your issue:

    - Hybrid sector size option - Physical set of thirty two 4kB sectors at top or bottom of address space with all remaining sectors of 64 KB, for compatibility with prior generation S25FL devices.

    - Uniform sector option - always erase 256-KB blocks for software compatibility with higher density and future
    devices.

    The sector size is huge, it is not 4KB and is not uniform.

    Best regards,

    Simon

Reply
  • Hi again

    I asked one of our FileSystem gurus, and this seems to be the cause for your issue:

    - Hybrid sector size option - Physical set of thirty two 4kB sectors at top or bottom of address space with all remaining sectors of 64 KB, for compatibility with prior generation S25FL devices.

    - Uniform sector option - always erase 256-KB blocks for software compatibility with higher density and future
    devices.

    The sector size is huge, it is not 4KB and is not uniform.

    Best regards,

    Simon

Children
Related