I've run into a situation where gptp on an XMOS device is loosing pDelay request responses from the AVB switch it is connected to.
This code is modified from the original gptp code XMOS provided. The code works fine on an XMOS multichannel audio board, but not the target hardware.
My assumption is that something is blocking the transfer of the pDelay response packet from the ethernet tile to the AVB tile. What is the best way to debug this?
PS I have xscope configured to use xscope transport (rather than JTAG)
AVB gptp blocking
-
- Active Member
- Posts: 37
- Joined: Mon Sep 24, 2012 1:45 pm
-
- Active Member
- Posts: 37
- Joined: Mon Sep 24, 2012 1:45 pm
This code in the Ethernet tile runs
but, after a time, this code in media_clock_server.xc fails to run
Code: Select all
if (0 == i) debug_printf("rgmii ptp packet_ready()\n");
i_rx[i].packet_ready();
Code: Select all
case i_eth_rx.packet_ready():
{
debug_printf("mclk: ptp_recv_and_process_packet()\n");
ptp_recv_and_process_packet(i_eth_rx, i_eth_tx);
break;
}