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@39:f68f9fa1e88e, 2013-09-29 (annotated)
- Committer:
- okano
- Date:
- Sun Sep 29 03:54:06 2013 +0000
- Revision:
- 39:f68f9fa1e88e
- Parent:
- 35:0b434ef4af49
ver 0.98 : suppressed debug message in default setting. it improves speed of writing and verifying
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okano | 26:a63e73885b21 | 1 | |
okano | 39:f68f9fa1e88e | 2 | #define STR_BUFF_SIZE 128 |
okano | 26:a63e73885b21 | 3 | |
okano | 35:0b434ef4af49 | 4 | int try_and_check( char *command, char *expected_return_str ); |
okano | 35:0b434ef4af49 | 5 | int try_and_check2( char *command, char *expected_return_str ); |
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 |