EmbDev.net

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


Author: Tiong Loh (ctloh)
Posted on:

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

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Author: Tiong Loh (ctloh)
Posted on:

Rate this post
0 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..

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Author: Tiong Loh (ctloh)
Posted on:

Rate this post
0 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?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.