Did anyone manage to build lib_tsn for XR-AVB-LC-BRD?

Technical questions regarding the XTC tools and programming with XMOS.
fabib
Member
Posts: 15
Joined: Tue Sep 24, 2013 1:07 pm

Did anyone manage to build lib_tsn for XR-AVB-LC-BRD?

Post by fabib »

Hi Guys,

I tried to modify and build AN01032 for the XR-AVB-LC-BRD.
As first step I took the xn-File and the Makefile from the olf AVB Reference Design.
But I end up with this error message:

Description Resource Path Location Type
Program is too large (0x102bc bytes) for node "0" tile 0 (0x10000 bytes). AN01032_100Mbit_avb_i2s_demo C/C++ Problem

Why is the Program too large? In the xn-File the Target is configured to boot from SPI-Flash...

Any help is appreciated.

Regards,
Fabian
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

Description Resource Path Location Type
Program is too large (0x102bc bytes) for node "0" tile 0 (0x10000 bytes). AN01032_100Mbit_avb_i2s_demo C/C++ Problem

Why is the Program too large? In the xn-File the Target is configured to boot from SPI-Flash...
The earlier versions of AVB (sc_avb version 6.x.y for example) were designed with the 64KByte tile memory limit in mind, which the XS1 devices have. Lots of optimisations were made to make it fit.

With TSN (AVB 7.x.y) the decision was made to not constrain to 64KB per tile, which means it is targeted at xCORE200 instead (128-256KB per tile). Also, Gbit support is xCORE200 only.

You can see it's not far off the memory size of an XS1, but it could be a reasonable amount of work to shave it down by 0x2bc bytes. I don't think anyone here has tried so difficult to say for sure.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

That is correct, TSN library in its current form is XS2 only. Apart from memory usage, it contains some XS2 specific features such as hardware clock divide for generating I2S clocks.
fabib
Member
Posts: 15
Joined: Tue Sep 24, 2013 1:07 pm

Post by fabib »

But the links below imply that the TSN-lib should run on XS1:

https://www.xmos.com/support/boards?product=14769

Silicon on Board: XS1-L16A-128-QF124

AVB Software Reference Design

The AVB Audio software reference design is available free of charge from the TSN/AVB Software page and is released under a royalty free license.

http://www.xmos.com/support/software/tsn