xrun -l device ID problems Topic is solved

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
dsdanielko
Active Member
Posts: 33
Joined: Sat Mar 12, 2016 3:12 pm

xrun -l device ID problems

Postby dsdanielko » Mon Jun 27, 2016 6:10 pm

Hi

I have several startKITs connected to the computer via USB. Is there a way to reliably tell which device/USB port will have the ID of 0? I ask this because I have set the startKIT with the ID of 0 to be the master startKIT and so it has a unique binary compared to the other startKITs. The master startKIT is connected to an external circuit and so I would very much like this startKIT to stay the master regardless of if the startKITs are removed, reconnected, the computer restarted and more. So is there a way to set device ID to a specific USB port or something similar?

I have also noticed running xrun -l for the first time after a startKIT is plugged in reconnects all the startKITs.

Please help

Thanks
View Solution
henk
Respected Member
Posts: 346
Joined: Wed Jan 27, 2016 5:21 pm

Postby henk » Mon Jun 27, 2016 7:24 pm

Hi,

I think you can use

Code: Select all

xrun --adapter-id 12365123
that way you can address each one uniquely?

Cheers,
Henk
dsdanielko
Active Member
Posts: 33
Joined: Sat Mar 12, 2016 3:12 pm

Postby dsdanielko » Tue Jun 28, 2016 7:20 am

If I use that do I need to find the adapter numbers for every startKIT? I am currently running all the startKITs using a for loop in a batch file.
henk
Respected Member
Posts: 346
Joined: Wed Jan 27, 2016 5:21 pm

Postby henk » Tue Jun 28, 2016 7:46 am

Yes, you do. But they never change.

If you are using Linux or macosx:

Code: Select all

for a in asdfhh ertyui ccvbnm
do
   ...
done
And I assume windows will have an equivalent structure.

Cheers
Henk

Who is online

Users browsing this forum: No registered users and 3 guests