UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor afr1
Visitor
14,807 Views
Registered: ‎04-02-2008

Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello!

 

We want to use a 3Com SFP RJ-45 Transceiver with Microblaze and xps_ll_temac on ML505 demoboard.

The Echo Server application using SGMII and Marvell PHY works properly.

But when the SFP module is used instead of the onboard PHY, no link can be established.

 

When the FPGA is not configured, the 3Com Transceiver connects to an external switch with 1 GBit/s and the link LED becomes active.

After configuring and executing the Echo Server, the link is disabled.

 

Are there any further options in LWIP4 when not using the Marvell PHY (Linkspeed_Autodetect is disabled)?

What else could be wrong?

 

Thank you in advance,

Andreas

0 Kudos
16 Replies
Newbie radiomasq
Newbie
14,256 Views
Registered: ‎12-12-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi Andreas,

 

 I ve read this posrt about using a SFP 1000BASE-T. I am trying to use a 3com 1000base-t 3csfp93 with a v5fx70t (ml507 board), at the

 moment without success. I am configuring the embeded trimac (xps_ll_tmac_v1_01_b) with SMGII interface (really, ive not found

 detailed information about what interface is the proper one for this module). Did you succed with your design?

 

 Thanks in advance,

 

   Armando

 

0 Kudos
Visitor afr1
Visitor
14,252 Views
Registered: ‎04-02-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi Armando!

 

Just configure the TEMAC as 1000-BaseX.

SGMII seems to work with PHY chips like Marvell M88E1111 (SGMII replaces parallel GMII), but cannot be connected directly to a SFP module.

 

Regards,

Andreas

0 Kudos
Explorer
Explorer
14,063 Views
Registered: ‎08-13-2007

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Does it work?

 

i did select 1000base-x but all phy registers read back 0

maybe i have some system level issue still

 

Antti

0 Kudos
Explorer
Explorer
14,041 Views
Registered: ‎08-13-2007

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

the PHYC register 0 is ok

the problem was solved by patching the xilinx encrypted ip code sources

 

Antti

0 Kudos
Visitor sepulchrem
Visitor
14,033 Views
Registered: ‎01-12-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello everybody,

 

I encounter exaclty the same issue working with the ML505 board and the 3com 3CSFP93 SFP module

According to what I can read from Antti ther is a solution but I don't understand it. Could you explaine it more deeply?

 

I'm working with EDK 10.1 SP3. Is there any new patch for the xll_temac IP?

 

I used the SGMII interface but according to what you said we have to use the 1000Base-X interface ? Is it right?

 

Michel

0 Kudos
Visitor afr1
Visitor
14,024 Views
Registered: ‎04-02-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello!

 

If you want to use a SFP Module for networking, configure the TEMAC for 1000Base-X. The UCF must also be modified for correct pin allocation.

There is a patch for the TEMAC included in EDK 10.1 SP3 available, for more details see

http://www.xilinx.com/support/answers/31689.htm

but it is only necessary for FXT devices (ML507).

 

Regards,

Andreas

0 Kudos
Visitor sepulchrem
Visitor
14,012 Views
Registered: ‎01-12-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello,

 

It stills doesn't work.

-10.1 SP3 is installed on my PC and thus I have the 1.01b version of the xll_temac IP

- I configured the TEMAC to use the 1000Base-X interface and updated the UCF file.

 

I have attached my files to this thread. You will find

- some screenshots that describes the system and its ports and addresses.

- the ucf file

- some c files. phy_external holds the code I call from the main function.  I note, using the debugger, that the program remins stucked in xlltemac.c line because the timeoutcount reaches 0 because XLlTemac_ReadReg always returns 0.

 

Hope it will help finding my issue.

 

See you,

 

Michel

0 Kudos
Visitor afr1
Visitor
14,003 Views
Registered: ‎04-02-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello!

 

Some drivers do not work properly with 1000Base-X, they assume an external Marvell PHY.

Have you ever tried to implement the Xilinx SGMII Reference Design?

http://www.xilinx.com/products/boards/ml505/ml505_10.1_3/bsb.htm

