William Reynolds
/
LPC_Bootloader
Diff: ID.cpp
- Revision:
- 4:8046ba0a87b5
- Parent:
- 3:eb6d9211592d
- Child:
- 5:6134277e4d57
--- a/ID.cpp Thu Sep 29 15:15:57 2011 +0000 +++ b/ID.cpp Fri Sep 30 09:16:45 2011 +0000 @@ -3,6 +3,7 @@ //Function to document the relevant information on LPC chips to load onto int SerialBuffered::IDCheck(int idcode) { switch (idcode) { + //Cortex M3 - LPC17xx case 637615927: strcpy(strChipType, "LPC1768 - Cortex M3"); //Chip name @@ -10,12 +11,20 @@ RAM = 268435968; //First RAM address strcpy(speed, "4000"); //Chip speed break; + + case 1023410219: + strcpy(strChipType, "LPC1343 - ARM7"); //Can run up to 115200 baud + lastSector = 27; + RAM = 0x40000200; + strcpy(speed, "4000"); + break; + //ARM7 case 117702437: strcpy(strChipType, "LPC2387 - ARM7"); lastSector = 27; RAM = 0x40000200; - strcpy(speed, "4000"); //Chip speed + strcpy(speed, "4000"); break; default: