Bootloader resets at some point in nRF52820

Hello,
I am working on jumping from the app to the bootloader to do a firmware update from there. If I don't have any application firmware on the nRF, the DFU also works without problems.
However, when I jump from the application to the bootloader (via the GPREGRET method), the bootloader resets at a certain point in the code and the value of the GPREGRET register is reset, so no DFU can be performed.
Is there any reason why the bootloader could be reset? E.g. by any interrupts?  

BR

Louis

Parents Reply Children
Related