Started out with the ble_nus-exmple. Added logging of a sensor to flash, and got it to work in SDK11, even without using the sd_flash*-routines, but writing/erasing directly using NVMC.
After upgrading, I got write working by using sd_flash_write. But page-erasing is giving me problems.
I can write to the flash:
err_code = sd_flash_write(addr_to, addr_from, 4);
But when I try to erase a page, I get hard fault.
err_code = sd_flash_page_erase(pg_num_write);
Yes, I have been searching in here without luck. Probably something I stupid I do/did not do, so I definately need some help here.
Stein Helge