This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
on a custom board AM335x with two Ethernet Ports I am to configure the Switch so that it behaves like a "home office" simple plug-and-play switch (Port 1 and Port 2) which has a CPU (Port 0 with one single MAC address) for service purposes.
My OS is Windows CE 7.00, BSP derived from TI EVM BSP by ADENEO.They mimick the Linux Dual MAC mode which is useless for my purpose; we have no time to "bridge" ports high up in the application layer.
The AM335x Ethernet subsytem CPSW (or CPSW3G) 3-port-switch configuration is described in several docs, like
"Linux Core CPSW User's Guide" : http://processors.wiki.ti.com/index.php/Linux_Core_CPSW_User%27s_Guide "AM335x CPSW (Ethernet) Driver's Guide" :http://processors.wiki.ti.com/index.php/AM335x_CPSW_%28Ethernet%29_Driver%27s_GuideAM335x TRM: 14.4.6 Initialization and Configuration of CPSW.Enet AM335x StarterWare: http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/starterware/latest/index_FDS.html
After reading these, I know what IOCTLs there are to configure the CPSW, and what registers there are in the AM335x for the CPSW.My Windows CE is already running the CPSW in RMII Single MAC mode, detecting whether a link is up ether on Port 1 or 2, and ignoring the other port.
But i still am missing an example configuration for the "Ethernet 2-Port Switch Mode".
Is there a guide as WHAT I have to configure in the ALE, port settings, etc... to configure the CPSW into an Ethernet Switch?
I will forward this to the Ethernet experts.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
Did you finish the ethernet switch use the AM335x? I want to do also.
Thanks so much.
In reply to Hans Huang1:
yes, we got it running fine with WinEC7. We followed the advice linked in the green box above, and it works - as desired - as simple 2-port-switch.
In reply to Anja Zoelgert:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.