UDP toturial

New to XMOS and XCore? Get started here.
Ganux
Active Member
Posts: 35
Joined: Tue Mar 08, 2011 12:58 pm

UDP toturial

Post by Ganux »

Hello,

I am trying to build an application on an XC-3 dev board which should receive UDP packets.
Is there a toturial or something alike for the initialization with MII and such,
cause I really don't get it..

In 'programming XC on XMOS devices' I do kind of understand the case study..
But they didn't mension anything about initialisation..

Like example an IP-address, because I'm going to make a network of several XC-3 board's..

I hope any of you can help me! ;-)

Greets,

Ganux_


User avatar
davelacey
Experienced Member
Posts: 104
Joined: Fri Dec 11, 2009 8:29 pm

Post by davelacey »

Both the ethernet software component and tcp stack are available as open source repositories on github.

The ethernet component has documentation (including a tutorial) here:

http://github.xcore.com/sc_ethernet/

The documentation for the ip/udp/tcp stack is here:

http://github.xcore.com/sc_xtcp/

Regards,
Dave
Ganux
Active Member
Posts: 35
Joined: Tue Mar 08, 2011 12:58 pm

Post by Ganux »

Hi,

I have been reading the documentation...
but i still don't really get it..

you've got the ethernet server and the uip server.
I just need to get some UDP-packages from a local network.

I really can't see the steps to set up a connection..
Hope some of you guys can help me out here! ;-)

Ganux_