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

Value of PSTORAGE_MAX_APPLICATIONS

I am using the ble_app_template, together with one timer called every second. The timeout handler of the timer just prints a short string on the serial port using simple_uart and toggles an LED. Now I try to get pstorage running. First I just called the pstorage_init() function with the result, that the LED continues blinking, but the uart stops sending.

After a lot of debugging, I found, that a value of PSTORAGE_MAX_APPLICATIONS = 1 works, but the problem occurs with a value of 2. My binary without S110 has 48 kbyte, my hardware has 256 kB flash. Where is the problem to set more than one pstorage application?

Environment :

BLE Nano Board with NordicSemi nRF51822-QFAA

Softdevice S110 7.1.0

GCC 4.8

SDK 6.1.0 
Related