Bootloader programming for nRF52840 Dongle

hello

I had developed code based on the example ble_beacon_app and tested on nRF52840DK.  That worked fine.   I need to make the same work on the nRF52840 dongle.   I followed the instructions of nRF52840 Dongle user guide and nRF52840 Dongle Programming Tutorial.  

I also tested the blinky_LED sample for PCA10059 and it works fine on the dongle.   But, I cannot make my code work on the dongle.

I changed the preprocessor defines to PCA10059 and followed the guidelines for adapting the BLE example ( with softdevice).   Please see the memory map and attached doc.   The green area is my app.  Blue is the softdevice and orange is the MBR.

Clarifications Needed:

  • The hex file still shows as pca10056_s140.hex. Should it not change to pca10059?
  • Bootloader is able to program.
  • But, it appears that code does not work.  

Any ideas how to overcome this issue?   Thank you.

dongle_prob.pdf