I recently obtained a PPK from Mouser and plugged it in my nRF52DK. I use it to measure current of an external device.
When NRFConnect "connects", it works great. However, for it to connect, I need to connect, disconnect about 10 times for it to get a reliable connection.
I tried replacing the USB cable and re-seating the PPK onto the nRF52DK.
I also re-flashed the firmware. Unfortunately, nothing I have tried has improved the reliability of the connection between my PC and the PPK.
Do I have a defective PPK, nrf52DK or is this a software issue that Nordic needs to resolve in the firmware or application?
I would expect to connect successfully the first time, every time I need to use it and not have to try and re-try (and re-try (and re-try)) to make it work.
Here is the log I get:
I use nrf Connect 2.6.1.
What steps did you do when you flashed the application and the PPK firmware?
Did you follow the Quick Start guide?
Here is what I did:
Step 1 - skipped cutting traces on the DK because I measure the current of an external device (not the DK)
Step 2 - installed the PPK on top of the DK
Step 3 - Connected USB cable to DK
Step 4 - Set the switches for the external DUT
Step 5 - Installed nRF Connect
Step 5b - Installed PPK application in nrf Connect
Step 6 - Started the PPK application
Stap 7 - I connect to COM17 (that's the com port of my DK)
Step 8 - when prompted to flash the firmware, I accepted.
The steps above follow pretty much the Quick start guide (Very little can go wrong; it's pretty simple)
At anytime I need to re-use the PPK, I follow these steps:
Step 1 - I plug in my device under test,
Step 2 - I connect the computer to the DK
Step 3 - I turn on the power switch on the DK.
Step 4 - I start the PPK application
Step 5 - I connect to COM17 using the top left dropdown
Step 6 - IF it connects successfully, I start using the DK.
Step 6 is usually where it fails. On average, I need to connect/disconnect to com17 between 5 and 10 times before it will successfully connect. Once connected and running for a few seconds, it rarely fails.
Is the switch COM set to DK? (Note that its set to EXT on the picture, which is wrong)
I haven't touched that switch. It appears that the default is towards DK and it's still there. (It's lined-up with the white line)
Are you doing any programming of the device when you "re-use" the PPK?