Hi,
I'm using SDK 14.2.0 flash_fstorage_example_s140_pca10056 with SEGGER on the nRF52840 Preview DK.
As you can see the basic example not working, what I'm writing and what I'm reading is completely different.
Thanks, Miki
Hi,
I'm using SDK 14.2.0 flash_fstorage_example_s140_pca10056 with SEGGER on the nRF52840 Preview DK.
As you can see the basic example not working, what I'm writing and what I'm reading is completely different.
Thanks, Miki
Read the 'Writing to Flash' section in the manual which tells you what must be written to the UICR before you can program flash.
Which compiler are you using to compile the example ? If using GCC you need to make change to the flash_fstorage_example_gcc_nrf52.ld. All the sections that are > RAM
have to be changed to > RAM AT > FLASH
Solved it. Apparently I need to perform erase procedure to the flash (writing 1's). I wrongly assumed the write procedure contains the eraseing.