Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Embedded Web Server

Embedded Web Server

2005-06-29 by Mark Butcher

Hi all

I have been away for a while but did make a few postings in the past
concerning a project I have been working on with the LPC2106 and 
Freescale MC9S12NE64 as TCP/IP co-processor.

Finally there is something which may be interesting for you to take a
look at.

I have an NE64 running on the DEMO9S12NE64 at the following address
http://212.254.22.36/

The software, including TCP/IP has been developed from scratch (using
OpenTCP as initial reference) and compiled using the GNU compiler (of
course). It is possible to use this as LPC2106 co-processor via SPI 
or simply as SPI/LAN connection with the code on the LPC2106.

The example is explained on the in-build web page in more detail but
after experimenting a little have settled for the following 
solutions:
- I did use TELNET initially but dropped it for HTTP and FTP
parameterising / file loading [strangely neither TELNET not FTP were 
a part of OpenTCP when I looked at it]. For HTTP I use a 16k page as
file system allowing updates via drag and drop to FTP. On the NE64 it
is a good compromise since it is then possible to use the remaining
48k FLASH without paging (and the overhead and complications which
come with it).

The application which is presented also support LAN/RS232 conversion
plus some other things.

At the link there is a web cam and you can send an Email to the demo
and see it receive it (on LCD). I can also control the display over
the Internet using a special application and will have a program
available in the near future allowing anyone to control it from a
control panel.

I would be interested to hear from anyone with similar interests or
comments on the demo.

Regards

Mark Butcher

www.mjbc.ch

Re: Embedded Web Server

2005-06-29 by valdef78

--- In lpc2000@yahoogroups.com, "Mark Butcher" <M_J_Butcher@I...> 
wrote:
> Hi all
> I have been away for a while but did make a few postings in the 
past
> concerning a project I have been working on with the LPC2106 and 
> Freescale MC9S12NE64 as TCP/IP co-processor.
...
> I would be interested to hear from anyone with similar interests or
> comments on the demo.
> Regards
> Mark Butcher
> www.mjbc.ch

that's something of interest to me, because one of my future planned 
projects with LPC is something like that.. but i'm still at the 
beginning with the LPC2132 and there are still many things that I 
need to learn.. (and i got several simpler projects to do before).

i looked at different "ethernet controller" and the one that is 
keeping my attention just now is the coming ENC28J60 from Microchip :

"Microchip's ENC28J60 is a 28-pin, 10BASE-T stand alone Ethernet 
Controller with on board MAC & PHY, 8 Kbytes of Buffer RAM and an 
SPI serial interface. With a small foot print package size the 
ENC28J60 minimizes complexity, board space and cost. Target 
applications include VoIP, Industrial Automation, Building 
Automation, Home Control, Security and Instrumentation."

i see a little board with it at http://www.edtp.com , that should be 
available in July. so the ENC28J60 should be available soon.
but there's still one thing that keep me curious is the so HIGH 
power supply current indicated on the preliminary datasheets (250mA 
max).

do you know approximatively the power supply current needed by your 
MC9S12NE64 ?

and i see here some announcement of future LPC with ethernet 
interface embedded, so maybe that could be another solution for me..

I already looked at the OpenTCP website, but there doesn't seem to 
be any activity on it, the forum is out of work since several 
months..

Re: [lpc2000] Re: Embedded Web Server

2005-06-29 by Marko Pavlin (home)

valdef78 wrote:

> --- In lpc2000@yahoogroups.com, "Mark Butcher" <M_J_Butcher@I...>
> wrote:
> > Hi all
> > I have been away for a while but did make a few postings in the
> past
> > concerning a project I have been working on with the LPC2106 and
> > Freescale MC9S12NE64 as TCP/IP co-processor.
> ...
> > I would be interested to hear from anyone with similar interests or
> > comments on the demo.
> > Regards
> > Mark Butcher
> > www.mjbc.ch
>
> that's something of interest to me, because one of my future planned
> projects with LPC is something like that.. but i'm still at the
> beginning with the LPC2132 and there are still many things that I
> need to learn.. (and i got several simpler projects to do before).
>
> i looked at different "ethernet controller" and the one that is
> keeping my attention just now is the coming ENC28J60 from Microchip :
>
> "Microchip's ENC28J60 is a 28-pin, 10BASE-T stand alone Ethernet
> Controller with on board MAC & PHY, 8 Kbytes of Buffer RAM and an
> SPI serial interface. With a small foot print package size the
> ENC28J60 minimizes complexity, board space and cost. Target
> applications include VoIP, Industrial Automation, Building
> Automation, Home Control, Security and Instrumentation."
>
> i see a little board with it at http://www.edtp.com , that should be
> available in July. so the ENC28J60 should be available soon.
> but there's still one thing that keep me curious is the so HIGH
> power supply current indicated on the preliminary datasheets (250mA
> max).
>
> do you know approximatively the power supply current needed by your
> MC9S12NE64 ?
>
> and i see here some announcement of future LPC with ethernet
> interface embedded, so maybe that could be another solution for me..
>
> I already looked at the OpenTCP website, but there doesn't seem to
> be any activity on it, the forum is out of work since several
> months..
>
>
>
>
>
>
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "lpc2000
>       <http://groups.yahoo.com/group/lpc2000>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
>
Check freertos/uip:
http://www.freertos.org/

