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

Programming nRF52840 Dongle in nRF Connect Programmer

Hi All,

I was trying to program a simple LED peripheral hex file to the nRF52840 dongle. 

Initially I was  modifying an existing sample program from one of the examples given in the SDK.

The example folder contains several supporting boards such as "pca10056", "pca10059", "pca10040" etc...

I first used the Segger embedded studio project given in "pca10056" folder and built the "hex" file. Which is for the nRF52840 DK.

However, when I start to flashing it using nRF Connect Programmer, it prompts me to select a "Softdevice" version. No matter what I choose it fails.

Then I built the source by using Segger project file in "pca10059 "- which is for the Dongle. Now I was able to flash the "hex" file using nRF Connect programmer.

My question is, is there any hardware specific configurations I need to setup when we program a new board?

If I am going to program my own board, what sort of configurations I should change to flash it to the chip?

Thanks 

Parents Reply
  • Hi Kenneth,

    I am still not clear about the reason why I could not flash the hex using the NRF Connect Programmer.

    Basically in the examples/peripheral/blinky prokect folder, there are few folders.

    One is the DK (pca10056) and the other is the Dongle (pca10059). Both shares the same main.c file. However, for pca10059 the Segger project folder is in "mbr" and for pca10056, Segger project is in "blank" folder.

    I can flash the pca10059_mbr.hex using NRF Connect Programmer software. However, I cannot flash blink_pca10056.hex which was built by compiling the project in pca10056.

    If both DK and Dongle are using the same nrf52840 chip, why I cannot download the blink_pca10056.hex using the NRF Connect Programmer?

    Thank you!!

Children
Related