William Reynolds
/
LPC_Bootloader
Diff: ID.cpp
- Revision:
- 5:6134277e4d57
- Parent:
- 4:8046ba0a87b5
- Child:
- 7:d0f98d61ec4c
--- a/ID.cpp Fri Sep 30 09:16:45 2011 +0000 +++ b/ID.cpp Fri Sep 30 11:52:20 2011 +0000 @@ -5,7 +5,7 @@ switch (idcode) { //Cortex M3 - LPC17xx - case 637615927: + case 637615927: //Works strcpy(strChipType, "LPC1768 - Cortex M3"); //Chip name lastSector = 29; //Last available sector in Flash RAM = 268435968; //First RAM address @@ -13,14 +13,21 @@ break; case 1023410219: - strcpy(strChipType, "LPC1343 - ARM7"); //Can run up to 115200 baud - lastSector = 27; - RAM = 0x40000200; + strcpy(strChipType, "LPC1343 - Cortex M3"); //Can run up to 115200 baud (working on compatability) + lastSector = 7; + RAM = 0x10000000; + strcpy(speed, "4000"); + break; + + case 71569451: + strcpy(strChipType, "LPC1114 - Cortex M3"); //Can run up to 115200 baud (working on compatability) + lastSector = 7; + RAM = 0x10000000; strcpy(speed, "4000"); break; //ARM7 - case 117702437: + case 117702437: //Works strcpy(strChipType, "LPC2387 - ARM7"); lastSector = 27; RAM = 0x40000200;