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
<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. fstorage example:~$ fstorage example:~$ fstorage example:~$ read -h read - read bytes from flash usage: read hex|str addr len Options: -h, --help :Show command help. Subcommands: hex :read bytes from flash in HEX format usage: read hex addr len - addr: the address to read from, in HEX - len: number of bytes to read str :read bytes from flash in ASCII format usage: read str addr len - addr: the address to read from, in HEX - len: number of bytes to read fstorage example:~$ read str 0x3e000 4 j fstorage example:~$ read str 0x3e100 4 ▒▒ fstorage example:~$ read str 0x3f000 12 @ad a ge`dd
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