this transfers data (which is stored in "bin" file in mbed storage) into LPC1114, LPC1115, LPC81x, LPC82x, LPC1768/LPC1769 and LPC11U68/LPC11E68 internal flash memory through ISP.

Dependencies:   mbed MODSERIAL DirectoryList

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers target_table.h Source File

target_table.h

00001 #ifndef MBED_ISP__TARGET_TABLE__
00002 #define MBED_ISP__TARGET_TABLE__
00003 
00004 
00005 #define     NOT_FOUND   0
00006 
00007 #define UUENCODE    0
00008 #define BINARY      1
00009 
00010 
00011 typedef struct  taget_param_st {
00012     char            *type_name;
00013     int             id;
00014     int             ram_size;
00015     int             flash_size;
00016     int             sector_size;
00017     int             write_type;
00018     unsigned int    ram_start_address;
00019 }
00020 target_param;
00021 
00022 extern target_param    target_table[];
00023 
00024 target_param    *find_target_param( char *device_id_string );
00025 int             find_sector( int data_size, target_param *tpp );
00026 
00027 
00028 #endif  //  MBED_ISP__TARGET_TABLE__
00029