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

when i use fstorage to store data ,some error happen

chip: nrf52832

sdk:nRF5_SDK_15.3.0_59ac345

my purpose:  i want to store data to flash from ble_uart

demo:  examples\ble_peripheral\ble_app_uart   and examples\peripheral\flash_fstorage

 i  put flash_fstorage  demo write and read function into ble_app_uart   project.

it can not run as i expect

in fact ,the code is below

why this demo just write once?

Parents
  • Hi,

    It is hard to tell without the rest of the code (you have only provided a screenshot of a few lines). But it looks like it stops on the APP_ERROR_CHECK right above the line with lighter gray from the screenshot.

    Have you tried building the project with Debug settings and run a debug session to see what the error code is?

    Regards,
    Terje

Reply
  • Hi,

    It is hard to tell without the rest of the code (you have only provided a screenshot of a few lines). But it looks like it stops on the APP_ERROR_CHECK right above the line with lighter gray from the screenshot.

    Have you tried building the project with Debug settings and run a debug session to see what the error code is?

    Regards,
    Terje

Children
No Data
Related