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@52:afd15e54142f, 2015-07-26 (annotated)
- Committer:
- ChrisABailey
- Date:
- Sun Jul 26 14:46:23 2015 +0000
- Revision:
- 52:afd15e54142f
- Parent:
- 39:f68f9fa1e88e
Use MBED to load LPC1114. Modified to also load LPExpresso 1114 board
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 |