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
Did anyone manage to build lib_tsn for XR-AVB-LC-BRD?
-
- Member
- Posts: 15
- Joined: Tue Sep 24, 2013 1:07 pm
-
Verified
- XCore Legend
- Posts: 1164
- Joined: Thu May 27, 2010 10:08 am
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.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...
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.
-
- Respected Member
- Posts: 275
- Joined: Fri Mar 12, 2010 6:03 pm
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.
-
- Member
- Posts: 15
- Joined: Tue Sep 24, 2013 1:07 pm
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
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