You can modify this design for 1000Base-X. The Echo Server (uses LWIP4) should work with both interfaces.

 

Note that a counter is required when using IP stacks.

 

Regards,

Andreas

0 Kudos
Visitor sepulchrem
Visitor
14,000 Views
Registered: ‎01-12-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi,

 

I built my project based on that bsb reference design.

For the story I'm to built a system with 2 ethernet connection, it is why I'm also suing the SFP module.

The part using the Marvell chip is already working, now work on the SFP part.

I'm also in contact with Xilinx support but it seems they have never tried this.

 

See you,

 

Michel

0 Kudos
Explorer
Explorer
10,295 Views
Registered: ‎08-13-2007

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

one Hi for anyone trying to work with SFP's

 

1) the use the base1000x ref design (its basically same src except the phy stuff is removed)

2) .. patch the xilinx IP core !!

 

[2] is unfortunatly needed, at least for the SFPs that we have.

we had to change the tiecfg values in the TEMAC wrapper,

after doing it all started to work.

 

please note that the IP core is encrypted so you have to decrypt it first.

 

solution will be available in EDK release 11.1

where the relevant source code files will be in plain text (not encrypted)

 

 

maybe some SFPs exist that work with the hard coded settings..

 

Antti

 

 

 

 

 

 

 

0 Kudos
Visitor afr1
Visitor
10,292 Views
Registered: ‎04-02-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi!

 

I'm using the 3COM 3CSFP93 1000Base-T module and the 1000-X reference design on V5 TEMAC.

Patching the Xilinx Cores is NOT required. The designs should work with EDK 10.1.

 

Regards,

Andreas

0 Kudos
Visitor bugidan
Visitor
10,205 Views
Registered: ‎02-17-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

 Hi!

I am also interested in adding a second ethernet interface for the ml507 board, by using the 3CSFP93 transceiver. I have tried to follow the indications, but I have not succeeded, although I am using the 10.1 SP3 software version. If someone was successful in doing this, please post the referrence design files. Thank you in advance.

 

Regards,

 

Gigi.

0 Kudos
9,481 Views
Registered: ‎04-07-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Did anyone get the address swap example for ethernet TEMAC to work with the SFP module?
0 Kudos
Visitor miggae
Visitor
8,978 Views
Registered: ‎02-20-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi Antti

 

Re you IP core patch,

could you point me to the exact location in the TEMAC wrapper where you replaced which hard coded settings with which values?

 

Yes, I am one who's trying to work with SFP's using EDK 11.1 on a ML507.

 

Help is much appreciated!

 

Thanks

 

Michael

0 Kudos
Highlighted
Observer artwa
Observer
8,330 Views
Registered: ‎10-05-2009

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hi,

I've been trying to run SFP module on ml507 board with Virtex5 hard temac (with XPS 11.3 - no patch needed for xps_ll_temac) for a pretty long. I read 0x0 from the temac regs. The final solution was changing the address of temac in PPC440 address space (and proper changes in .dts) near temac for copper ethernet: 0x81C00000 and 0x81D00000 (copper eth was build using Base System Builder at the very beginning of the project). Temac interface is 1000Base-X, CoreClk is 50MHz (bus2core_clk_ratio 2 @ 100MHz PLB bus), and C_NUM_IDELAYCTRL=1, C_IDELAYCTRL_LOC is IDELAYCTRL_X0Y5. The rest is pretty obvious - only LOC constraints in .ucf are used. It's not the answer for the thread author but I presume it may be useful as a good hint for two ethernets on ml507 case. It's also important to edit a driver/library to set speed at 1Gbps when no PHY is found (as happens when using SFP).
0 Kudos
Visitor azanetti
Visitor
7,164 Views
Registered: ‎08-12-2008

Re: Echo Server using xps_ll_temac and SFP Transceiver (SGMII)

Hello all,

 

Could anyone use the 3CSFP93 SFP module or any other 1000base-t SFP on ml507 ? I am trying to use this module with no success so far. I already tried the suggestions of this thread.

 

Best Regards

 

Ademir Zanetti

0 Kudos