Hi all,
I am using XTCIEVMK2X EVM.
Developing environment is: CCS ver 5.4.0.00091; MCSDK Packages: 3_00_01_12
Bootmode: ARM SPI Little Endian mode.
Our application code is running on DSP is able to send out pkts from Gigabit Ethernet Switch Subsystem.
We could able to see these pkts on Wireshark.
We want to check these statistics through the registers of Gigabit Ethernet Switch Subsystem.
We have enabled 'portStatCfg' as below:
{
CSL_CPSW_5GF_PORTSTAT portStatCfg;
portStatCfg.p0AStatEnable = 1;
portStatCfg.p0BStatEnable = 1;
portStatCfg.p1StatEnable = 1;
portStatCfg.p2StatEnable = 1;
CSL_CPSW_nGF_setPortStatsEnableReg (&portStatCfg);
}
After this, we could able see the proper value (0x000F) in the address space( 0x0209080C) of CPSW_STAT_PORT_EN i.e. GbE switch Statistics Port Enable Register.
But now the problem is we are not able see the stat values in the respective registers of STATSA and STATSB.
STATSA TXGOODFRAMES - Total number of good frames transmitted - 0x02090B34
STATSB TXGOODFRAMES Total number of good frames transmitted - 0x02090C34
All values in different registers are showing zeros only.
Though we are able to see pkts on Wireshark, Why we are not able to see stat values in the stat registers of GB E Switch ?
Also, we are sending pkts to EVM from an external tool and again we are not able to see stat values in the GBE Rx stat registers.
Please provide your inputs.
Thanks in advance.
Best regards,
Rajanikanth.
Total number of good frames transmitted