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

PPK can't program hex file

I'm trying to get the PPK working on my Windows 64 bit machine and with nrf52 DK.

The console will not show up and I'm trying to program the PPK with the "flash_ppk.py". I'm getting an dll load problem for NRFJPROG DLL; I've checked the location and the DLL is present;

C:\Users\kevin\Documents\Kevin Business\Lumen\Slick\Low Power\Current Monitor\nRF6707 Software>flash_ppk.py Traceback (most recent call last): File "C:\Users\kevin\Documents\Kevin Business\Lumen\Slick\Low Power\Current Monitor\nRF6707 Software\flash_ppk.py", line 8, in nrfjprog = API.API('NRF52') File "C:\Python27\lib\site-packages\pynrfjprog\API.py", line 235, in init raise RuntimeError("Could not load the NRFJPROG DLL: '{}'.".format(error)) RuntimeError: Could not load the NRFJPROG DLL: '[Error 193] %1 is not a valid Win32 application'.

This is the installed python packages Checking installed packages pyside: 1.2.4 pyqtgraph: 0.10.0 numpy: 1.12.1 pynrfjprog: 9.1.0

Related