2 Problems in AVB Reference Design

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
gavaz
Junior Member
Posts: 4
Joined: Thu Feb 21, 2013 5:17 pm

2 Problems in AVB Reference Design

Post by gavaz »

Hello guys,

I'm having some problems with the AVB demo. Here is my test setup: 2*XR-AVB-LC-BRD connected to one LabX Titanium 411 AVB Ethernet Bridge. Everything works fine if I don't change anything in the code. :-)

But,
*first: When switching AVB_DEMO_ENABLE_TALKER or _LISTENER to "0" (or both) the AVB device is not working anymore. The LabX page lists that device as "Not AS capable". I tried to reduce AVB_DEMO_NUM_CHANNELS to 4, but it did not help. Any ideas?

*Second (and even more important): I noticed that when I unplug the ethernet connection of one device, if I plug it in again, sometimes there is a delay of 10-20 seconds untill audio starts plaing again!
** This usually happens only when keeping the device unplugged for a minimum of 15 seconds before pluggin it in again.
** Interestingly the page of the switch shows a "ready" stream status directly after plugging the ethernet cable in again. So it seams to be a problem inside the stream..

Anybody encountered similar problems?

Thank you very much!


User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

Hi gavaz,

These issues have been resolved in a new beta. You should be able to download it in the References Designs section in your xmos.com account. Have you got access?
vper
Junior Member
Posts: 4
Joined: Thu Feb 28, 2013 9:21 am

Post by vper »

Hi Andy,

We are experiencing these problems also with the new beta version (5.2.0beta2 and 5.2.0beta3, downloaded from github).

in main.xc we find the following declarations:

Code: Select all

  // Ethernet channels
  chan c_mac_tx[2 + AVB_DEMO_ENABLE_TALKER];
  chan c_mac_rx[2 + AVB_DEMO_ENABLE_LISTENER];
which then cause problems when calling

Code: Select all

    // AVB - Ethernet
    on tile[1]: avb_ethernet_server(avb_ethernet_ports,
                                        c_mac_rx, 3,
                                        c_mac_tx, 3);
with either AVB_DEMO_ENABLE_TALKER or AVB_DEMO_ENABLE_LISTENER set to 0. Is that right?
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

Hi vper,

This problem is fixed in beta4.
vper
Junior Member
Posts: 4
Joined: Thu Feb 28, 2013 9:21 am

Post by vper »

is beta4 available anywhere?
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

vper wrote:is beta4 available anywhere?
It's taking a while for it to appear on the website. If you submit a support ticket at xmos.com I will send you a ZIP.
Post Reply