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

nrf51822 DFU Bootloader w/ gcc and SDK 6.0

Has anyone been able to get the DFU over the air bootloader to work with gcc and the newest SDK (6.0)?

I have followed all the tips I can find on here to get it working. I'm successfully compiling, but the bootloader is not functioning.

Here's some resources I've used: devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../

Interesting behavior I'm seeing:

If I flash the keil version first, then my gcc version, everything is working. It appears the UICR is not being written successfully.

I will gladly share with the community if someone can help me get this working.

Parents
  • Check the section naming of the UICR and Bootload data in boot loader_util. SDK6 changed the section name. You must have the same name in the loader file. Otherwise there is no mapping so it would not work. Once you have them set correctly it will work for gcc.

    Also the DFU must be located at 0x3C000. Would not work otherwise.

  • It's strange. Your ld looks good. Which version of nRFGO are you using ? Try the newest version. The old version that was with SDK5 would not work.

Reply Children
No Data