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

Trouble setting up for nRF52840 Dongle

I have a project I have been working on for a touch switch using the nRF52840. I have been developing it using NRF Connect 1.6.0 and testing it on the nRF52840DK board. It is working quite well now so I want to program a couple of dongles and run it in a real world test.

First of all I do not understand how to reconfigure my prject to use the dongle hardware. This was pretty easy using the nRF5 setups a year ago but it seems that the project configuration is set up at the start for a particular hardware device and cannot easily be changed. To circumvent this I created a new project and chose the nRF52840 Dongle as the board. I set all the required flags for peripherals etc and the program compiles and creates a Zephyr Merged hex file.My problem now is that I I drop that hex file into the programmer the write button stays disabled. It looks like the programmer does not see the memory configuration as valid yet the project configuration states that it should be linked for the boot loader.

What am I missing here? Is there some documentation that explains how to do what I am trying to do, i.e. take a project developed on the DK and program it for a dongle or some other hardware?

nRF5

  • Hi,

    Ah, I see. The ZigBee examples do not support the nRF52840 dongle so in that case you need to make some adjustments as described in this post.

  • Thanks for the link Einar. I got my code to work at last. I should have looked more closely but for some reason I was not expecting everything to have moved backwards quite so much. I remember when I first started fiddling with Zigbee and the nRF52840 that all the samples would work happily on the DK and the dongle. It seems that with every new release of the development environment it gets significantly more complicated and ignores most of the previous examples and settings. I moved to the NRF Connect SDK as I believed that is where things are being developed now but there is a lot of stuff that worked fine with the older SDK environments that is not supported, missing or simply doesn.t work with the current setup. I use the dongle because it is a very handy device for simple Zigbee stuff at a very affordable price. It seems that Nordic have all but abandoned it, and to some extent Zigbee too.

Related