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

How to add bootloader in my custom project

Hi,

so far I have been programming my custom nrf52840 device through the debug out connector of the nRF52840 DK and a custom programming connector.

Now I would like to add bootloader functionality so I can use only the usb cable for programming, I checked the open bootloader example in the dfu folder of the sdk

and re-programmed the hex file to a spare nrf52 dongle I have for testing. 

Then I  programmed my custom board with the open_bootloader .hex  file so that I can modify its memory with nRF Connect  by adding my custom code, the softdevice and the bootloader again.

But it seems that the blocks of memory of the softdevice and my custom code , overlap at some point. How can I move the custom code memory block to another location in flash?

Thank you

Parents Reply Children
No Data
Related