- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-01-2011 09:46 AM
Hello everyone,
I am working in spartan3e with EDK11.1. I have succesfully sent data from board to pc via ethernet using emaclite.I noticed the packet in my pc by wireshark.
Now i want to receive data from pc to board via ethernet?what function should i use?Can this similar approach be used by connecting the to board via ethernet.
any idea,plz share....
regards
Tusu
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-03-2011 01:07 AM
Hieee
I want to add some specification like that
I have used XEmacLite_SendFrame; to send a fram from board to pc and that succesfully happend.Now there are similar function like XEmacLite_RecvFrame now will this fuction be used for sending pc to board.From where the recv_frame will expect to receive the frame?
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-08-2011 08:35 AM
Hey Tusu,
have you looked at XAPP1026.
http://www.xilinx.com/support/documentation/applic
This steps through echo server, Web server,TFTP server and receive and transmit throughput tests.
Colin
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-08-2011 11:23 PM
I think lwip is not available in spartan 3e.
is there any other way for board board to communication by ethernet port in spartan3e(XC350,FG320)?
Research Fellow
University of Calcutta, India
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-09-2011 09:05 AM
As long as your design includes a timer, memory, interrupt controller and ethernet controller, lwip should be available.
Create a design using base system builder and use plb. Once you have your system, export it to SDK. In sdk, create a new C application and chose LWIP Echo Server from the template options.
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-20-2011 10:32 AM
how i receive data frame into board without using lwip?
Research Fellow
University of Calcutta, India
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-23-2011 03:53 AM
let me descibe how i send dataframe to pc
i have set a data frame of 42 cell 1st
u8 FramePtr[42]={0xff, 0xff, 0xff, 0xff,0xff,0xff,
0x00,0x00, 0x5E,0x00, 0xFA, 0xCf,
0x08, 0x06, 0x00, 0x01,0x08,0x00,
0x06,0x04, 0x00, 0x01, 0x00,0x00,
0x5e,0x00, 0xfa, 0xce,0xac, 0x10,
0x01,0x01, 0x00, 0x00, 0x00,0x00,
0x00,0x00, 0xac, 0x10, 0x01,0x7d};
set a a arbitary mac address in spartan3e board like
static u8 LocalAddress[XEL_MAC_ADDR_SIZE] =
{
0x00,0x00,0x5E,0x00,0xFA,0xCE
};
then use
XEmacLite_SetMacAddress(&EmacLitePtr,LocalAddress)
and then send the FramePtr
XEmacLite_SendFrame(XPAR_ETHERNET_MAC_BASEADDR, &FramePtr);
I got my desire frame of 42 length on wire shark
But
now i want to communicate 2 board
sender Board is unchanged with above code
but in reciver board i set another arbitary mac address like
static u8 LocalAddress[XEL_MAC_ADDR_SIZE] =
{
0x00,0x00,0x5E,0x00,0xFA,0xCF
};
and initialize another array
u8 RecevBufr[42]={0x00, 0x00, 0x00, 0x00,0x00,0x00,
0x00,0x00, 0x00,0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,0x00,0x00,
0x00, 0x00, 0x00, 0x00, 0x00,0x00,
0x00, 0x00, 0x00, 0x00,0x00, 0x00,
0x00, 0x00, 0x00, 0x00,0x00, 0x00,
0x00, 0x00, 0x00, 0x00,0x00, 0x00};
and use
a=XEmacLite_RecvFrame(XPAR_ETHERNET_MAC_BASEADDR, &RecevBufr); // where 'a' is a 32 bit integer
and then print the
for(i=0;i<43;i++)
{
xil_printf("\n %d th Recive.......%x\n\r",i+1,RecevBufr[i]);
}
print("-- Exiting main() --\r\n");
but i did not get my FramePtr[42] in hyperterminal in recievber end
Research Fellow
University of Calcutta, India
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-25-2011 12:52 AM
is there any one????
Research Fellow
University of Calcutta, India
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-25-2011 02:13 AM
Yes i have the same problem as of rourabpaul..can any one clarify that whether the two spartan 3e board could be connected via ethernet?When the ethernet port of spartan 3e board will blink?if the port doesnot blink does it mean that my emac core is not successfully downloaded?
next i would like to ask form where i will get the reference design of Lwip?
plz share///
regards
Tusu
Re: Ethernet on Spartan 3e
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-26-2011 09:22 PM
i think we need some delay before send frame and receive frame.
am I right?
Research Fellow
University of Calcutta, India











