nrfjprog program every second time didn't start the application

Hi

When I use the nrfjprog with the command line:

nrfjprog --recover

nrfjprog --eraseall

nrfjprog --program testcode.hex

nrfjprog --rbp ALL

The application is starting and the code running.

If I do the same again (with the same hex or a newer one) the nrf remains in the bootloader.

The only solution is to do it again, every second time this bug is happening, why? What is the solution for this?

Regards, Dominik

Related