Hi.
I am using the EVMC64674 Dev Board with CCS3.3. I am urgently looking for help with the C6474 CSL EMAC example project.
The project is supposed to be able to do an external loopback (I assume through the external RJ-45 loopback device included with the board), by simply changing the following part of the code:
#define LOCAL_LOOPBACK 0 /* Loopback internal to the EMAC */
#define PHY_LOOPBACK 1 /* Loopback at the PHY device */
However, with or without external loopback device connected, doing this results in the following stdout messages:
EMAC example
Calling EMAC_open()
Calling EMAC_setReceiveFilter()
Waiting for link...
Packets Held : 8-RX 0-TX
Starting packet transfer...
ERROR: Timeout waiting for TX/RX
Sent 8 of 1055 packets, received 0 packets
Calling EMAC_close()
0
Example Failed
Make sure to use a loopback connector if not
using local loopback (#define LOCAL_LOOPBACK 1)
I have also tried to change " ecfg.UseMdio = 1" in order for the module to detect a Link, but with no success. I get the following stdout message:
EMAC example
Calling EMAC_open()
Calling EMAC_setReceiveFilter()
Waiting for link...
Link Status : No Link on PHY number 16
Packets Held : 8-RX 0-TX
WARNING: No device LINK.
Starting packet transfer...
It then simply hangs here, seemingly in an infinite loop. I have also tried connecting it to a live 1000M ethernet port (from a PC), with the same result.
So, either there is something wrong with my loopback device (Called the "SuperLooper" by Smartronix), or there is something wrong with the example.
Can anyone help?
Estian.