there are examples for several LPC2xxx for keil or GNU, like this one 
for LPC2124:
http://www.freertos.org/portrowleylpc2124.html

Embedded Web Server

2005-06-29 by Stephen Pelc

From: "valdef78" <valdef@...>
> i see a little board with it at http://www.edtp.com , that should
> be available in July. so the ENC28J60 should be available soon.
> but there's still one thing that keep me curious is the so HIGH
> power supply current indicated on the preliminary datasheets
> (250mA max).

It's quite possible to drive any of the EDTP Ethernet boards 
from an LPC2106. We've interfaced to both the RTL8019AS and the 
AX88796 boards by bit-banging GPIO lines. The result is pretty 
quick! We can fit our PowerNet multi-threaded web server with 
CGI and ASP in a 2106.

Stephen



--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 23 80 631441, fax: +44 23 80 339691
web: http://www.mpeltd.demon.co.uk - free VFX Forth downloads

RE: [lpc2000] Embedded Web Server

2005-06-30 by Lasse Madsen

Hi Stephen,

How do you do ASP and CGI inside the micro? 
Is there some OpenASP or have you written a program to decode ASP?

Regards
Lasse
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of
Stephen Pelc
Sent: 29. juni 2005 22:59
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Embedded Web Server

From: "valdef78" <valdef@...>
> i see a little board with it at http://www.edtp.com , that should
> be available in July. so the ENC28J60 should be available soon.
> but there's still one thing that keep me curious is the so HIGH
> power supply current indicated on the preliminary datasheets
> (250mA max).

It's quite possible to drive any of the EDTP Ethernet boards 
from an LPC2106. We've interfaced to both the RTL8019AS and the 
AX88796 boards by bit-banging GPIO lines. The result is pretty 
quick! We can fit our PowerNet multi-threaded web server with 
CGI and ASP in a 2106.

Stephen



--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 23 80 631441, fax: +44 23 80 339691
web: http://www.mpeltd.demon.co.uk - free VFX Forth downloads


 
Yahoo! Groups Links

Re: Embedded Web Server

2005-06-30 by Mark Butcher

Hi

The ENC28J60 is something which I also had my eye on, although I 
have been warned by a few friends that the Microchip devices are not 
always as good as they initially seen (something to do with 
complexity). I thought they would be available in February since a 
friend of mine was promised samples - I don't know whether he ever 
received them though.

The reason why I am sticking to the NE64 for the moment is that it 
does 10 and 100M [looks good in specs]. The down side is that it has 
less memory for Ethernet buffering - however the SPI interface will 
be quite a bottleneck especially with the LPC..SPI which is not one 
of its strong features (very basic and throughput is quite low - it 
would only be really interesring if it had DMA support).

