nrf5340 nvs flash read and write

In our custom board, check flash write and read using sample (C:\ncs\v2.6.1\zephyr\samples\subsys\nvs) but showing following response. the same build working fine in nrf7002 DK. 
Please provide step to resolve this?
Parents Reply
  • Hi,
    I have checked the nvs sample u shared
    1. with nrf5340dk_nrf5340_cppapu, facing reset after the error

    2.with nrf7002dk_nrf5340_cppapu, facing 


    proj.conf file of nvs sample

    CONFIG_FLASH=y
    CONFIG_FLASH_PAGE_LAYOUT=y
    
    CONFIG_NVS=y
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y
    CONFIG_NVS_LOG_LEVEL_DBG=y
    CONFIG_REBOOT=y
    CONFIG_MPU_ALLOW_FLASH_WRITE=y
    
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y


    pm_static.yml

    Which file are you mentioning? In sample project only sample.yaml file is presented.

Children
Related