LPC1768 IAR Demo, webpage not working

jedimasteryoda wrote on Friday, December 17, 2010:

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

Compiling the demo from the 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

jedimasteryoda wrote on Friday, December 17, 2010:

Sorry, the codify came out terrible…

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

Windows IP Configuration

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . : newport.com
        IP Address. . . . . . . . . . . . : 10.26.0.79
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        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