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
target_table.h
- Committer:
- okano
- Date:
- 2015-06-05
- Revision:
- 49:380e7be429ef
- Parent:
- 44:568799eac6df
File content as of revision 49:380e7be429ef:
#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__