Permission denied

Greetings,
I’m trying to compile the blink example on the nRF52480DK. All verifies with no errors but on compiling I get:

[info] Searching for /home/iomari/code/nRF52480DK/Hello_Zerynth/builtins.py
[info] Searching for /home/iomari/.zerynth2/dist/r2.6.1/stdlib/builtins.py
[info] ########## STEP 0 - first pass
[info] Compiling module: main @ /home/iomari/code/nRF52480DK/Hello_Zerynth/main.py
[info] Searching for /home/iomari/code/nRF52480DK/Hello_Zerynth/builtins.py
[info] Searching for /home/iomari/.zerynth2/dist/r2.6.1/stdlib/builtins.py
[info] Compiling module: builtins @ /home/iomari/.zerynth2/dist/r2.6.1/stdlib/builtins.py
[info] Searching for /home/iomari/code/nRF52480DK/Hello_Zerynth/streams.py
[info] Searching for /home/iomari/.zerynth2/dist/r2.6.1/stdlib/streams.py
[info] Compiling module: streams @ /home/iomari/.zerynth2/dist/r2.6.1/stdlib/streams.py
[info] ########## STEP 0 - second pass
[info] Compiling module: main @ /home/iomari/code/nRF52480DK/Hello_Zerynth/main.py
[info] Searching for /home/iomari/code/nRF52480DK/Hello_Zerynth/builtins.py
[info] Searching for /home/iomari/.zerynth2/dist/r2.6.1/stdlib/builtins.py
[info] Compiling module: builtins @ /home/iomari/.zerynth2/dist/r2.6.1/stdlib/builtins.py
[info] Searching for /home/iomari/code/nRF52480DK/Hello_Zerynth/streams.py
[info] Searching for /home/iomari/.zerynth2/dist/r2.6.1/stdlib/streams.py
[info] Compiling module: streams @ /home/iomari/.zerynth2/dist/r2.6.1/stdlib/streams.py
[info] ########## STEP 4 - generate binary
[info] Resource table at 976 0x3d0
[info] Saving to /home/iomari/.zerynth2/tmp/zstudio.vbo
[info] Compilation Ok
[warning] Exception in usb discover: [Errno 13] Permission denied
[info] Searching for device b6cc257e77d965d7c9a281b3255b0f758982d986 with alias zs:nordic_pca10056:b6cc257e77d965d7c9a281b3255b0f758982d986
[warning] Exception in usb discover: [Errno 13] Permission denied
[info] Checking layout…
[info] No active layout found
[info] Probing attempt: 1
[info] Probing attempt: 2
[info] Probing attempt: 3
[error] Something wrong during the probing phase: too late reset or serial port already open?

Any assistance would be greatly appreciated.

Thanks in advance
iomari

Found the problem. I had to install a virtual device. All is well now.

1 Like