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

problem in creating pstorage more than 1kb

I am working with nrf51822 board softdevice of s130,sdk11.0 version.I want to create 4 KB of Flash through PStorage.I am able to create 1 kb(maximum block size ) of flash in 1 block Sucessfully.But if I am creating more than 1 block it's throwing error NRF_ERROR_INVALID_PARAM, While creating memory using pstorage_register(&param, &master_handle) .I trace out that this is because of BLOCK_COUNT_CHECK(COUNT, SIZE) by default PSTORAGE_NUM_OF_PAGES is always 1 in the Library file so I tried to change it but its considering the default value only. so help me in creating 4kB flash using pstorage.

Related