Hi,
The following command will not work:
> "/mnt/c/Program Files/Nordic Semiconductor/nrf-command-line-tools/bin/nrfjprog.exe" --family NRF52 --program "/mnt/c/Nordic Semiconductor/nRF5SDK/nRF5_SDK_17.0.2_d674dde/components/softdevice/s132/hex/s132_nrf52_7.2.0_softdevice.hex" --snr 682436173
I get this error:
Parsing image file.
ERROR: The file specified could not be found.
But the following does work and I don't know why:
> cd "/mnt/c/Nordic Semiconductor/nRF5SDK/nRF5_SDK_17.0.2_d674dde/components/softdevice/s132/hex/"
> "/mnt/c/Program Files/Nordic Semiconductor/nrf-command-line-tools/bin/nrfjprog.exe" --family NRF52 --program "s132_nrf52_7.2.0_softdevice.hex" --snr 682436173
My question is this: Why doesn't it work to give the full path to --program ? Is this a bug with nrfjprog?
My setup is
- CMake 3.19.3
- WSL2 (with UBuntu 20.04)
- Visual Studio Code 1.52.1
- Ninja
- nRF52 SDK (17.0.2_d674dde)