Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bootloader, that makes in armgcc doesn't work.

Hello, i use nRF5_SDK_12.3.0_d7731ad. I took this tutorial https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader and according to my nRF51422 compile my keil project. I Have good result in uploading firmware. But I have tried to make the the relevant action in armgcc project, bootloader successfully compiled and uploaded, i see advertising DfuTarg in my NRF connect at my phone, but i can't connect it, therefore i can't upload my firmware. Have someone the similar problem, or how can i fix my problem?
Best regards, Anton.

Parents Reply
  • We have seen some problems with the most recent versions of GCC 7 (e.g, in this thread). Recommend to try and older version and see if that helps. Alternatively, try to re-build the bootloader without link time optimization (i.e., remove -flto flag in makefile).

    Note that we used GCC ARM Embedded 4.9 2015q3 for testing and verification of SDK 12.x.x. Full list of tested toolchains are included in the SDK release notes.

Children
Related