Gigabit app not streaming audio

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Gigabit app not streaming audio

Post by gerrykurz »

I have modified the gigabit avb app to run on my hardware and it is not streaming any audio. It is sending and receiving ethernet packets as it is registering as an avb device on the macbook.

I know my hardware works as I have a modified version of the avb endpoint 6.1.1 app that works fine.

Any ideas how I debug this?


srinie
XCore Addict
Posts: 158
Joined: Thu Mar 20, 2014 8:04 am

Post by srinie »

Hi,
Some useful tips:
- Enable the debug prints and check for the drop packets
- a quick check may be to do with the firmware selection (Gigabit avb uses 7.x version and not 6.x versions!)
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

Are PTP roles resolved and clock synchronised on the network?

Has the audio stream registered successfully?

Is media clock locked and recovering properly?

Any 1722 traffic on the network? Suggest tcpdump or Wireshark on the host.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

Are PTP roles resolved and clock synchronised on the network?
Yes
Has the audio stream registered successfully?
Yes
Is media clock locked and recovering properly?
Yes
Any 1722 traffic on the network? Suggest tcpdump or Wireshark on the host.
Yes
a quick check may be to do with the firmware selection (Gigabit avb uses 7.x version and not 6.x versions!)
Not sure what you mean by firmware versions
srinie
XCore Addict
Posts: 158
Joined: Thu Mar 20, 2014 8:04 am

Post by srinie »

gerrykurz wrote:I have modified the gigabit avb app to run on my hardware
I know my hardware works as I have a modified version of the avb endpoint 6.1.1 app that works fine.
gigabit avb app + compatible AVB firmware is avb 7.x
Hope you ve taken any needed changes or customizations to run GigE hardware with avb 6.x?

Regards,
/srini
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

I am not running GigE hardware.

I am running 100 MBit ethernet hardware and I have modifed the GigE avb endpoint application to run with the 100 MBit real time ethernet interface. Because all the ethernet instances in the new library share a common api, this is not hard to do.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

So there is 1722 traffic on the network, but no audio? If that's the case, I would look into the I2S driving task and then media FIFOs to see where is audio getting stuck.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

i have been trying to capture the 1722 data packets on the network but none of the tools seem able to capture vlan tagged packets. I have tried Wireshark, Packet Peeper and tcpdump.

Anybody know how to capture vlan tagged packets on MAC OSX 10.10.4 Yosemite?