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

Running flash_fstorage example on nRF52DK (nRF6827 Rev 1.2.4) doesn't work

Hi,

When I run the flash_fstorage sample program via nRF5_SDK_15.3.0_59ac345, I get output that suggests all has gone well:

fstorage example started.
SoftDevice not present.
Initializing nrf_fstorage_nvmc implementation...
========| flash info |========
erase unit: 	4096 bytesprogram unit: 	4 bytes==============================
end_addr 524288Writing "hello world" to flash.
--> Event received: wrote 12 bytes at address 0x3e000.
Read "" from flash.

However, the read prints no data and the memory address at 0x3e000 is empty.

I am using the sample code defaults:

.start_addr = 0x3e000,
.end_addr   = 0x3ffff,

Do I need to set the memory defaults to a different value for my hardware and if so, how do I know what values to use...

Thanks in advance and apologies for what is almost certainly a  stupid question,

Nick

Related