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
command_interface.h
- Committer:
- okano
- Date:
- 2013-09-25
- Revision:
- 33:ce9fff4cbf09
- Parent:
- 27:2b5c1eb39bb5
- Child:
- 35:0b434ef4af49
File content as of revision 33:ce9fff4cbf09:
#define STR_BUFF_SIZE 64 int try_and_check( char *command, char *expected_return_str, int mode ); int try_and_check2( char *command, char *expected_return_str, int mode ); void print_command( char *command ); void print_result( int r ); int send_RAM_transfer_checksum( int checksum ); int erase_sectors( int last_sector );