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

target_table.h

Committer:
ChrisABailey
Date:
2015-07-26
Revision:
52:afd15e54142f
Parent:
44:568799eac6df

File content as of revision 52:afd15e54142f:

#ifndef MBED_ISP__TARGET_TABLE__
#define MBED_ISP__TARGET_TABLE__


#define     NOT_FOUND   0

#define UUENCODE    0
#define BINARY      1


typedef struct  taget_param_st {
    char            *type_name;
    int             id;
    int             ram_size;
    int             flash_size;
    int             sector_size;
    int             write_type;
    unsigned int    ram_start_address;
}
target_param;

extern target_param    target_table[];

target_param    *find_target_param( char *device_id_string );
int             find_sector( int data_size, target_param *tpp );


#endif  //  MBED_ISP__TARGET_TABLE__