Can't get app_simple_AVB_demo to compile Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Can't get app_simple_AVB_demo to compile

Post by poss »

I have imported sc_avb_master from GitHub but module_avb_1722_1 will not compile with the following error:

xmake[1]: *** No rule to make target `src/aem_entity_strings.h.in', needed by `.build/generated/module_avb_1722_1/aem_descriptors.generated'. Stop.

also, sc_ethernet master (2.3.3 beta0) does not compile with its own test apps and the simple AVB demo app as there is a breaking change. What version should I be using?

A resolution to this would be greatly appreciated!


View Solution
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

Try the lib_tsn software listed on this page instead of using the GitHub version: http://www.xmos.com/support/software/tsn

Pair lib_tsn with the software from one these application notes: https://www.xmos.com/support/appnotes/AN01032 https://www.xmos.com/support/appnotes/AN00202

Are you using an XMOS development board or a custom board?
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Post by poss »

Thanks. I will give those links a try

I am using the DSP4YOU dongle which uses the 16 core XMOS-XS1-L16A-128 chip - will that software work for this chip? It says its for xCORE-200 series device
Last edited by poss on Thu May 12, 2016 3:22 am, edited 1 time in total.
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

poss wrote:I am using the DSP4YOU dongle
This one? http://www.dsp4you.com/products/avb-oem-series/avb-dg

I am not aware of a working example of lib_tsn with the DSP4YOU AVB-DG. You may be able to create one based off of these board support files: https://github.com/xcore/sw_avb/tree/d6 ... D4U-AVB-DG

What is your use case for the DSP4YOU dongle? If you want something that works out of the box with the latest software use one of the XMOS development boards listed here instead: http://www.xmos.com/support/software/tsn

If you must use the AVB-DG, ask DSP4YOU for the exact combination of XMOS tools version (12, 13, 14) and software (sw_avb, sc_avb, lib_tsn) that is known to work with that board.

What is your operating system and XMOS tools version?
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Post by poss »

Yep - thats the one alright.

The simple_AVB_Demo project in GitHub you pointed to has been modified by the manufacturer to work with the DSP4YOU dongle

My use case is this:

I have a digital xover/room correction unit and three way stereo speakers driven by 2 3 channel monoblocks utilising 3 Buffalo DACs each from Twisted Pear Audio.

1 dongle will provide stereo in and 6 channels out of the digital xover, and each monoblock will have an AVB listener receiving 6 channels (i.e.: stereo hi/mid/low) feeding to the 3 DACs driving the tweeter/midrange/sub in the speaker stack.

The AVB listeners should automatically connect with the corresponding talkers (I was planning on using the dongle's GUID for this)

I plan to extend this to quadrophonic so that's 6 dongles all up. The DSP4YOU dongles are only $90 each whereas the kits you referred to are considerably more expensive I believe as they have DACs built in. The DSP4YOU dongles are also very small and can be easily fitted into existing equipment
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

I was able to build app_simple_avb_demo.xe on Windows 7 with both tools 13.2.3 and 14.1.2 using the following instructions:

Code: Select all

git clone https://github.com/xcore/sw_avb
# modify TARGET in app_simple_avb_demo\Makefile
# TARGET = D4U-AVB-DG

git clone https://github.com/xcore/sc_i2c
git clone https://github.com/xcore/sc_util
git clone https://github.com/xcore/sc_otp

git clone https://github.com/xcore/sc_ethernet
cd sc_ethernet
# checkout sc_ethernet before mac_set_qav_bandwidth() argument change
git checkout deadcbc7e9494336890a88e140ef2e06c79b6d07
cd ../

cd sw_avb\app_simple_avb_demo
xmake
# use bin/app_simple_avb_demo.xe
Last edited by ers35 on Thu May 12, 2016 6:09 am, edited 1 time in total.
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Post by poss »

Thanks - I'm trying this but when doing checkout sc_ethernet before mac_set_qav_bandwidth() argument change I get this error:

C:\Users\workspace>git checkout deadcbc7e9494336890a88e140ef2e06c79b6d07
fatal: Not a git repository (or any of the parent directories): .git

what am I doing wrong?
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

I wasn't clear enough. Do the checkout from within sc_ethernet. I edited the instructions.
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Post by poss »

Great! It compiles!

Thank you!

I was manually downloading and importing - which wasn't working for me.
poss
Junior Member
Posts: 7
Joined: Thu May 12, 2016 1:29 am

Post by poss »

Perhaps you can also answer a couple of hopefully simple questions:

- if I disable the dongle as a talker or listener (thereby limiting it to only 8 channels one way) will I automatically get an increase from 48Khz to 96Khz - or does that require additional coding?