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.

  • Good morning,

    What do you mean with "role"? The BLE role? My application runs as an peripheral.

    Yes, If the softdevice and my application .hex files are programmed separately with nrfjprog, it works. I used the following commands:

    1. nrfjprog.exe --program s120_softdevice.hex --chiperase
    2. nrfjprog.exe --program application.hex
    3. nrfjprog.exe --run

    But if I use the mass storage drag and drop feature, it seems as the device doesnt even start running. So I dont know how to debug the application when using the drag and drop feature.

    Regards, BTprogrammer

Reply
  • Good morning,

    What do you mean with "role"? The BLE role? My application runs as an peripheral.

    Yes, If the softdevice and my application .hex files are programmed separately with nrfjprog, it works. I used the following commands:

    1. nrfjprog.exe --program s120_softdevice.hex --chiperase
    2. nrfjprog.exe --program application.hex
    3. nrfjprog.exe --run

    But if I use the mass storage drag and drop feature, it seems as the device doesnt even start running. So I dont know how to debug the application when using the drag and drop feature.

    Regards, BTprogrammer

Children
No Data
Related