LPC1768 Mini-DK EasyWeb application with SPI TFT output. Started from EasyWebCR and modified for DM9161 PHY support.

Dependencies:   Mini-DK mbed

This is a very basic EasyWeb application.

No error checking is performed during initialisation.

Information

If the webpage is not reachable or the 'Webserver running' message does not appear, press the reset button on the Mini-DK and wait until the message 'Webserver running' appears.
This happens sometimes when powering up the Mini-DK because the DM9161 reset pin is NOT controlled by the LPC1768, it is directly connected to the reset button.

IP adress/mask/gateway in tcpip.h : 192.168.0.200 / 255.255.255.0 / 192.168.0.1

MAC address in ethmac.h : 6-5-4-3-2-1

Revision:
4:5313680c1ef5
Parent:
3:342aa2cf54e8
--- a/easyweb.cpp	Fri Jan 04 16:44:27 2013 +0000
+++ b/easyweb.cpp	Tue Jan 08 17:04:49 2013 +0000
@@ -49,11 +49,11 @@
     // gateway     : 192.168.0.1        Stored in tcpip.h  (GWIP_1 to GWIP_1)
     // mask        : 255.255.255.0      Stored in tcpip.h  (SUBMASK_1 to SUBMASK_4)
     TFT.locate(0,0);
-    TFT.printf("IP address\n");
-    TFT.printf("%d.%d.%d.%d\n\n",MYIP_1,MYIP_2,MYIP_3,MYIP_4);
-    TFT.printf("MAC address\n");
-    TFT.printf("%02X:%02X:%02X:%02X:%02X:%02X\n\n",MYMAC_6, MYMAC_5, MYMAC_4, MYMAC_3, MYMAC_2, MYMAC_1);
-    TFT.printf("Initialising..please wait..\n\n");
+    printf("IP address\n");
+    printf("%d.%d.%d.%d\n\n",MYIP_1,MYIP_2,MYIP_3,MYIP_4);
+    printf("MAC address\n");
+    printf("%02X:%02X:%02X:%02X:%02X:%02X\n\n",MYMAC_6, MYMAC_5, MYMAC_4, MYMAC_3, MYMAC_2, MYMAC_1);
+    printf("Initialising..please wait..\n\n");
     TCPLowLevelInit();
 
 /*
@@ -77,7 +77,7 @@
 
   TCPLocalPort = TCP_PORT_HTTP;                  // set port we want to listen to
  
-  TFT.printf("Webserver running");
+  printf("Webserver running");
   
   while (1)                                      // repeat forever
   {