FPGARelated.com
Forums

RTOS with support for TCP/IP sockets on Spartan 3E

Started by pascal_sweden November 22, 2011
Hello,

I like to design a prototype network application on a Spartan 3E board,
and would need to have an RTOS with support for TCP/IP sockets.

Which soft core processor and RTOS would be recommendable to use on Spartan
3E board, to have access to TCP/IP sockets that direct to the Ethernet port
on the Spartan 3E board?

Does the soft core processor come with a compiler for writing software in
C?
I like to have C compiler where I can use sockets, etc.

Once the prototype is ready on the Spartan 3E board, is it easy to convert
it to a PCB board (containing the FPGA and Ethernet circuitry)?

Thanks,

Pascal

	   
					
---------------------------------------		
Posted through http://www.FPGARelated.com
On 22 nov, 10:52, "pascal_sweden"
<pascal_sweden@n_o_s_p_a_m.hotmail.com> wrote:
> Hello, > > I like to design a prototype network application on a Spartan 3E board, > and would need to have an RTOS with support for TCP/IP sockets. > > Which soft core processor and RTOS would be recommendable to use on Spartan > 3E board, to have access to TCP/IP sockets that direct to the Ethernet port > on the Spartan 3E board? > > Does the soft core processor come with a compiler for writing software in > C? > I like to have C compiler where I can use sockets, etc. > > Once the prototype is ready on the Spartan 3E board, is it easy to convert > it to a PCB board (containing the FPGA and Ethernet circuitry)? > > Thanks, > > Pascal > > --------------------------------------- > Posted throughhttp://www.FPGARelated.com
Well have you looked at SDK and the Microblaze processor from Xilinx? The compiler is GCC and AFAIK, there is a lot of support from RTOS vendors. You can even use FreeRTOS http://www.freertos.org/.
On Tue, 22 Nov 2011 09:52:42 -0600, pascal_sweden wrote:

> Hello, > > I like to design a prototype network application on a Spartan 3E board, > and would need to have an RTOS with support for TCP/IP sockets. > > Which soft core processor and RTOS would be recommendable to use on > Spartan 3E board, to have access to TCP/IP sockets that direct to the > Ethernet port on the Spartan 3E board?
Few RTOS's by themselves have TCP/IP support -- you either need to use a honkin' big RTOS (like RT Linux, or VxWorks), or you need to buy a little RTOS and someone's TCP/IP software ala cart. What you want depends on what you're doing, but you may want to take a look at Micrium's offerings.
> Does the soft core processor come with a compiler for writing software > in C?
Most do.
> I like to have C compiler where I can use sockets, etc.
Any C compiler will let you use sockets -- because TCP/IP sockets have nothing to do with the compiler. They have everything to do with what the OS (or the separate TCP/IP stack) provides, though.
> Once the prototype is ready on the Spartan 3E board, is it easy to > convert it to a PCB board (containing the FPGA and Ethernet circuitry)?
If your level of knowledge of electronics is as low as your level of knowledge of software, it'll be an uphill battle. But you'll certainly come out the other side smarter than when you went in. -- My liberal friends think I'm a conservative kook. My conservative friends think I'm a liberal kook. Why am I not happy that they have found common ground? Tim Wescott, Communications, Control, Circuits & Software http://www.wescottdesign.com
>Hello, > >I like to design a prototype network application on a Spartan 3E board, >and would need to have an RTOS with support for TCP/IP sockets. > >Which soft core processor and RTOS would be recommendable to use on
Spartan
>3E board, to have access to TCP/IP sockets that direct to the Ethernet
port
>on the Spartan 3E board? > >Does the soft core processor come with a compiler for writing software in >C? >I like to have C compiler where I can use sockets, etc. > >Once the prototype is ready on the Spartan 3E board, is it easy to
convert
>it to a PCB board (containing the FPGA and Ethernet circuitry)? > >Thanks,
It is possible to run LwIP on a MicroBlaze in a Spartan 3. --------------------------------------- Posted through http://www.FPGARelated.com
On Nov 22, 3:52=A0pm, "pascal_sweden"
<pascal_sweden@n_o_s_p_a_m.hotmail.com> wrote:
> Hello, > > I like to design a prototype network application on a Spartan 3E board, > and would need to have an RTOS with support for TCP/IP sockets. > > Which soft core processor and RTOS would be recommendable to use on Spart=
an
> 3E board, to have access to TCP/IP sockets that direct to the Ethernet po=
rt
> on the Spartan 3E board?
There's several RTOSes supported for OpenRISC, and a few SoC projects on OpenCores which have support for some commodity Spartan 3 boards that could get you up and running quite quickly. I believe there's a port of lwIP floating around for OpenRISC, too.
> Does the soft core processor come with a compiler for writing software in > C?
It sure does. http://opencores.org/or1k