No acces to XTAG3 with XTC 15.1.0

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
SGapp
Member++
Posts: 21
Joined: Mon May 04, 2020 4:32 pm
Location: Berlin, Germany

No acces to XTAG3 with XTC 15.1.0

Post by SGapp »

Hey everybody,
I am trying to get the XTC toolchain to work.
I followed the steps in the documentation (https://www.xmos.ai/documentation/XM-01 ... -the-tools) and I am stuck at "Check XTAG access".
Setup:
- Windows 10 Pro, running on Parallels Desktop 16
- XK-AUDIO-216-MC-AB Eval Kits. I have two of them and both show the same behavior.

I connect the XTAG3 programmer to the board and power everything up.
When I run

Code: Select all

xrun -l
This results in

Code: Select all

Available XMOS Devices                                                                                                   
----------------------                                                                                                                                                                                                                              
No Available Devices Found
Runninig the command again results in

Code: Select all

Unexpected loader_to_jtag() failure. The XTAG requires a power-cycle. Error = -1                                                                                                                                                                
Available XMOS Devices                                                                                                  
----------------------                                                                                                                                                                                                                            
No Available Devices Found
Quick edit:
I tried the same procedure with macOS 10.15.7 (Catalina) and after allowing all the unsigned applications to run, the device is shown.

Does anybody have a hint how to proceed here?


phineastfreakears
Newbie
Posts: 1
Joined: Wed Aug 11, 2021 10:15 am

Post by phineastfreakears »

You say you tried the same with Catalina, but was that using "Parallels Desktop"? I believe the tools will access the xtag over USB natively on Mac, linux and windows, but they don't work on an emulator/VM/hypervisor.
SGapp
Member++
Posts: 21
Joined: Mon May 04, 2020 4:32 pm
Location: Berlin, Germany

Post by SGapp »

The situation I described in my first post runs the XTC toolchain on Windows 10 in Parallels Desktop. Parallels Desktop runs on Catalina. I had no success with that setup.
Since the documentation explicitely describes XTAG from a VM (https://www.xmos.ai/documentation/XM-01 ... ithin-a-vm), I assumed this could work.

I will stay on macOS for now.
UlrikVH
Newbie
Posts: 1
Joined: Thu Aug 26, 2021 10:50 am

Post by UlrikVH »

Hi,

I'm also having a problem with accessing the XTAG3 on Windows. This is the error I get:

$ xrun -l
Fatal error: XMOSXTAG3 Windows Service is not running. This is installed by the XMOS xTIMEComposer installer and configured to start automatically. Check it is running.
Available XMOS Devices
----------------------

No Available Devices Found

When trying to run the service from the windows services menu, I'm getting error code 1067. If I unplug the XMOS XTAG3 I'm able to run the service. When it plug it back in, the service stops.
In the meantime, I've set up a virtual machine using virtualbox (Debian Linux) and I've managed to connect to the XTAG adapter. It is clear that this problem is related to Windows and not to my XTAG adapter. Are there any suggestions how I can make it work on Windows as well? Are there other people experiencing the same problem? Let me know so I can report this as a bug.

Kind regards,

Ulrik
Last edited by UlrikVH on Thu Aug 26, 2021 11:29 am, edited 3 times in total.
User avatar
aclassifier
Respected Member
Posts: 483
Joined: Wed Apr 25, 2012 8:52 pm
Contact:

Post by aclassifier »

Just for the record, it works on macOS 10.14.6 Mojave (https://www.teigfam.net/oyvind/home/tec ... tag_access) (disclaimer: no ads or gifts etc.)
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

I recently upgraded to Catalina on my main Mac and having found that I'd broken the JRE install in the process, and in an attempt to find a solution I created a Mojave VM under Parallels and installed xTIMEcomposer. Whilst I can build a project ok, the xrun -l command also results in 'No Available Devices Found' even though Parallels itself detects that the xTAG3 is connected. So I think the issue is that the XMOS tool chain can't communicate with it via the Parallels VM.

Thankfully I have a reserve Mac still running Mojave so will use that for the moment, but will try Oracle VM VirtualBox Manager as mentioned in the XMOS documentation:

https://www.xmos.ai/documentation/XM-01 ... -the-tools

https://www.oracle.com/uk/virtualizatio ... loads.html
User avatar
aclassifier
Respected Member
Posts: 483
Joined: Wed Apr 25, 2012 8:52 pm
Contact:

Post by aclassifier »

It's too bad, really, that we'd have to keep legacy macOS machines - even for the newer toolset. (Or did I get that wrong?)
Off Topic
I certainly do it for the older toolset: 14.4.1 on a reserved machine!. I guess we'd have to live with it since it was so based on Java and Eclipse (?)
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
Post Reply