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

Bootloader setup

I'm working on a custom bootloader; below is the step taken but it doesn't workout:

  1. By using a working UART example, change the linker script:

MEMORY { FLASH (rx) : ORIGIN = 0x7B000, LENGTH = 0x2B000 RAM (rwx) : ORIGIN = 0x20001F00, LENGTH = 0x6100 } 2. Flash the "dfu_test_softdevice_w_bootloader_b_hci_s132.hex" with jlink commander. 3. Check the UICR, softdevice and application by nrfjprog: (All written in correct addresses)

C:\WINDOWS\system32>nrfjprog --readuicr C:\CM\uicr.txt Reading UICR. Storing data in C:\CM\uicr.txt.

C:\WINDOWS\system32>nrfjprog --readcode C:\CM\flash.txt Reading flash. Storing data in C:\CM\flash.txt.

  1. Reset the DK board.

But it doesn't work at all.

Please help me on this.

Thanks

Related