Hello,
Example project works fine with ETH0 Port.
When I change to ETH1 Port it does not work. I modified the following:
Pins (Added pins)
Port (Added ports for the pins)
Clocks (Set ETH1 Clocks for 125MHz)
Switch (Changed to Port 1 from Port 0)
I am sure I missed something, but I have no idea what....
Attached is the workspace. Customer is waiting for a solution and I am a bit stuck....
Thanks
Hello @scottobrien ,
Did you manage to check the solution Alasdair suggested?
Is this still an issue on your side?
If not can you accept his response as solution?
Thank you,
Marius
Hi,
I was just going to get back to this later in the week.
I had a suspicion about that pin, because the description was not clear.
Looks like I had the rest of the stuff correct, which is surprising!
Thanks for checking!
Hi Scott
Looks like one of the pins is set up for RMII rather than RGMII.
Try change the signal on pin 47 (E8) from 'eth_1_rmii_txen' to 'eth_1_rgmii_txctl'.
I was able to ping the board on 192.168.0.200 through the switch after changing this.
Yes that is of no value. Port 0 works fine to the outside world. I still don't know if my project is incorrect or the SJA is not passing the signals through. I see the S32E EVB has both ports so I think I need to try it on this first without the SJA switch, if I have an E board.
Hello,
I was also wondering this since SJA is the bridge used on NETC1 as per GreenBox 3 Real-Time Development Platform Block Diagram:
Unfortunately at the moment I don't have other updates.
I noticed that there is an example in RTD that does a loopback between ports 0 and 2.
Hello,
After discussing this with the apps team, it is not clear if the SJA is programmed correctly to allow S32E Port 1 to work. I think I need to get Port 1 to work on the EVB first and then port it to the GB3, unless someone has some words of wisdom on why this is not working.....
OK,
I checked the TCPIP Configuration and I don't see anything related to the ENET Port, so I must have something configured incorrectly. I do wonder if I have all the ENET1 pins configured correctly....
Thanks
Hi,
It is the Green Box 3 and ETH1 is going through the SJA.
I thought that I changed the existing NETCIF to use ETH1. My guess is I missed something, so adding another one would likely be the same story.... Can I not just change the existing project to use ETH1? Maybe I missed something in the TCPIP Configuration? I will check again.
Hi @BogdanB this topic is about TCP/IP example on top of FreeRTOS. And the issue is not related to FreeRTOS. It is about the Ethernet port. Liviu should help about this topic due to the tag "TCPIP_STACK"
Hello Scot,
What board are you using? Is the ETH1 also connected to the PHY?
What you can do is add another netif in TCP/IP stack so when TCPIP routes the packets it goes to ETH1 (see picture)
--Marius