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

When reflashing target with Power Profiler Kit attached, the firmware is written to the processor on the PPK, *not* the target

Hello,

I am using the Power Profiler Kit connected on top of an NRF52840-DK

I am using IAR and using IAR's J-LINK plugin to program/debug an application on the DK. However, if the PPK is attached to the DK, then I find that when I attempt to reflash my target firmware from IAR, the target firmware is *not* written to my target (the CPU on the DK) but is instead written to the CPU on the PPK!

Is there something I need to change in my programming flow to make this work?

Currently, if I want to reflash my target firmware, I have to:

1. Close the Power Profile app (or at least 'close device')

2. Unplug USB cable from the DK

3. Physically remove the PPK from the DK

4. Plug the USB cable back into the DK

5. Reflash the target FW

6. Unplug USB cable from the DK

7. Physically re-attach the PPK to the DK

8. Plug the USB cable back into the DK

All the switches on the PPK are in the 'DK' positions, as per the setup instructions.

Thanks!

Parents
  • Hi

    Indeed, you will need to remove the PPK physically in order to program the on-board nRF chip, as the PPK communicates with the debugger when it is mounted. However, your method seems a bit cumbersome. Here are the necessary steps:

    1. Turn off the DK with the ON/OFF button on the DK.

    2. Remove the PPK from the DK

    3. Attach the jumper cable on header P22 to make the DK operate normally again. (As I assume you have cut solder bridge (SB40) which is required to measure current using the PPK).

    4. Turn the DK back on.

    5. Flash the target firmware onto the onboard nRF.

    6. Turn the DK off.

    7. Remove the jumper cable and reattach the PPK onto the DK.

    8. Turn the DK back on and measure current.

    Best regards,

    Simon

Reply
  • Hi

    Indeed, you will need to remove the PPK physically in order to program the on-board nRF chip, as the PPK communicates with the debugger when it is mounted. However, your method seems a bit cumbersome. Here are the necessary steps:

    1. Turn off the DK with the ON/OFF button on the DK.

    2. Remove the PPK from the DK

    3. Attach the jumper cable on header P22 to make the DK operate normally again. (As I assume you have cut solder bridge (SB40) which is required to measure current using the PPK).

    4. Turn the DK back on.

    5. Flash the target firmware onto the onboard nRF.

    6. Turn the DK off.

    7. Remove the jumper cable and reattach the PPK onto the DK.

    8. Turn the DK back on and measure current.

    Best regards,

    Simon

Children
No Data
Related