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

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
eez-open
Active Member
Posts: 60
Joined: Mon Oct 23, 2017 1:49 pm
Location: Croatia
Contact:

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

Post 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.


View Solution
User avatar
eez-open
Active Member
Posts: 60
Joined: Mon Oct 23, 2017 1:49 pm
Location: Croatia
Contact:

Post by eez-open »

Not likely, I had established communication with xTAG and can e.g. upload program code into MCU memory.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Some chatter here on your Linux distribution...

http://www.xcore.com/viewtopic.php?t=4582
User avatar
eez-open
Active Member
Posts: 60
Joined: Mon Oct 23, 2017 1:49 pm
Location: Croatia
Contact:

Post 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. ?
User avatar
eez-open
Active Member
Posts: 60
Joined: Mon Oct 23, 2017 1:49 pm
Location: Croatia
Contact:

Post by eez-open »

Oops, I find a problem: instead of ./SetEnv one have to enter source SetEnv. Case closed.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Great. Yes, galmonte noted the same in step 2 in the above url.
Post Reply