Forums

www server on Olimex LPC2124

Started by Bogdan Teodorescu August 23, 2005
On Olimex board (lpc2124 and cs8900a) i want to use a www server for remote
sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has also a
port but I
was also unable to start the server. Has anyone more luck than me in using
the board
with a www server ? On board there is also some I2C EEPROM for file storage
but I can not figure
out how to upload files in the EEPROM.
Thanks
All the best, Bogdan


An Engineer's Guide to the LPC2100 Series

--- In lpc2000@lpc2..., "Bogdan Teodorescu" <bteo@q...> wrote:
> On Olimex board (lpc2124 and cs8900a) i want to use a www server
for remote
> sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has
also a
> port but I
> was also unable to start the server. Has anyone more luck than me
in using
> the board
> with a www server ? On board there is also some I2C EEPROM for
file storage
> but I can not figure
> out how to upload files in the EEPROM.
> Thanks
> All the best, Bogdan

Hi Bogdan:

I know an engineer who is writing a book about TCP/IP for embedded
systems, and he is developing the stack based on the LPC2000 family
(specifically using the E2129 Olimex board). His name is Sergio and
you would contact him at (sscaglia at intramarket dot com dot ar).
I hope this help you !

Gus


Thank you Guss
I allready sent him an e-mail
All the best,
Bogdan Teodorescu
----- Original Message -----
From: "gussabina" <gussabina@guss...>
To: <lpc2000@lpc2...>
Sent: Wednesday, August 31, 2005 3:38 AM
Subject: [lpc2000] Re: www server on Olimex LPC2124 > --- In lpc2000@lpc2..., "Bogdan Teodorescu" <bteo@q...> wrote:
>> On Olimex board (lpc2124 and cs8900a) i want to use a www server
> for remote
>> sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has
> also a
>> port but I
>> was also unable to start the server. Has anyone more luck than me
> in using
>> the board
>> with a www server ? On board there is also some I2C EEPROM for
> file storage
>> but I can not figure
>> out how to upload files in the EEPROM.
>> Thanks
>> All the best, Bogdan
>
> Hi Bogdan:
>
> I know an engineer who is writing a book about TCP/IP for embedded
> systems, and he is developing the stack based on the LPC2000 family
> (specifically using the E2129 Olimex board). His name is Sergio and
> you would contact him at (sscaglia at intramarket dot com dot ar).
> I hope this help you !
>
> Gus >
> Yahoo! Groups Links >




Hi,

> On Olimex board (lpc2124 and cs8900a) i want to use a www server
for remote
> sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has
also a
> port but I
> was also unable to start the server.


Some questions:

+ Are you using the same board that the FreeRTOS server was tested on?

+ Is the software running, but the WEB server not responding, or is
nothing working.

+ If the board is working, but the WEB server not responding, have
you double checked:

i/ Correct cabling (point to point of through hub)
ii/ Compatability of IP address
iii/ Correct port number settings

+ Did you try the project exactly as downloaded from the FreeRTOS.org
site, or did you make any modifications?
>
Has anyone more luck than me in using
> the board
> with a www server ?


I just double checked from a clean install, and it worked straight
off. >On board there is also some I2C EEPROM for file storage
> but I can not figure
> out how to upload files in the EEPROM.


As described on the uIP WEB site, the WEB pages are built into the
binary image. There is a script file called 'makefsdata' that
converts the html found in the fs (FileSystem) directory into a
simple flat file system as hard coded C structs. CGI scripts can
also be created for dynamic data.

The FreeRTOS.org support forum is an active resource for problem
solving. There is a link on the downloads page of the WEB site.

Regards,
Richard.



There is a specialized company that is already offering ARM7
optimized TCP/IP stacks and device management/web server software.
Take a look at www.iniche.com for product and platform information.
Will likely also have a demo configuration for the Phytec Philips
2294 based board (with SMSC MAC/PHY) very soon (Keil tools). Hope
this is useful to you guys.

--- In lpc2000@lpc2..., "gussabina" <gussabina@y...> wrote:
> --- In lpc2000@lpc2..., "Bogdan Teodorescu" <bteo@q...>
wrote:
> > On Olimex board (lpc2124 and cs8900a) i want to use a www server
> for remote
> > sensor reading. I tryed to use Rowley port of uIP. FreeRTOS
has
> also a
> > port but I
> > was also unable to start the server. Has anyone more luck than
me
> in using
> > the board
> > with a www server ? On board there is also some I2C EEPROM for
> file storage
> > but I can not figure
> > out how to upload files in the EEPROM.
> > Thanks
> > All the best, Bogdan
>
> Hi Bogdan:
>
> I know an engineer who is writing a book about TCP/IP for embedded
> systems, and he is developing the stack based on the LPC2000
family
> (specifically using the E2129 Olimex board). His name is Sergio
and
> you would contact him at (sscaglia at intramarket dot com dot ar).
> I hope this help you !
>
> Gus


