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

Failed to start PPK

Hi, 

I have nrF52840 DK rev 2.0.1

switch to VDD, Default, SB40 is cut (confirmed by multimeter)

I have the PPK rev 1.1.1

switch DUT to DK

switch Power to DK

I can run the program with segger IDE (and only with PPK as i cut SB40)

nrfConnect is 3.6.1

OS : Windows 10

When i run Power Profiler (3.1.0) i can't connect the device.

Here is the log file : 

2021-02-16T15:43:10.666Z INFO Application data folder: C:\Users\XXXXXX\AppData\Roaming\nrfconnect\pc-nrfconnect-ppk
2021-02-16T15:43:10.756Z DEBUG App pc-nrfconnect-ppk v3.1.0 official
2021-02-16T15:43:10.756Z DEBUG App path: C:\Users\XXXXXX\.nrfconnect-apps\node_modules\pc-nrfconnect-ppk
2021-02-16T15:43:10.756Z DEBUG nRFConnect 3.6.1 is supported by the app (^3.6.1)
2021-02-16T15:43:10.756Z DEBUG nRFConnect path: C:\Users\XXXXXX\AppData\Local\Programs\nrfconnect\resources\app.asar
2021-02-16T15:43:10.756Z DEBUG HomeDir: C:\Users\XXXXXX
2021-02-16T15:43:10.756Z DEBUG TmpDir: C:\Users\XXXXXX\AppData\Local\Temp
2021-02-16T15:43:11.669Z VERBOSE Could not fetch serial number for serial port at COM1
2021-02-16T15:43:13.929Z INFO Validating firmware for device with s/n 000683XXXXXX
2021-02-16T15:43:14.472Z INFO Opening device with s/n 000683XXXXXX
2021-02-16T15:43:14.565Z INFO Initializing the PPK
2021-02-16T15:43:14.979Z INFO SEGGER serial number: 683XXXXXX
2021-02-16T15:43:14.979Z INFO SEGGER speed: 2000 kHz
2021-02-16T15:43:14.979Z INFO SEGGER version: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
2021-02-16T15:43:20.982Z ERROR Failed to start PPK
2021-02-16T15:43:20.983Z DEBUG Timed out in 6000 ms.
2021-02-16T15:43:21.065Z INFO PPK opened
2021-02-16T15:43:25.476Z ERROR Error while probing devices: Error occured when get serial numbers. Errorcode: Could not execute the function due to too many calls in line (0xe)

Parents Reply
  • Hi,

    lilian brun said:
    USB cable seem to work as i can see debug log in the terminal and upload new code to the DK with or without PPK

    The debugger on the DK is used both for programming the PPK and the DK. Unless SW3 is set to EXT, you shouldn't be able to flash the DK with the PPK stacked ontop of it. If you're able to program the DK with the PPK stacked ontop, then it means that the PPK isn't registered by the debugger. This should only happen if the voltage on the PPK is too low to be detected on the SWD lines.

    Can you try to connect an external 3V source to the "external supply" pin on the PPK, and put the "power select" switch in the "External" position. Then try to reconnect the PPK and see if the FW is successfully flashed to the PPK after clicking yes to the "The board needs to be programmed" message"? 

    regards

    Jared 

Children
Related