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@31:1a4d59d7bd72, 2013-09-20 (annotated)
- Committer:
- okano
- Date:
- Fri Sep 20 02:26:57 2013 +0000
- Revision:
- 31:1a4d59d7bd72
- Parent:
- 27:2b5c1eb39bb5
- Child:
- 35:0b434ef4af49
cleaner code :)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okano | 26:a63e73885b21 | 1 | |
okano | 22:bd98a782fba6 | 2 | #define STR_BUFF_SIZE 64 |
okano | 26:a63e73885b21 | 3 | |
okano | 22:bd98a782fba6 | 4 | int try_and_check( char *command, char *expected_return_str, int mode ); |
okano | 22:bd98a782fba6 | 5 | int try_and_check2( char *command, char *expected_return_str, int mode ); |
okano | 22:bd98a782fba6 | 6 | void print_command( char *command ); |
okano | 22:bd98a782fba6 | 7 | void print_result( int r ); |
okano | 27:2b5c1eb39bb5 | 8 | int send_RAM_transfer_checksum( int checksum ); |
okano | 27:2b5c1eb39bb5 | 9 | int erase_sectors( int last_sector ); |
okano | 26:a63e73885b21 | 10 |