This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

bootloader setting for j-link program

Hello, I followed from the link. I successfully program bootloader, and bootloader setting and program. And my program is working fine. But I cannnot update from DFU. Everytime I try to do, I got upload fail error form nRF Toolbox(android app.). But my package file doesn't have any problem. Because I can upload my package from DFU after I program bootloader and program. But I do not want to every single chip to use DFU to program.
What am I wrong?

And is there any other way to do same thing instead of writing bootloader setting? Before I use SDK 12 secure bootloader, I used to use "nrfjprog --memwr 0x03fc00 --val 0x1" to load application instead of dfu mode.

Thank you in advance.

FYI. I used secure bootloader using SDK12, and softdevice 2.0.0. , nrf51822 chip. But my application used SDK 11 but same softdevice version. I reassign memory map by this link. Thank you.

Parents
  • Which specific error do you get from nRF Toolbox? You have to use mergehex to combine the bootloader settings page, the bootloader hex file, the application hex file and the softdevice. You then flash the combined image to your device using nrfjprog and it should branch to the application and not stay in bootloader mode.

Reply
  • Which specific error do you get from nRF Toolbox? You have to use mergehex to combine the bootloader settings page, the bootloader hex file, the application hex file and the softdevice. You then flash the combined image to your device using nrfjprog and it should branch to the application and not stay in bootloader mode.

Children
No Data