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

The nRF52840 development kit programming after softdevice programing

Hello Nordic, for my project work i am using nrf52840 dk. with segger embeded studio i drag and drop  the s140 softdevice hex file into the J-Link (chip PCA10056). and i tried to run other sdk example and  it was work fine so Development kit work perfectly  now i want to run my own project code .hex file so how can i do? 

Becuse i noticed that when i run new example every time chip automaticaly erase the previous example.  so as per my understanding i need softdevice in the chip with my own project code so how it will possible? (to run both the softdevice and project code together)

Parents
  • Hey

    I recommend using the nRFConnect for Desktop Programmer app. Here you can drag and drop both the SoftDevice .hex file and your custom application's output .hex file into the file memory layout.

    Please follow these steps (reads are not necessary, but nice if you want to confirm that the flash has been successful.

     1. Choose your device.

     2. Add the SoftDevice and your Output hex files. You'll have to browse for them, but the paths should be similar to the screenshot.

     Once you've chosen the files you want to flash onto your device, Erase & write. You can read afterwards to see that the same files are on your device.

Reply
  • Hey

    I recommend using the nRFConnect for Desktop Programmer app. Here you can drag and drop both the SoftDevice .hex file and your custom application's output .hex file into the file memory layout.

    Please follow these steps (reads are not necessary, but nice if you want to confirm that the flash has been successful.

     1. Choose your device.

     2. Add the SoftDevice and your Output hex files. You'll have to browse for them, but the paths should be similar to the screenshot.

     Once you've chosen the files you want to flash onto your device, Erase & write. You can read afterwards to see that the same files are on your device.

Children
No Data
Related