Page 1 of 1

xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 10:07 am
by eez-open
I started to evaluate xflash command line utility and when entered ./xflash -l on Ubuntu 16.04 LTS I got the following response:

xrun: Unable to access XMOS tools, environment not setup correctly
Failed to run list-devices command
Failed to run list-devices command


I presume that executing ./SetEnv is needed, but that doesn't resolve the problem. If just ./xflash is entered I got the following error:

Error: F03084 Device list discover failed.
Error: F03084 Device list discover failed.

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:26 am
by mon2

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:28 am
by eez-open
Not likely, I had established communication with xTAG and can e.g. upload program code into MCU memory.

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:36 am
by mon2
Some chatter here on your Linux distribution...

http://www.xcore.com/viewtopic.php?t=4582

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:41 am
by eez-open
:) Yes, that is a known and still not fixed issue. One should fix that to see anything on the xTIMEcomposer on linux (not just Ubuntu), what I already fixed. But here I have a problem with a command line.
Anyway, any idea about that Error: F03084 Device list discover failed. ?

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:44 am
by eez-open
Oops, I find a problem: instead of ./SetEnv one have to enter source SetEnv. Case closed.

Re: xrun: Unable to access XMOS tools, environment not setup correctly

Posted: Thu Feb 22, 2018 11:54 am
by mon2
Great. Yes, galmonte noted the same in step 2 in the above url.