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 20 01:48:26 2013 +0000
Revision:
29:96e28bc1bd99
Parent:
26:a63e73885b21
Child:
44:568799eac6df
parameter added to writing and verifying functions to report transferred size

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 26:a63e73885b21 26
okano 29:96e28bc1bd99 27 #endif // MBED_ISP__TARGET_TABLE__
okano 29:96e28bc1bd99 28