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

Power Profiler: Failed to start the PPK

Hello!
Im running Power Profiler to measure current. I have uppdated nRF Connect from v2.7.0.0 to v3.0.0 and now the Power Profiler does not work as it did before. I am using Windows 10.  I get this logfile:
2019-07-16T04:51:17.579Z INFO Application data folder: C:\Users\H863260\AppData\Roaming\nrfconnect\pc-nrfconnect-ppk
2019-07-16T04:51:17.583Z INFO App initialized
2019-07-16T04:51:17.747Z DEBUG App pc-nrfconnect-ppk v2.2.0 official
2019-07-16T04:51:17.748Z DEBUG App path: C:\Users\H863260\.nrfconnect-apps\node_modules\pc-nrfconnect-ppk
2019-07-16T04:51:17.748Z DEBUG nRFConnect 3.0.0 is supported by the app (^3.0.0)
2019-07-16T04:51:17.748Z DEBUG nRFConnect path: C:\Users\H863260\AppData\Local\Programs\nrfconnect\resources\app.asar
2019-07-16T04:51:17.748Z DEBUG HomeDir: C:\Users\H863260
2019-07-16T04:51:17.748Z DEBUG TmpDir: C:\Users\H863260\AppData\Local\Temp
2019-07-16T04:51:24.636Z INFO Validating firmware for device with s/n 000682414075
2019-07-16T04:51:24.642Z INFO PPK closed
2019-07-16T04:51:30.452Z INFO Opening device with s/n 000682414075
2019-07-16T04:51:30.452Z INFO PPK opened
2019-07-16T04:51:30.459Z INFO Initializing the PPK
2019-07-16T04:51:38.419Z INFO SEGGER serial:  682414075
2019-07-16T04:51:38.419Z INFO SEGGER speed:  2000  kHz
2019-07-16T04:51:38.419Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
2019-07-16T04:51:44.432Z ERROR Failed to start the PPK.
2019-07-16T04:51:44.435Z DEBUG
2019-07-16T04:51:44.435Z INFO Deselecting device
2019-07-16T04:51:44.439Z INFO PPK closed
2019-07-16T04:51:52.738Z INFO Validating firmware for device with s/n 000682414075
2019-07-16T04:51:52.740Z INFO PPK closed
2019-07-16T04:52:09.260Z ERROR Error while setting up device 000682414075: Error occured when close opened device. Errorcode: CouldNotOpenDevice (0x4)
Lowlevel error: NO_EMULATOR_CONNECTED (fffffff3)
2019-07-16T04:52:09.261Z INFO Deselecting device
2019-07-16T04:52:09.265Z INFO PPK closed
At the first time I try to connect I get this:2019-07-16T04:51:44.432Z ERROR Failed to start the PPK.
At the second time I try to connect I get this :2019-07-16T04:52:09.260Z ERROR Error while setting up device 000682414075: Error occured when close opened device. Errorcode: CouldNotOpenDevice (0x4)Lowlevel error: NO_EMULATOR_CONNECTED (fffffff3).
The Programmer app works fine. 
I have uninstalled nRF Connect and reinstalled it again but the result is the same. Any suggestions what to do?
Thanks in advance.
Parents Reply Children
  • Updated to JLink_Windows_V646j. Power Profiler works perfect at the first test. Disconnect and connect again and I get "ERROR Failed to start the PPK". USB cable has been changed with same result.
    Now I have downgraded to nRF Connect v2.7.0 and Power Profiler v2.1.0 restarted the computer and I get the same result:
    2019-07-18T13:59:56.348Z DEBUG App pc-nrfconnect-ppk v2.1.0 local
    2019-07-18T13:59:56.348Z DEBUG App path: C:\Users\H863260\.nrfconnect-apps\local\pc-nrfconnect-ppk
    2019-07-18T13:59:56.348Z DEBUG nRFConnect 2.7.0 is supported by the app (^2.4.0)
    2019-07-18T13:59:56.348Z DEBUG nRFConnect path: C:\Users\H863260\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-07-18T13:59:56.348Z DEBUG HomeDir: C:\Users\H863260
    2019-07-18T13:59:56.348Z DEBUG TmpDir: C:\Users\H863260\AppData\Local\Temp
    2019-07-18T14:00:00.483Z INFO Validating firmware for device with s/n 000682414075
    2019-07-18T14:00:24.039Z INFO Opening device with s/n 000682414075
    2019-07-18T14:00:24.041Z INFO PPK opened
    2019-07-18T14:00:24.041Z INFO Initializing the PPK
    2019-07-18T14:00:31.672Z INFO SEGGER serial:  682414075
    2019-07-18T14:00:31.672Z INFO SEGGER speed:  2000  kHz
    2019-07-18T14:00:31.672Z INFO SEGGER version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
    2019-07-18T14:00:37.680Z ERROR Failed to start the PPK.
  • Problem solved. It was the anti virus program Cylance that was causing the problem. I uninstalled it and now the PowerProfiler works again. Strange thing is that the nRF Connect/Programmer worked correct but not the PowerProfiler. 

    Stian, thank you for trying to help me.

  • Ok, glad to hear it worked out in the end! And thanks for reporting back. I'll forward this to the developers so they can look into it

Related