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

nRF52840 Dongle: How to program both Softdevice and app?

Hello Nordic experts,

I just received an nRF52840 USB Dongle and I am trying to run one of the examples with softdevice. I am working on nRF5_SDK_15.0.0_a53641a. So, I first rebuilt the example "\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_blinky\pca10059" using SES. I then followed these steps but does not work.

1. I opened nRF Connect v4.2.0 and launched Programmer (experimental).

2. I added both Softdevice and the example app hex files at the same time, but it says: "Only single write-able region is supported."

3. So, I first wrote the Softdevice to the dongle.

4. I then added the example hex file (Please refer to the attached photo) and wrote it to the dongle.  However, the example does NOT work.

5. I pressed the reset button again and selected the device in nRF Connect, it seems that the Softdevice is gone. I can only see the app. Please see the attached photo.

Can you please help me know what is wrong here? 

Thanks

Parents
  • Hi,

    You will need to wait until the next version of nrf connect (v2.5.0) is out. It should be out roughly end of next week. Then, you will be able to use the programmer v1.0.0-3 experimental to program the softdevice & application in the same "merged" hex file. You can then drag & drop two different hex files in the programmer app & the app will merge the hex files & do the DFU of the 52840 dongle. I have tested this myself & it works very well. 

    Kind Regards,

    Bjørn

Reply
  • Hi,

    You will need to wait until the next version of nrf connect (v2.5.0) is out. It should be out roughly end of next week. Then, you will be able to use the programmer v1.0.0-3 experimental to program the softdevice & application in the same "merged" hex file. You can then drag & drop two different hex files in the programmer app & the app will merge the hex files & do the DFU of the 52840 dongle. I have tested this myself & it works very well. 

    Kind Regards,

    Bjørn

Children
Related