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

Power Profiler Board got broken

Hi,

I used Power Profiler Kit to measure our Custom module's current consumption. Everything worked perfectly.

Then I closed PPK SW and used SDK to flash new SW to one of our BLE modules/boards. During the flashing I had PPK on top of SDK. Flashing was successful.

But when I tried to run ppk.py SW again, it just claimed that connection issue. LED on PPK-board was not on anymore.

Is the PPK-board broked now?

How to fix it?

Is it not allowed to keep PPK-board on top of SDK while you are flashing?

Thanks and regards,

         -kmalmiv16

  • Hey Kari,

    I believe the PPKs nRF52 have been flashed with the FW intended for the DKs nRF52. We've all done this and there's an easy fix:

    There's a python script in the PPK folder called 'flash_ppk.py'. Run it when the PPK is attached to the DK and it will flash the PPK's nRF52 with the correct PPK FW.  

    The reason why the PPKs nRF52 gets flashed is that the DKs on-board debugger chip is connected to it rather than the DKs. This is because the PPK data samples are routed through it. Complete the following steps in order to flash your DKs nRF52 while the PPK is attatched:

    1. Short P22 on the DK
    2. Set the Power select switch to 'External' on the PPK
    3. Set the COM switch to 'EXT' on the PPK.

    Reverse procedure after flashing. 

    We're building a new application for the PPK. It will be a plugin for the nRF Connect framework, and the user experience should be greatly improved over the old python based application. Release is scheduled for the end of the month, so keep your eyes open for our public announcements. 

    Cheers,

    Håkon.

  • Hi Håkan,

    thanks for your clear and precise reply.

    I did as you presented, but flashing was failing: 'failed, retrying...'

    Rgds,

                  -Kari-

    1. Make sure the COM switch is set to 'DK'
    2. Power select is set to 'DK'
    3. DUT select is set to 'External'
    4. P22 on the DK is open. 
  • Hi Håkan again,

    now I succeeded to flash it, the COM switch have to be in DK position.

    Thanks for your quick and useful reply!

    Rgds,

               -Kari-

  • two years later this is still very useful.  Ubuntu 18 here, same problem (repeatedly)  The message by the Power Profiler is ambiguous: "Device must be programmed, do you want to proceed?"  I'm looking at two goddamn devices, plugged into each other - which one are you going to re-program.  And why do I need reprogramming?  I program the DK2 through Segger and power cycle,  and the PPK should not need any reprogramming.   

    But thank you Håkon for providing a solution.

Related