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

NRF_Fstorage Address Issue

Hi i am working on project where i need to store logs on flash, i included nrf_storage and set start address 0x42000 and end address 0x50000 according to my application, my product contains softdevice, application and bootloader.... but when i try to read write or erase specific address it get stuck ... my application is based on FreeRTOS 

Parents Reply
  • Hi i tried to writing at address 42000 which is wrote successfully but it is not reading log as :

    00> <info> app: fstorage example started.
    00>
    00> <info> app: SoftDevice is present.
    00>
    00> <info> app: Initializing nrf_fstorage_sd implementation...
    00>
    00> <info> app: ========| flash info |========
    00>
    00> <info> app: erase unit: 4096 bytes
    00>
    00> <info> app: program unit: 4 bytes
    00>
    00> <info> app: ==============================
    00>
    00> <info> app: Writing "hello_world!" to flash.
    00>
    00> <info> app: --> Event received: wrote 12 bytes at address 0x42000.

    it get stuck at reading i am reading as 

    rc = nrf_fstorage_read(&fstorage,0x42000,&readdata,12);
    NRF_LOG_INFO("Data: %s read at flash",readdata);

Children
Related