Open zapta opened 2 years ago
... and here is the tool-nrfjprog directory
~/.platformio/packages/tool-nrfjprog$ ls -al
total 1907
drwxr-xr-x 1 user 197121 0 Apr 18 22:49 .
drwxr-xr-x 1 user 197121 0 Apr 18 22:49 ..
-rw-r--r-- 1 user 197121 170 Apr 18 22:49 .piopm
-rw-r--r-- 1 user 197121 2218 Dec 1 2017 QspiDefault.ini
drwxr-xr-x 1 user 197121 0 Apr 18 22:49 docs
drwxr-xr-x 1 user 197121 0 Apr 18 22:49 headers
-rwxr-xr-x 1 user 197121 125952 Dec 1 2017 highlevelnrfjprog.dll
-rwxr-xr-x 1 user 197121 67584 Dec 1 2017 jlinkarm_nrf51_nrfjprog.dll
-rwxr-xr-x 1 user 197121 87552 Dec 1 2017 jlinkarm_nrf52_nrfjprog.dll
-rwxr-xr-x 1 user 197121 30720 Dec 1 2017 jlinkarm_unknown_nrfjprog.dll
-rwxr-xr-x 1 user 197121 421200 Dec 1 2017 msvcp100.dll
-rwxr-xr-x 1 user 197121 770384 Dec 1 2017 msvcr100.dll
-rwxr-xr-x 1 user 197121 25088 Dec 1 2017 nrfjprog.dll
-rwxr-xr-x 1 user 197121 382976 Dec 1 2017 nrfjprog.exe
-rw-r--r-- 1 user 197121 620 Dec 1 2017 nrfjprog.ini
-rw-r--r-- 1 user 197121 338 Jul 5 2020 package.json
One workaround is to install the Windows jlink package from Segger. Since the platformio jlink documentation says that all dependencies will be provided by paltformio and the user just needs to run InstDrivers.exe, this is still a bug so I am leaving this bug open.
I have a simple nrf52 project that can upload and debug using Segger Mini Edu jlink but it fails when I try the Erase Flash function.
platformio.ini:
error log:
My jlink directory: