After programming the a chip (52832) with hex files (including boot code, main app code, and softdevice), the chip jumped to the boot code so we need to do the DFU to let it jump to the main code at reset.
Tried the Programmer comes with nRF Connect, also tried the command line nrfjprog, got the similar result.
Question is: how to make the chip boot into the main code after programming the flash?
I read from the documents saying the value of GPREGRET decides if it will run to boot code or main code. How to clear this register if use the programmer app or the nrfjprog?
Thank you!
Ray