I am running flash_fstorage_example on the nRF52840 DK with SDK 15.0.0
I am having some problems with the example, as below:
uint32_t read_data; NRF_LOG_INFO("Reading bad coffee from flash"); rc = nrf_fstorage_read(&fstorage, 0x3e000, &read_data, sizeof(read_data)); APP_ERROR_CHECK(rc); wait_for_flash_ready(&fstorage); NRF_LOG_INFO("Data: %x", read_data);
NRF_LOG_INFO("Use 'read' to read bytes from the flash."); NRF_LOG_INFO("Use 'write' to write bytes to the flash."); NRF_LOG_INFO("Use 'erase' to erase flash pages."); NRF_LOG_INFO("Use 'flasharea' to print and configure the flash read boundaries.");