EmbeddedRelated.com
Forums
Memfault Beyond the Launch

LPC2368 webserver FreeRtos

Started by cris...@diteltv.es March 5, 2008
Hello,

I have downloaded FreeRtos software with some demos. I'm using it's webserver example under ARM7 LPC2368 Rowley. I'm trying to run the webserver example with internet explorer and the next message appears:

"Loading index.shtml. Click here if not automatically redirected. "

Here is a link that i click for redirect to the index.shtml but it never works. What is the problem?

I have follow the main intructions in uipop.h and configure the ip address, netmask and router address. Also, i have chanche the pinsel2_value . Shall i change more configurations? Can anybody help me?

Where can i find more information about how to configure the webserver application for running?

Thanks,

Cristina

An Engineer's Guide to the LPC2100 Series

Hello,



Sorry for the amount of emails. I have found your email address in the website after open a thread in this post. I have been looking at this a long time and I don't find were the bug is or what I have to configure.



I have downloaded FreeRTOSV4.7.2.zip fron FreeRtos website.

I'm using MCB2300 board with LPC2368. I'm using CrossStudio 1.6.

I have tried to connect to the webserver with IE7.0 and FireFox 2.0. and the behaviour is the same in both cases, always the same message:

Loading index.shtml. Click here if not automatically redirected



And then, it never continues to the index.shtml link.



Ping command works fine just once, but it works.



I suppose I have to change only two things:

- ip addresses (ip address, gateway, mask)

- Pincel2_value



Thanks and sorry again,



Cristina










----- Original Message -----
From: FreeRTOS.org Info
To: l...
Sent: Wednesday, March 05, 2008 2:07 PM
Subject: RE: [lpc2000] LPC2368 webserver FreeRtos
> -----Original Message-----
> From: l...
> [mailto:l...] On Behalf Of
> c...@diteltv.es
> Sent: 05 March 2008 12:47
> To: l...
> Subject: [lpc2000] LPC2368 webserver FreeRtos
>
> Hello,
>
> I have downloaded FreeRtos software with some demos. I'm
> using it's webserver example under ARM7 LPC2368 Rowley. I'm
> trying to run the webserver example with internet explorer
> and the next message appears:
>
> "Loading index.shtml. Click here if not automatically redirected. "
>
> Here is a link that i click for redirect to the index.shtml
> but it never works. What is the problem?
>
> I have follow the main intructions in uipop.h and configure
> the ip address, netmask and router address. Also, i have
> chanche the pinsel2_value . Shall i change more
> configurations? Can anybody help me?
>
> Where can i find more information about how to configure the
> webserver application for running?
>

Wow, just sat down at my PC after lunch and find four emails - all from you
and all asking the same question. Two new threads on the support forum, one
here and one personal email.

Which version of FreeRTOS.org are you using, which demo board are you using,
and which revision of the LPC2368 do you have?

You are being served a page which proves some of the system. Have you tried
using FireFox? Which IE version do you have (I have tested using FireFox
and IE6 only).

Regards,
Richard.

+ http://www.FreeRTOS.org
16 official architecture ports, 5000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.







Yes, ping works once or twice and then it doesn't make any response any more.
----- Original Message -----
From: mjames_doveridge
To: l...
Sent: Wednesday, March 05, 2008 5:18 PM
Subject: [lpc2000] Re: LPC2368 webserver FreeRtos

>
>
> I have downloaded FreeRTOSV4.7.2.zip fron FreeRtos website.
>
> I'm using MCB2300 board with LPC2368. I'm using CrossStudio 1.6.
>
> I have tried to connect to the webserver with IE7.0 and FireFox 2.0.
and the behaviour is the same in both cases, always the same message:
>
> Loading index.shtml. Click here if not automatically redirected
>
>
>
> And then, it never continues to the index.shtml link.
>
>
>
> Ping command works fine just once, but it works.
>

PING works only once? Hmm... that's worrying. ICMP ping is very
simple - get that working reliably first, else there's little chance
of fixing something like HTTP that needs several exchanges to do even
one page download, (DNS UDP, server TCP connect, GET/POST etc).

During HTTP, it might be useful to see what's going on. The client
browser should get a '301' or '302' redirect from the server and then
attempt to navigate to the new URL. You need something like Ethereal
so you can see the '301' and the new location headers going across.

Rgds,
Martin
Hello,

Does anybody working with LPC2368 webserver FreeRtos application? The program always crashes and when you stop it is in an abort handler.
You cannot depure it step by step because the program crashes aswell.
Does anybody get make the webserver running?
How many changes in the program do you have to make?

Thanks
> Hello,
>
> Does anybody working with LPC2368 webserver FreeRtos
> application?

There have been threads here and on the support forum about the 2368 demo
before so there are lots of people using it.

>The program always crashes and when you stop it
> is in an abort handler.

So you can find the address of the instruction that caused it to
crash.....which part of the code is crashing?

> You cannot depure it step by step because the program crashes aswell.

Which program?

> Does anybody get make the webserver running?
> How many changes in the program do you have to make?
>

I checked the latest release yesterday and it works fine for me. No changes
from the .zip file in the download. You still have not mentioned the
revision of the LPC you are using.

Regards,
Richard.

+ http://www.FreeRTOS.org
16 official architecture ports, 5000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.



Alle 09:23, gioved6 marzo 2008, c...@diteltv.es ha scritto:

> Does anybody working with LPC2368 webserver FreeRtos application? The
> program always crashes and when you stop it is in an abort handler.
> You cannot depure it step by step because the program crashes aswell.

What are you using for programming the part? JTAG? If so, which driver?
OpenOCD?

Are you sure you erase all the sectors before uploading the program?
Fausto

Memfault Beyond the Launch