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 Tedd OKANO

Committer:
okano
Date:
Fri Sep 13 12:56:23 2013 +0000
Revision:
26:a63e73885b21
Parent:
22:bd98a782fba6
Child:
29:96e28bc1bd99
code is still dirty but it works. I hope I will have chance to clean up some day...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 22:bd98a782fba6 1 #ifndef MBED_ISP__TARGET_TABLE__
okano 22:bd98a782fba6 2 #define MBED_ISP__TARGET_TABLE__
okano 22:bd98a782fba6 3
okano 22:bd98a782fba6 4
okano 5:ff30f5b58617 5 #define NOT_FOUND 0
okano 5:ff30f5b58617 6
okano 12:5a33b5d39792 7 #define UUENCODE 0
okano 12:5a33b5d39792 8 #define BINARY 1
okano 12:5a33b5d39792 9
okano 5:ff30f5b58617 10
okano 5:ff30f5b58617 11 typedef struct taget_param_st {
okano 12:5a33b5d39792 12 char *type_name;
okano 12:5a33b5d39792 13 int id;
okano 12:5a33b5d39792 14 int ram_size;
okano 12:5a33b5d39792 15 int flash_size;
okano 12:5a33b5d39792 16 int sector_size;
okano 12:5a33b5d39792 17 int write_type;
okano 12:5a33b5d39792 18 unsigned int ram_start_address;
okano 5:ff30f5b58617 19 }
okano 5:ff30f5b58617 20 target_param;
okano 5:ff30f5b58617 21
okano 5:ff30f5b58617 22 extern target_param target_table[];
okano 5:ff30f5b58617 23
okano 5:ff30f5b58617 24 target_param *find_target_param( char *device_id_string );
okano 5:ff30f5b58617 25
okano 22:bd98a782fba6 26 #endif
okano 26:a63e73885b21 27