I've connected my nRF51822 mKit to my Linux system via a USB cable. While trying to upload code on the board, I got the following error:
SEGGER J-Link Commander V5.12g (Compiled May 27 2016 17:03:43) DLL version V5.12g, compiled May 27 2016 17:03:38
Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB. Unknown command. '?' for help.
How do I resolve this?