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@42:2b40666d8177, 2014-10-18 (annotated)
- Committer:
- k4zuki
- Date:
- Sat Oct 18 07:36:54 2014 +0000
- Revision:
- 42:2b40666d8177
- Parent:
- 39:f68f9fa1e88e
LPC82x series supported (only 824 is tested)
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 |