EmbDev.net

Forum: ARM programming with GCC/GNU tools embedded web server for lpc2129


von Tiong L. (ctloh)


Rate this post
useful
not useful
hi all..
i want to implement an embedded web server for lpc2129..can anyone
provide me some examples?

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
Tiong Loh wrote:
> hi all..
> i want to implement an embedded web server for lpc2129..can anyone
> provide me some examples?

The LPC2129 has no ethernet support in hardware. If this controller has
to be used external hardware is needed. Feed google with CS8900,
DM9000E, ENC28J60, XPort or Wiznet to get an idea about the possible
options. There are many more but this should get you started. As an
alternative you may think about using AT91SAM7X or LPC23xx/24xx, both
offer ethernet-support in hardware but need an external PHY. Also check
the LuminaryMicro Stellaris controllers like the LM3S6965. The needed
software/firmware depends on the selected hardware.

von Tiong L. (ctloh)


Rate this post
useful
not useful
Martin Thomas wrote:
> Tiong Loh wrote:
>> hi all..
>> i want to implement an embedded web server for lpc2129..can anyone
>> provide me some examples?
>
> The LPC2129 has no ethernet support in hardware. If this controller has
> to be used external hardware is needed. Feed google with CS8900,
> DM9000E, ENC28J60, XPort or Wiznet to get an idea about the possible
> options. There are many more but this should get you started. As an
> alternative you may think about using AT91SAM7X or LPC23xx/24xx, both
> offer ethernet-support in hardware but need an external PHY. Also check
> the LuminaryMicro Stellaris controllers like the LM3S6965. The needed
> software/firmware depends on the selected hardware.

Hi Martin Thomas,
I am actually using Olimex lpc-E2129,this board have ethernet
integrated.So,the hardware part should have no problems.Now i want to
implement a web server in the lpc2129 and a DS1620 temperature sensor as
a client so that the server can get the data from the temperature
sensor.i need to get all this done within this week,so it is kinda short
of time.can anyone help me on this?
Thanks..

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
> I am actually using Olimex lpc-E2129,this board have ethernet
> integrated.So,the hardware part should have no problems.Now i want to
> implement a web server in the lpc2129 and a DS1620 temperature sensor as
> a client so that the server can get the data from the temperature
> sensor.

- Ethernet-Software: http://www.freertos.org/portrowleylpc2124.html

- DS1620: so far I have not used such a device so I can not realy help.
But from description of the commumincation protocol in the datasheet
interfacing should not be difficult. For a first step try to interface
by "pin-toogle/pin-state-read" (and not using any LPC SPI hardware).
Once you have this working integrate the code into a FreeRTOS project as
a separate task which reads the temperature at a given rate. The reading
can be pushed into a queue and the web-server.task can pull it from the
queue to paste the value into the page-text created in
vProcessConnection.

> i need to get all this done within this week,so it is kinda short
> of time.can anyone help me on this?

Tough timeline.

von Tiong L. (ctloh)


Rate this post
useful
not useful
Martin Thomas wrote:
>
>> I am actually using Olimex lpc-E2129,this board have ethernet
>> integrated.So,the hardware part should have no problems.Now i want to
>> implement a web server in the lpc2129 and a DS1620 temperature sensor as
>> a client so that the server can get the data from the temperature
>> sensor.
>
> - Ethernet-Software: http://www.freertos.org/portrowleylpc2124.html
>
> - DS1620: so far I have not used such a device so I can not realy help.
> But from description of the commumincation protocol in the datasheet
> interfacing should not be difficult. For a first step try to interface
> by "pin-toogle/pin-state-read" (and not using any LPC SPI hardware).
> Once you have this working integrate the code into a FreeRTOS project as
> a separate task which reads the temperature at a given rate. The reading
> can be pushed into a queue and the web-server.task can pull it from the
> queue to paste the value into the page-text created in
> vProcessConnection.
>
>> i need to get all this done within this week,so it is kinda short
>> of time.can anyone help me on this?
>
> Tough timeline.

Hi,
What is the different between embedded web server and client actually?
If i already implement an embedded web client in my board,what should i
do to make the board as a embedded web server?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.