EmbeddedRelated.com
Forums

How can I Network using a microcontroller

Started by Omid Ghayour January 29, 2004
On Thu, 29 Jan 2004 17:52:39 +0000, Pygmi wrote:

> I have wondered about the same thing; or > minimum effort to add TCP/IP... > > HAs anyone experience with Wiznet modules, like the > IIM7010A ??? > > http://www.wiznet.co.kr/e_iinchip/index_e.htm >
Yes, check out: http://www.amresearch.com:2005 for a preview of our 8051-type webserver/microcontroller. At the moment we're experimenting with adding CGI and POST operators but both the circuit and source will be released under the LGPL license by March 1, 2004. -- Regards, Albert ---------------------------------------------------------------------- AM Research, Inc. The Embedded Systems Experts http://www.amresearch.com 916.780.7623 ----------------------------------------------------------------------
On Fri, 30 Jan 2004 02:25:21 +0000, Dan wrote:

> On 29 Jan 2004 04:50:40 -0800, ghayourn@yahoo.com (Omid Ghayour) > wrote: > >>I have a microcontroller and I want to make a connection with a lan >>card (a pc on a lan) using TCP/IP. > > You'll need a tcp-ip stack. You might consider using embedded Linux > or uCLinux. > -------snip----------
Normally, yes, you would have to but recent components like the W3100A do much of the toil in h/w. An 8051 is severly underpowered, and under-RAM'ed, to handle even low speed ethernet let alone multiple sockets. -- Regards, Albert ---------------------------------------------------------------------- AM Research, Inc. The Embedded Systems Experts http://www.amresearch.com 916.780.7623 ----------------------------------------------------------------------
Omid Ghayour wrote:
> I have a microcontroller and I want to make a > connection with a lan card (a pc on a lan) using > TCP/IP. I think to use the lan card IC to control > the protocol, but I need to write a driver for it > on my hardware. Can anybody help me to write the > driver.
This can be a very big effort, especially the TCP stack. See http://www.edtp.com for cheap LAN prototyping cards and C code. Google on 8051 and one of these controllers: NE2000, RTL8019AS, CS8900A, 91C111, AX88796, DM9000 Best, look at one of these turnkey solutions that translate a serial interface to TCP: http://www.lantronix.com/products/eds/xport/index.html http://www.digi.com/products/embeddeddeviceservers/digiconnectme.jsp
On Fri, 30 Jan 2004 19:34:53 +0100, "Marko" <xxx@yyyy.zz> wrote:

> >> You'll need a tcp-ip stack. You might consider using embedded Linux >> or uCLinux.> > >or eCos. >
On an 8051 ? You must be kidding :-) --- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
>Rabbit makes an 8051 development board complete with 10 base-t ethernet and >includes a TCPIP stack with source - I think.
No, IMHO Rabbit uses their own CPU's which resemble more a Z80 than an 8051. While I havent used this part so far, this might be a good candidate for what you want since it includes a MAC and a complete TCP/IP stack. See: http://pdfserv.maxim-ic.com/en/ds/DS80C400.pdf HTH Markus
I'm not sure if we're talking the same thing, if you want netowrking like
TCP-IP or you just want the processors to talk to each other. If the later
is true the 9 bit serial mode works great for that.

> > > > >> You'll need a tcp-ip stack. You might consider using embedded Linux > >> or uCLinux.> > > > >or eCos. > > > > On an 8051 ? You must be kidding :-) > --- > 42Bastian > Do not email to bastian42@yahoo.com, it's a spam-only account :-) > Use <same-name>@epost.de instead !
On Fri, 30 Jan 2004 02:25:21 +0000, Dan wrote:

> On 29 Jan 2004 04:50:40 -0800, ghayourn@yahoo.com (Omid Ghayour) > wrote: > >>I have a microcontroller and I want to make a connection with a lan >>card (a pc on a lan) using TCP/IP. > > You'll need a tcp-ip stack. You might consider using embedded Linux > or uCLinux. > > You can also have a look at > http://www.dunkels.com/adam/uip/ > > > Dan
The original point was an 8051-web server. Linux will not run on an 8051. -- Regards, Albert ---------------------------------------------------------------------- AM Research, Inc. The Embedded Systems Experts http://www.amresearch.com 916.780.7623 ----------------------------------------------------------------------
On 29 Jan 2004 04:50:40 -0800, ghayourn@yahoo.com (Omid Ghayour)
wrote:

>I have a microcontroller and I want to make a connection with a lan >card (a pc on a lan) using TCP/IP. I think to use the lan card IC to >control the protocol, but I need to write a driver for it on my >hardware. Can anybody help me to write the driver. I am experinced >(almost) on 8051 microcontroller.
There is a limited TCP/IP stack called emBetter for HC12, but AFAIK it is mostly in ANSI-C. --- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
ghayourn@yahoo.com (Omid Ghayour) wrote in message news:<e946a7ce.0401290450.3a7ffdaf@posting.google.com>...
> I have a microcontroller and I want to make a connection with a lan > card (a pc on a lan) using TCP/IP. I think to use the lan card IC to > control the protocol, but I need to write a driver for it on my > hardware. Can anybody help me to write the driver. I am experinced > (almost) on 8051 microcontroller. > > Thanks, > Omid.
Hi Omid. I develope a fantastic IPC@CHIP Beck board based on Beck SC12 Chip (186 with Ethernet/CF socket/two serial port, I/O, Sja1000 CAN controller ecc) You can debug and program chip with free Beck Tools (Borland C++ 5.2 with special Turbo debugger) with 10mbit ethernet connection You can develope web server, Tcp remote client/server control, Ftp PPP Email connection ecc.. for price and more information send email at : tkproj@inwind.it Bye From Italy Roberto Vescovi