Forum Discussion
15 Replies
- Altera_Forum
Honored Contributor
I would suggest to use one of the software examples first (such as the simple sockets server). They use the Interniche TCP/IP stack and some ready made drivers. This will at least let you know if there is a problem on the hardware side and/or the interface between the TSE and the PHY. Once you got that working, you can start implementing your own solution if you want.
IIRC there are a few steps necessary before you can read/write data on the TSE, such as setting up the MAC address and configuring the link speed. I also see that you are sending the preamble. You shouldn't do that, it is automatically added by the TSE. - Altera_Forum
Honored Contributor
--- Quote Start --- I would suggest to use one of the software examples first (such as the simple sockets server). They use the Interniche TCP/IP stack and some ready made drivers. This will at least let you know if there is a problem on the hardware side and/or the interface between the TSE and the PHY. Once you got that working, you can start implementing your own solution if you want. IIRC there are a few steps necessary before you can read/write data on the TSE, such as setting up the MAC address and configuring the link speed. I also see that you are sending the preamble. You shouldn't do that, it is automatically added by the TSE. --- Quote End --- Good suggestion i will try to apply it. The weird thing is the output from TSE all the time is low and the TX led is blink when i transmit anything, so the TSE and phy are working because they know when i transmit any data.:confused::confused: - Altera_Forum
Honored Contributor
Are you sure you are synchronizing SignalTap correctly? If the TX led blinks it means that the PHY is getting something from the TSE. Maybe you are missing it.
If you put the preamble on the Avalon Stream as I saw on the first screenshot, if the link between the TSE and the PHY is set up correctly then the PHY will send two preambles: one added by the TSE and yours. This won't be seen as a valid Ethernet packet by any other node on the bus, so this could explain why you don't see anything. - Altera_Forum
Honored Contributor
--- Quote Start --- Are you sure you are synchronizing SignalTap correctly? If the TX led blinks it means that the PHY is getting something from the TSE. Maybe you are missing it. If you put the preamble on the Avalon Stream as I saw on the first screenshot, if the link between the TSE and the PHY is set up correctly then the PHY will send two preambles: one added by the TSE and yours. This won't be seen as a valid Ethernet packet by any other node on the bus, so this could explain why you don't see anything. --- Quote End --- It is really strange and i really tired from this problem :( The TX leds still blinks when i transmit anything, but the rgmii_out and tx_enable still low all the time. Also, the MDIO still high all the time.I have changed the preamble and i put another data and still same problem. and i can read and write and data to any register. who i can solve this problem. i am not new in the VHDL, so i can make anything you want. what you think i can do ? Also if you want any snap shot for anything or picture for tx led then tell me and i will put it. I will put the warning list maybe it will be useful - Altera_Forum
Honored Contributor
what kind of interface is there between the TSE and the PHY chip? I don't know this kit. Are you sure you are actually looking at the signals sent to the PHY?