Part Number: TMDSEVM6678
Tool/software: Code Composer Studio
hi~
I checked the nimu test through the mavel chip connected to sgmii1 on the evm board.
I have a custom board using C6678 DSP, each SGMII0 and SGMII1 have a mavel(88e1111) and are connected via RJ-45 port.
SGMII1 was set as below as the EVM board was configured, and a ping test was conducted with nimu helloworld example.
1. configSerdes(); <-- platform.c
2. Init_SGMII(1); <-- platform.c
3. nimu Helloworld example run
4. ping fail
For the SGMII0 test, the setting was changed as follows to confirm normal operation.
1. configSerdes(); <-- platform.c
2. Init_SGMII(0); <-- platform.c
3. emac_port_mode[PLATFORM_MAX_EMAC_PORT_NUM] ={
//PLATFORM_EMAC_PORT_MODE_AMC,
PLATFORM_EMAC_PORT_MODE_PHY,
PLATFORM_EMAC_PORT_MODE_PHY
}
4. nimu Helloworld example run
5. ping fail
6. In nimu_eth.c, gTxPort is changed to 1 (default) to 0.
7. ping ok
In nimu_eth.c, it seems that communication is possible only with one port by using the same mac as port 0 in nimu_get_emac_info() unconditionally.
Is there a way to connect SGMII0 and SGMII1 to each of Marvel(88e1111) and RJ-45 to use both?
Using one nimu Helloworld, I only launched one echo server Deamon and couldn't find a setup and method that can be used with both SGMII0 and SGMII1.