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

Flash Storage example with SoftDevice not working in SDK15?

Hello,

I am facing an issue when trying to use the example flash_fstorage_example in SDK15 with the softdevice. According to the documentation, using the reading and write command should give me some predifned strings. However, that is not the case, as you can see what I get in the serial is the following

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<info> app: fstorage example started.
<info> app: SoftDevice is present.
<info> app: Initializing nrf_fstorage_sd implementation...
<info> app: ========| flash info |========
<info> app: erase unit: 4096 bytes
<info> app: program unit: 4 bytes
<info> app: ==============================
<info> app: Writing "BADC0FFE" to flash.
<info> app: --> Event received: wrote 4 bytes at address 0x3E000.
<info> app: Done.
<info> app: Enabling the SoftDevice.
<info> app: Writing "DEADBEEF" to flash.
<info> app: --> Event received: wrote 4 bytes at address 0x3E100.
<info> app: Done.
<info> app: Writing "hello world" to flash.
<info> app: --> Event received: wrote 12 bytes at address 0x3F000.
<info> app: Done.
<info> app: Use 'read' to read bytes from the flash.
<info> app: Use 'write' to write bytes to the flash.
<info> app: Use 'erase' to erase flash pages.
<info> app: Use 'flasharea' to print and configure the flash read boundaries.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thus, I don't get the expected strings BADC0FFE, DEADBEEF or hello world , I have checked the memory for those values after writting and that entries are not there either...

What is happening? Is the softDevice blocking the writting?

Kind regards