dear nordic employee:
I want to use the PPK measure my hardware I set as the 《PPK_User_Guide_v1.1》 says,and the led1 is ok but the ppk cannot work well the details like the picture shows
dear nordic employee:
I want to use the PPK measure my hardware I set as the 《PPK_User_Guide_v1.1》 says,and the led1 is ok but the ppk cannot work well the details like the picture shows
Got it working now! I used an nrf52dk as the external device under test (DUT). What I did was first program the application on the external DUT via the built in jlink on the nrf52dk. For your use case, you can use the Segger J-Link in the figure you uploaded to program the external DUT. Then, I turned off the external DUT & set up the cables like in the figure. I used another 52DK as my Segger J-Link & connected the SWD cable via the P19 debug out port on the dk. You can just use your Segger J-Link and connect the SWD cable to the Debug In port on the PPK. Remember to set the DUT select switch to External & the Power Select switch to Reg. (both of these switches are on the PPK). Set the COM switch on the PPK to DK instead of EXT! Finally, connect the External DUT positive pin on the PPK to the positive pin on the external supply of your DUT & the negative pin on the External DUT on the PPK to the negative pin of the external supply on your DUT. Remember to power both the Segger J-Link and the PPK via two separate USB cables.
Since the COM switch on the PPK is in the DK position, when you run flash_ppk.py
, you will program the PPK and not the external DUT. Once that has completed successfully, run the ppk.py
file & the PPK SW should start. Remember to use Python 2.7. Hope that helps!
Take a look at Chapter 4 in the PPK User Guide v1.1. Install python 2.7.12. Then, you'll want to install the latest version of pip like shown. Then, run the python_packages.bat file. Then, you can setup everything the way I mentioned in my answer (remember to set COM switch on PPK to DK, not EXT). Could you try running flash_ppk.py
& then ppk.py
& let me know if that works? If you take a look at the flash_ppk.py
code, you can see that it is slightly different to what you have tried in your DOWNLORD WRONG pic. Also, have you downloaded all of the ppk files from here?
Take a look at Chapter 4 in the PPK User Guide v1.1. Install python 2.7.12. Then, you'll want to install the latest version of pip like shown. Then, run the python_packages.bat file. Then, you can setup everything the way I mentioned in my answer (remember to set COM switch on PPK to DK, not EXT). Could you try running flash_ppk.py
& then ppk.py
& let me know if that works? If you take a look at the flash_ppk.py
code, you can see that it is slightly different to what you have tried in your DOWNLORD WRONG pic. Also, have you downloaded all of the ppk files from here?