nrfjprog Error -"Worker process is dead, cannot execute command" - Ubuntu Docker Container

Hello,

I am currently trying to get our nRF52 development workflow working in a Docker container. I have been able to compile the firmware in the container and debug it using a remote JLink sever however I am unable to flash the firmware using nrfjprog whilst in the container.

Host: Windows 10

Guest: Ubuntu 20.04 - Dockerfile

When I run (or any nrfjprog command):

nrfjprog -i --log 

I get the following error log:

[2022-Jan-31 16:13:56] [ info] --------------------------------------------------------------------------------
[2022-Jan-31 16:13:56] [ info] nrfjprog -i --log
[2022-Jan-31 16:13:56] [ info] nrfjprog version 10.15.2 external
[2022-Jan-31 16:13:56] [ info] --------------------------------------------------------------------------------
[2022-Jan-31 16:13:56] [ info] Load library at /opt/nrf-command-line-tools/lib/libnrfjprogdll.so.
[2022-Jan-31 16:13:56] [ info] Library loaded, loading member functions.
[2022-Jan-31 16:13:56] [ info] Member functions succesfully loaded.
[2022-Jan-31 16:13:56] [debug] [ Client] - open
[2022-Jan-31 16:13:56] [debug] [ Client] - start
[2022-Jan-31 16:13:56] [error] [ Client] - Worker process is dead, cannot execute command.
[2022-Jan-31 16:13:56] [debug] [ Client] - terminate
The error is the same as seen on the nrfjprog not working on raspberry pi 4 post but the solution of "LANGUAGE=en nrfjprog -i" did not work for me.
I was wondering if anyone else has come across this issue and found a solution?
Many thanks,
Archie
Parents Reply Children
No Data
Related