# LPC1768 IAR Demo, webpage not working

**URL:** <https://forums.freertos.org/t/lpc1768-iar-demo-webpage-not-working/2419>\
**Category:** Kernel\
**Created:** [December 17, 2010, 9:38pm UTC](https://forums.freertos.org/t/lpc1768-iar-demo-webpage-not-working/2419 "2010-12-17T21:38:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 17, 2010, 9:38pm UTC](https://forums.freertos.org/t/lpc1768-iar-demo-webpage-not-working/2419/1 "2010-12-17T21:38:42Z")

</div>

**[jedimasteryoda](https://sourceforge.net/u/jedimasteryoda/)** wrote on [Friday, December 17, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/6701bfbb/#521b):

Hello, wondering if I could get some advice on the below.

Compiling the demo from the [FreeRTOS.org](http://FreeRTOS.org) website on the LPC1768-SK board using IAR 5.4.

It compiles downloads fine, LED 1 blinks every second. The USB works fine, I can send receive characters via RealTerm.

But the webserver portion is not working, I set the IP address to match mine, except for the last three digits of course. For the last three digits I ping an address that doesn’t respond (i.e. …254 is what I am using because it seemed to be unused). Then I compile and download (after entering this address in FreeRTOSConfig.h see below).

I am using this at work, and I am hoping to avoid contacting IT, they are such a pain in the aassss to work with (they’re always so intimidated by EEs’ whats with that anyway?).

```
/*--------------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\master.yoda>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
        Connection-specific DNS Suffix . : masteryoda.com
        IP Address. . . . . . . . . . . . : 10.26.0.79
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 10.26.255.254
-------------------------------------------------*/
/* IP address configuration. */
#define configIP_ADDR0 10
#define configIP_ADDR1 26
#define configIP_ADDR2 0
#define configIP_ADDR3 254
/* Netmask configuration. */
#define configNET_MASK0 255
#define configNET_MASK1 255
#define configNET_MASK2 0
#define configNET_MASK

```

3 0

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 17, 2010, 9:40pm UTC](https://forums.freertos.org/t/lpc1768-iar-demo-webpage-not-working/2419/2 "2010-12-17T21:40:38Z")

</div>

**[jedimasteryoda](https://sourceforge.net/u/jedimasteryoda/)** wrote on [Friday, December 17, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/6701bfbb/#5e7b):

Sorry, the codify came out terrible…

/\*-----------------------------  
Microsoft Windows XP  
(C) Copyright 1985-2001 Microsoft Corp.

Windows IP Configuration

Ethernet adapter Local Area Connection 2:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connection-specific DNS Suffix&nbsp; . : [newport.com](http://newport.com)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP Address. . . . . . . . . . . . : 10.26.0.79  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subnet Mask . . . . . . . . . . . : 255.255.0.0  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Default Gateway . . . . . . . . . : 10.26.255.254

C:\Documents and Settings\jack.haller\>  
---------------------------------\*/

/\* IP address configuration. \*/  
#define configIP\_ADDR0 10  
#define configIP\_ADDR1 26  
#define configIP\_ADDR2 0  
#define configIP\_ADDR3 254

/\* Netmask configuration. \*/  
#define configNET\_MASK0 255  
#define configNET\_MASK1 255  
#define configNET\_MASK2 0  
#define configNET\_MASK3 0