Hello
The software seems to run. The IP space is OK (I was able to get an answer
from Ping)
But the www server is not running. I still do not know how to upload www
files to board
memory. The software was Rowleys download. The only change - for the
begining- was
the IP add.
All the best,
Bogdan
----- Original Message -----
From: "Richard" <nospam@nosp...>
To: <lpc2000@lpc2...>
Sent: Wednesday, August 31, 2005 11:18 PM
Subject: [lpc2000] Re: www server on Olimex LPC2124 > Hi,
>
>> On Olimex board (lpc2124 and cs8900a) i want to use a www server
> for remote
>> sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has
> also a
>> port but I
>> was also unable to start the server. > Some questions:
>
> + Are you using the same board that the FreeRTOS server was tested on?
>
> + Is the software running, but the WEB server not responding, or is
> nothing working.
>
> + If the board is working, but the WEB server not responding, have
> you double checked:
>
> i/ Correct cabling (point to point of through hub)
> ii/ Compatability of IP address
> iii/ Correct port number settings
>
> + Did you try the project exactly as downloaded from the FreeRTOS.org
> site, or did you make any modifications? >
>>
> Has anyone more luck than me in using
>> the board
>> with a www server ? > I just double checked from a clean install, and it worked straight
> off. >>On board there is also some I2C EEPROM for file storage
>> but I can not figure
>> out how to upload files in the EEPROM. > As described on the uIP WEB site, the WEB pages are built into the
> binary image. There is a script file called 'makefsdata' that
> converts the html found in the fs (FileSystem) directory into a
> simple flat file system as hard coded C structs. CGI scripts can
> also be created for dynamic data.
>
> The FreeRTOS.org support forum is an active resource for problem
> solving. There is a link on the downloads page of the WEB site.
>
> Regards,
> Richard. >
>
> Yahoo! Groups Links >




Bogdan,

Richard has explained to you how the software works and that the file
system is compiled int uIP. uIP does not have a full web server, you
can't dynamically load files onto the board without writing the software
yourself. If you run HTTP on the default address, you should see a page
come up no problem. As the board is responding to pings, the MAC and
PHY are working fine and you have life. It would be a simple matter to
place a breakpoint on an HTTP request and follow the flow of the code if
you know anything about IP. If you don't know anything about how TCP or
IP works, then you're in for quite a rough ride.

-- Paul.

> -----Original Message-----
> From: Bogdan Teodorescu [mailto:bteo@bteo...]
> Sent: 01 September 2005 06:30
> To: lpc2000@lpc2...
> Subject: Re: [lpc2000] Re: www server on Olimex LPC2124 > Hello
> The software seems to run. The IP space is OK (I was able to
> get an answer
> from Ping)
> But the www server is not running. I still do not know how to
> upload www
> files to board
> memory. The software was Rowleys download. The only change - for the
> begining- was
> the IP add.
> All the best,
> Bogdan
> ----- Original Message -----
> From: "Richard" <nospam@nosp...>
> To: <lpc2000@lpc2...>
> Sent: Wednesday, August 31, 2005 11:18 PM
> Subject: [lpc2000] Re: www server on Olimex LPC2124 > > Hi,
> >
> >> On Olimex board (lpc2124 and cs8900a) i want to use a www server
> > for remote
> >> sensor reading. I tryed to use Rowley port of uIP. FreeRTOS has
> > also a
> >> port but I
> >> was also unable to start the server.
> >
> >
> > Some questions:
> >
> > + Are you using the same board that the FreeRTOS server was
> tested on?
> >
> > + Is the software running, but the WEB server not responding, or is
> > nothing working.
> >
> > + If the board is working, but the WEB server not responding, have
> > you double checked:
> >
> > i/ Correct cabling (point to point of through hub)
> > ii/ Compatability of IP address
> > iii/ Correct port number settings
> >
> > + Did you try the project exactly as downloaded from the
> FreeRTOS.org
> > site, or did you make any modifications?
> >
> >
> >
> >>
> > Has anyone more luck than me in using
> >> the board
> >> with a www server ?
> >
> >
> > I just double checked from a clean install, and it worked straight
> > off.
> >
> >
> >>On board there is also some I2C EEPROM for file storage
> >> but I can not figure
> >> out how to upload files in the EEPROM.
> >
> >
> > As described on the uIP WEB site, the WEB pages are built into the
> > binary image. There is a script file called 'makefsdata' that
> > converts the html found in the fs (FileSystem) directory into a
> > simple flat file system as hard coded C structs. CGI scripts can
> > also be created for dynamic data.
> >
> > The FreeRTOS.org support forum is an active resource for problem
> > solving. There is a link on the downloads page of the WEB site.
> >
> > Regards,
> > Richard.
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Most low income households are not online. Help bridge the
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/dN_tlB/TM
> --------------------------
> ------~- > Yahoo! Groups Links