Unless manually set the value of bond_init_data.bonds_delete to true in the function bond_manager_init to clear bonded masters, I end up in the HardFault_handler. The last call I can trace is line 641 in pstorage.c,memcpy (p_dest, (((uint8_t *)p_src->block_id) + offset), size)
;
From that code it doesn't look like a memcpy is ever expected to fail.
The example I'm primarily working on is the experimental ble_app_ancs, but it occurs in other examples as well. I am using the latest SDK and soft device, but this has happened with the previous version as well.
I suspect this is related to my target setup, but I'm just using the defaults from the example project - nrf51822_xxaa_s110 (256). I've had a look at the Dev Kit User Guide, but those numbers seem to be different.
How do I go about finding the source of this issue?
Thanks, Eric