Dependencies:   mbed

Revision:
7:d0f98d61ec4c
Parent:
5:6134277e4d57
--- a/ID.cpp	Fri Sep 30 12:03:31 2011 +0000
+++ b/ID.cpp	Fri Sep 30 14:55:11 2011 +0000
@@ -5,29 +5,33 @@
     switch (idcode) {
     
         //Cortex M3 - LPC17xx
-        case 637615927:                                 //Works
+        case 637615927://Works                           //ID code
             strcpy(strChipType, "LPC1768 - Cortex M3");  //Chip name
+            //MAX 230400 baud                            //Maximum baud rate
             lastSector = 29;                             //Last available sector in Flash
-            RAM = 268435968;                             //First RAM address
+            RAM = 0x10000200;                            //First RAM address
             strcpy(speed, "4000");                       //Chip speed
             break;
             
-        case 1023410219:
-            strcpy(strChipType, "LPC1343 - Cortex M3");  //Can run up to 115200 baud (working on compatability)
+        case 1023410219://Looking at the user manual to solve problems
+            strcpy(strChipType, "LPC1343 - Cortex M3");  
+            //MAX 115200 baud
             lastSector = 7;
             RAM = 0x10000000;
-            strcpy(speed, "4000");                      
+            strcpy(speed, "60000");                      
             break;
             
-        case 71569451:
-            strcpy(strChipType, "LPC1114 - Cortex M3");  //Can run up to 115200 baud (working on compatability)
+        case 71569451://Looking at the user manual to solve problems
+            strcpy(strChipType, "LPC1114 - Cortex M3");
+            //MAX 115200 baud
             lastSector = 7;
             RAM = 0x10000000;
             strcpy(speed, "4000");                      
             break;
             
         //ARM7
-        case 117702437:                                 //Works
+        case 117702437://Works
+            //MAX 230400
             strcpy(strChipType, "LPC2387 - ARM7");
             lastSector = 27;
             RAM = 0x40000200;