The bootloader in SDK 8.1.0 (at /nRF51_SDK_8.1.0 examples/dfu/bootloader) calls pstorate_register() twice. The first time as part of bootloader_init(), then on bootloader_dfu_start().
The first call works for me and the second call asserts. I thought this shouldn't be called twice?