This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to program PCA10028 by drag and drop

Hello,

I want to use the Segger drag and drop programming feature on the PCA10028. I have got a running application with the S120 softdevice. To use the mass storage drag and drop feature of the PCA10028, I merged my application .hex file and the sofdevice .hex file into one complete.hex file with the nordic mergehex.exe tool.

When I drop the new app.hex file to the mass storage device, It seems that nRF51422 chip gets reprogrammed, but the application doesn`t start execution.

Is there any thing wrong in my workflow?

Regards, BTprogrammer

Parents
  • What is the role of your application? if you program softdevice and application separately with nrfjprog does your application work? Are you able to debug your application, if yes, then find out where it fails.

  • Hello again,

    I think I found my mistake. It seems that the order of how to merge the .hex files assumes a role:

    mergehex.exe -m application.hex s120_softdevice.hex -o complete.hex --> works fine with drag and drop feature

    mergehex.exe -m s120_softdevice.hex application.hex -o complete.hex --> doesn`t work with drag and drop feature

    Now I`m able to use the drag and drop feature. Thanks for support.

    Regards, BTprogrammer

Reply
  • Hello again,

    I think I found my mistake. It seems that the order of how to merge the .hex files assumes a role:

    mergehex.exe -m application.hex s120_softdevice.hex -o complete.hex --> works fine with drag and drop feature

    mergehex.exe -m s120_softdevice.hex application.hex -o complete.hex --> doesn`t work with drag and drop feature

    Now I`m able to use the drag and drop feature. Thanks for support.

    Regards, BTprogrammer

Children
No Data
Related