Installing New Hardware

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Installing New Hardware

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


User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

I guess your makefile has something like TARGET=500RACK?

Your xn file is called 500RACK.xn?
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

Yes that is correct....
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post 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?
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post 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?
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

Does anybody know anything about this?
User avatar
kris
Experienced Member
Posts: 84
Joined: Mon Jan 18, 2010 2:52 pm

Post 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.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post 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......
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm
Contact:

Post by ers35 »

Put the XN in the root of the project directory and set TARGET in the Makefile.

See the attached project.
Attachments
500RACK.zip
1) unzip 500RACK.zip.
2) Run xmake to build.
(1.89 KiB) Downloaded 202 times
500RACK.zip
1) unzip 500RACK.zip.
2) Run xmake to build.
(1.89 KiB) Downloaded 202 times
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

Thanks but I am trying to get the project to build within xTimeComposer.
Post Reply