Hi ,
I am working on NRF DFU firmware update. for that i am using secure bootloader code .
I tried with the of way of flasing bootloader code on my custom board and sent my application code through app(NRF CONNECT) .when want to change the bootloader its moving to bootmode and can able to update . its working fine..
then i tried to merge my applicartion and bootloader code ... ( in components file i took the softdevice hex file + application code hex file ) merged together usinng commad
mergehex.exe -m softdevice.hex application.hex -o new_app.hex
using the above command - my aplication working fine.... the with the new_app.hex file merged with my bootloader hex file using the command
mergehex.exe -m new_app.hex bootloader.hex -o final.hex
using the above command - got by final hex file .
using nrfjporg command flashed my final.hex file to my custom board ..
now my question is ....
in my custom board i flashed my merged file (which is my application + bootloader )
but at first time , it enters in bootloader mode only .. in my bootloader code i set 2 mins stand by time in bootloader mode .
after that it moves from bootloader mode to application mode.but it does not enter to application mode.
Once i sent my application code via app then its switching to application mode .. as i metioned above when i want to change to boot its switching to bootloader mode if i dont update my firmware ,its automatically moving to my appllication which is running before ...if i updates its updating ...
why my merged file only in bootloader mode at first ...
from my assumption it should switch to application after 2mins (which from the merged file )
Whats the issue of it does not enter into apllication mode at first time.??????