when i use sd_flash_page_erase() the system reset
when i use sd_flash_page_erase() the system reset
Where in the bootloader code are you calling this? You should make sure the softdevice is initialized before calling softdevice functions (functions with sd_ prefix). Which address are you trying to erase? Make sure you do not erase any pages containing your application, bootloader, etc.
Where in the bootloader code are you calling this? You should make sure the softdevice is initialized before calling softdevice functions (functions with sd_ prefix). Which address are you trying to erase? Make sure you do not erase any pages containing your application, bootloader, etc.