Page 1 of 2

Installing New Hardware

Posted: Fri May 01, 2015 6:39 pm
by gerrykurz
I am getting this error message from xTime Composer 14.0.1
xcc: error: unknown target `500RACK'
Then a list of supported targets and then this:
Additional targets can be installed from within the xTIMEcomposer Studio
using the "Install New Hardware..." option.
I cannot find any information on how to do this.

I am building a modified version of the AVB endpoint application to run on my hardware with a custom xn file.

Re: Installing New Hardware

Posted: Fri May 01, 2015 7:08 pm
by Ross
I guess your makefile has something like TARGET=500RACK?

Your xn file is called 500RACK.xn?

Re: Installing New Hardware

Posted: Sat May 02, 2015 2:36 am
by gerrykurz
Yes that is correct....

Re: Installing New Hardware

Posted: Sat May 02, 2015 6:18 pm
by gerrykurz
I have another version of the project where I created a custom xn file and I called it SLICEKIT-L2-CHAIN and it compiles fine.

However, SLICEKIT-L2-CHAIN is not in the list of installed targets when I get the error message using 500RACK as a target.

So what it going on here?

Re: Installing New Hardware

Posted: Sun May 03, 2015 7:11 pm
by gerrykurz
So I renamed the target to SLICEKIT-L2-RACK and everything compiles fine.

So how do I install a new target called 500RACK?

Re: Installing New Hardware

Posted: Mon May 04, 2015 6:28 pm
by gerrykurz
Does anybody know anything about this?

Re: Installing New Hardware

Posted: Tue May 05, 2015 8:17 am
by kris
The targets (XN files) are populated from the directories set in your XCC_TARGET_PATH environment variable. By default this contains the 'targets' directory in the tools install, and the .xmos/targets directory in your home area. Therefore, if you create a directory in either of these 2 places, and put your new target here, then the tools should pick it up. (You might need to restart the xtimecomposer gui though).

Alternatively, this can be done for you via the 'Help->Install New Hardware' dialog in the xtimecomposer. Just select the 'Install from XN File' option, give it the file and the tool will put it in the right place.

Hope this helps,
Cheers,
Kris.

Re: Installing New Hardware

Posted: Tue May 05, 2015 4:34 pm
by gerrykurz
Does this mean that if I subsequently edit the xn file, I have to edit the copy in the installed location? or reinstall it after an edit?

This doesn't seem right to me, I would prefer to have the tool "pick up" the xn file from the project directory......

Re: Installing New Hardware

Posted: Tue May 05, 2015 5:49 pm
by ers35
Put the XN in the root of the project directory and set TARGET in the Makefile.

See the attached project.

Re: Installing New Hardware

Posted: Sun May 17, 2015 6:11 pm
by gerrykurz
Thanks but I am trying to get the project to build within xTimeComposer.