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
Diff: isp.cpp
- Revision:
- 45:0520330a7528
- Parent:
- 44:568799eac6df
- Child:
- 47:e7d395119a63
diff -r 568799eac6df -r 0520330a7528 isp.cpp --- a/isp.cpp Wed Dec 10 09:24:00 2014 +0000 +++ b/isp.cpp Wed Dec 10 09:38:19 2014 +0000 @@ -51,10 +51,6 @@ if ( !data_size ) return ( ERROR_DATA_SIZE_ZERO ); - for ( int i = 0; i < 32768; i += 4096 ) - printf( "%10d : %2d\r\n", i, find_sector( i, tpp ) ); - - // last_sector = (data_size - 1) / tpp->sector_size; last_sector = find_sector( data_size - 1, tpp );