The NE64 is not a very fast chip (although don't under estimate it) 
but has direct access to the Ethernet buffers in SRAM. It can take 
load from a main processor, if used as a coprocessor, which then 
only has to shift data at the application interface level...In many 
cases it has enough resources to do the whole application itself.

As for current consumption - the NE64 draws about 250mA when running 
at 100MHz. I haven't measured at 10MHz but it will certainly be 
rather less since the bus clock doesn't have to be set so high. Fact 
is, there are quite fast internal clocks in 100M Ethernet interfaces 
and it is normal that the power consumption is in this region. 250mA 
for the ENC28J60 at 10M does sound rather high. Don't forget that 
the 250mA in the NE64 includes the processor running its application 
at 25MHz and all other peripherals from 3.3V, so I don't think this 
is so bad at all.

Regards

Mark Butcher

www.mjbc.ch



--- In lpc2000@yahoogroups.com, "valdef78" <valdef@s...> wrote:
> --- In lpc2000@yahoogroups.com, "Mark Butcher" <M_J_Butcher@I...> 
> wrote:
> > Hi all
> > I have been away for a while but did make a few postings in the 
> past
> > concerning a project I have been working on with the LPC2106 and 
> > Freescale MC9S12NE64 as TCP/IP co-processor.
> ...
> > I would be interested to hear from anyone with similar interests 
or
> > comments on the demo.
> > Regards
> > Mark Butcher
> > www.mjbc.ch
> 
> that's something of interest to me, because one of my future 
planned 
> projects with LPC is something like that.. but i'm still at the 
> beginning with the LPC2132 and there are still many things that I 
> need to learn.. (and i got several simpler projects to do before).
> 
> i looked at different "ethernet controller" and the one that is 
> keeping my attention just now is the coming ENC28J60 from 
Microchip :
> 
> "Microchip's ENC28J60 is a 28-pin, 10BASE-T stand alone Ethernet 
> Controller with on board MAC & PHY, 8 Kbytes of Buffer RAM and an 
> SPI serial interface. With a small foot print package size the 
> ENC28J60 minimizes complexity, board space and cost. Target 
> applications include VoIP, Industrial Automation, Building 
> Automation, Home Control, Security and Instrumentation."
> 
> i see a little board with it at http://www.edtp.com , that should 
be 
> available in July. so the ENC28J60 should be available soon.
> but there's still one thing that keep me curious is the so HIGH 
> power supply current indicated on the preliminary datasheets 
(250mA 
> max).
> 
> do you know approximatively the power supply current needed by 
your 
> MC9S12NE64 ?
> 
> and i see here some announcement of future LPC with ethernet 
> interface embedded, so maybe that could be another solution for 
me..
Show quoted textHide quoted text
> 
> I already looked at the OpenTCP website, but there doesn't seem to 
> be any activity on it, the forum is out of work since several 
> months..

Re: Embedded Web Server

2005-07-12 by Mark Butcher

Additional note about Freescale MC9S12NE64 as TCP/IP co-processor.

I finally got around to checking the current consumption in 10M mode 
(as opposed to 100M). I measured almost exactly half the current 
consumption. ie. 125mA in 10M LAN mode / in 100M LAN mode it was 
about 250mA - all from 5V, altough after the 5V/3.3V regulator it is 
really 3V3 so approx. 0.4W at 10M and 0.8W at 100M. Is this good or 
bad?????

Regards

Mark Butcher

www.mjbc.ch


--- In lpc2000@yahoogroups.com, "Marko Pavlin (home)" <mp@h...> 
wrote:
> valdef78 wrote:
> 
> > --- In lpc2000@yahoogroups.com, "Mark Butcher" <M_J_Butcher@I...>
> > wrote:
> > > Hi all
> > > I have been away for a while but did make a few postings in the
> > past
> > > concerning a project I have been working on with the LPC2106 
and
> > > Freescale MC9S12NE64 as TCP/IP co-processor.
> > ...
> > > I would be interested to hear from anyone with similar 
interests or
> > > comments on the demo.
> > > Regards
> > > Mark Butcher
> > > www.mjbc.ch
> >
> > that's something of interest to me, because one of my future 
planned
> > projects with LPC is something like that.. but i'm still at the
> > beginning with the LPC2132 and there are still many things that I
> > need to learn.. (and i got several simpler projects to do 
before).
> >
> > i looked at different "ethernet controller" and the one that is
> > keeping my attention just now is the coming ENC28J60 from 
Microchip :
> >
> > "Microchip's ENC28J60 is a 28-pin, 10BASE-T stand alone Ethernet
> > Controller with on board MAC & PHY, 8 Kbytes of Buffer RAM and an
> > SPI serial interface. With a small foot print package size the
> > ENC28J60 minimizes complexity, board space and cost. Target
> > applications include VoIP, Industrial Automation, Building
> > Automation, Home Control, Security and Instrumentation."
> >
> > i see a little board with it at http://www.edtp.com , that 
should be
> > available in July. so the ENC28J60 should be available soon.
> > but there's still one thing that keep me curious is the so HIGH
> > power supply current indicated on the preliminary datasheets 
(250mA
> > max).
> >
> > do you know approximatively the power supply current needed by 
your
> > MC9S12NE64 ?
> >
> > and i see here some announcement of future LPC with ethernet
> > interface embedded, so maybe that could be another solution for 
me..
> >
> > I already looked at the OpenTCP website, but there doesn't seem 
to
Show quoted textHide quoted text
> > be any activity on it, the forum is out of work since several
> > months..
> >
> >

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.