hi. everyone
I want to send and receive packets between the PC and the EVM.
=====================================================================
using project : PA_emacExample_K2HC66BiosExampleProject
test environment : The RJ45 of the EVM was connected directly to the PC.
PC IP Address => 192.168.1.10
RJ-45 Link LED : Orange(GIgabit) and sometimes blinking RX LED
=====================================================================
The example source was modified as follows:
1. cpsw_singlecore.c
: cpswSimTest = 0
cpswLpbkMode = CPSW_LOOPBACK_NONE;
SendPacket(dest_emac_port_id) => SendPacket(0)
2. cpsw_mgmt.c
NUM_MAC_PORTS : 2
Init_SGMII_SERDES() : lpbk_mode = CSL_SERDES_LOOPBACK_DISABLED;
3. pa_mgmt.c
Add_MACAddress() : ethInfo : des mac{0x10, 0x11, ..., 0x5} => my PC Mac address
4. framework.c
pktMatch[] : dst mac : 0x10, 0x11, 0x12... => my PC Mac address
=====================================================================
and build and load/run
Thus, results were as follows:
CSL_CPSW_getStats after Packet Transmission ...
Stats for block number: 0
********************************************
Good Frames Received 10
Total Received Bytes in Good Frames 1260
Sum of all Octets Tx or Rx on the Network 1260
********************************************
Stats for block number: 1
********************************************
Good Frames Sent 10
Total Transmitted Bytes in Good Frames 1260
Total Tx&Rx with Octet Size of 65 to 127 10
Sum of all Octets Tx or Rx on the Network 1260
********************************************
QUESTION
1. not loopback mode
What means "Good Frame Received"?
2. WHY?
PC does not receive the packet
3. Where is wrong with the source code?
Can anyone help?
Thanks