We have developed a custom PCB based on the C6672 DSP that has both Ethernet SGMII channels fed into a PHY. To be able to communicate with multiple boards through Ethernet, we would like to use the following setup:
This means that each DSP board has one IP address assigned that is used to communicate with the PC application. Both Ethernet SGMII ports are used to allow Ethernet traffic to be forwarded to the next DSP boards, which is basic level 2 switching functionality as far as I can see.
So far, however, we haven't been able to figure out how to configure the CPSW to act as a (simple) L2 switch. We did manage to modify 'nimu_eth.c' from the transport library in such a way that the IP address of the board can be reached through both SGMII Ethernet channels, but we're kind of stuck from that point.
Anyone who can help us get the L2 switching functionality of the CPSW to work? Any help is greatly appreciated!
PS: our modified version of nimu_eth.c is attached to this post.8562.nimu_eth.c


