I am working on a custom I2C bootloader for nrf52832 using SDK 14.2.0. Currently, the bootloader can flash the application code very well. But I have no idea how to flash the softdevice through my bootloader. In my bootloader code, I do not use anything from the softdevice. but when I start to erase the softdevice pages in the bootloader, it dead. I want to check can I flash the softdevice like that?
so my bootloader is located at 0x0007800 and softdevice start from 0x00000000. the UICR 0x10001014 has been set to bootloader starting address.