Code to load a LPC1114 over tx/rx. I have only tested with a 1114 chip but it should work with other LPC uControllers
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: target_table.cpp
- Revision:
- 12:5a33b5d39792
- Parent:
- 8:b220fadbb3d8
- Child:
- 26:a63e73885b21
--- a/target_table.cpp Tue Aug 27 03:09:07 2013 +0000 +++ b/target_table.cpp Tue Aug 27 05:47:02 2013 +0000 @@ -2,15 +2,14 @@ #include "target_table.h" target_param target_table[] = { - { "unknown ttarget", 0xFFFFFFFF, 1024, 4096 }, - { "LPC1114FN28(FDH28)/102", 0x0A40902B, 4096, 32768 }, -// { "** TESTLPC1114FN28 **", 0x1A40902B, 1024, 4096 }, - { "LPC1114FN28(FDH28)/102", 0x1A40902B, 4096, 32768 }, - { "LPC810M021FN8", 0x00008100, 1024, 4096 }, - { "LPC811M001JDH16", 0x00008110, 2048, 8192 }, - { "LPC812M101JDH16", 0x00008120, 4096, 16384 }, - { "LPC812M101JD20", 0x00008121, 4096, 16384 }, - { "LPC812M101JDH20", 0x00008122, 4096, 16384 }, + { "unknown ttarget", 0xFFFFFFFF, 1024, 4096, 4096, UUENCODE, 0x10000200 }, + { "LPC1114FN28(FDH28)/102", 0x0A40902B, 4096, 32768, 4096, UUENCODE, 0x10000200 }, + { "LPC1114FN28(FDH28)/102", 0x1A40902B, 4096, 32768, 4096, UUENCODE, 0x10000200 }, + { "LPC810M021FN8", 0x00008100, 1024, 4096, 1024, BINARY, 0x10000300 }, + { "LPC811M001JDH16", 0x00008110, 2048, 8192, 1024, BINARY, 0x10000300 }, + { "LPC812M101JDH16", 0x00008120, 4096, 16384, 1024, BINARY, 0x10000300 }, + { "LPC812M101JD20", 0x00008121, 4096, 16384, 1024, BINARY, 0x10000300 }, + { "LPC812M101JDH20", 0x00008122, 4096, 16384, 1024, BINARY, 0x10000300 }, }; target_param *find_target_param( char *device_id_string )