TMS320C6678 Network Internal Loopback
测试示例程序路径:
The BIOS MCSDK 2.0 production release (http://softwaredl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/02_00_00_11/index_FDS.html) does support the EMAC internal loopback test in the POST (\mcsdk_2_00_00_11\tools\post\*) as well as in the PA LLD (pdk_C6678_1_0_0_11\packages\ti\drv\pa\example\*)
The POST gives a simple example to configure the SGMII/SERDES/CPSW/CPPI/QMSS/PA and does the SGMII loopback test from PA->CPSW->SGMII->CPSW->PA. The test result will printed out to the UART after the board is put to POST boot mode and power cycled. Please refer the the C6678 EVM HW Setup Guide on how to set the dip switches for POST boot (http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings)
The PA example code demonstrates the similar EMAC (SGMII) loopback test by calling CSL API's.
TI论坛路径:
https://e2e.ti.com/support/legacy_forums/embedded/tirtos/f/355/t/120712