nRF5340 - using NVS and LittleFS

Hi

I can run the sample application for NVS, on the nF5340 DK (SDK 2.9.0)

I can run the sample application for LittleFS, also on the nRF5340 DK

Now I would like to see if I can use both, and share the flash partition - maybe 50/50.

Is this possible.

I read Case ID: 257332 but that is from a few years back.

I tried to set up an overlay and split the partition but I ran in to lots of issues.

Regards

Garrett

Parents
  • Hi, 
    Please try to recover the network core by using: 
    nrfjprog --recover --coprocessor CP_NETWORK

    You may want to recover the application core as well
    nrfjprog --recover --coprocessor CP_APPLICATION

    Which error do you have when you enable both NVS and LittleFS  ? 
    Have you defined a parttition for littlefs ? You can make a pm_static.yml file (copy from a partitions.yml in build folder in littlefs sample for example, and modify it as you wish) to force a partition configuration. You can find the use of pm_static.yml in \nrf\applications\nrf_desktop\configuration\nrf52kbd_nrf52832 for example. 
    It should be in the project folder. 

Reply
  • Hi, 
    Please try to recover the network core by using: 
    nrfjprog --recover --coprocessor CP_NETWORK

    You may want to recover the application core as well
    nrfjprog --recover --coprocessor CP_APPLICATION

    Which error do you have when you enable both NVS and LittleFS  ? 
    Have you defined a parttition for littlefs ? You can make a pm_static.yml file (copy from a partitions.yml in build folder in littlefs sample for example, and modify it as you wish) to force a partition configuration. You can find the use of pm_static.yml in \nrf\applications\nrf_desktop\configuration\nrf52kbd_nrf52832 for example. 
    It should be in the project folder. 

Children
No Data
Related