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: main.cpp
- Revision:
- 43:c7d6d62abc14
- Parent:
- 42:2b40666d8177
- Child:
- 46:fe8ca451abcb
--- a/main.cpp Sat Oct 18 07:36:54 2014 +0000 +++ b/main.cpp Sat Oct 18 09:44:43 2014 +0000 @@ -2,8 +2,8 @@ * Sample of ISP operation for NXP MCUs * * @author Tedd OKANO - * @version 0.999 - * @date Nov-2013 + * @version 1.0 + * @date Oct-2011 * * This program programs MCU flash memory through UART. It uses * "In-System Programming (ISP)" interface in target MCU (NXP LPC micro- @@ -17,8 +17,7 @@ * (This program not just copies the binary but also insert 4 byte checksum at * address 0x1C.) * - * This program currently supports LPC1114(LPC1114FN28/102 - DIP28-ARM) and - * LPC810(LPC810M021FN8 - DIP8-ARM). + * This program supports LPC1114, LPC81x and LPC82x. */ #include "mbed.h" @@ -37,7 +36,7 @@ { int err; - printf( "\r\n\r\n\r\nmbed ISP program : programming LPC device from mbed (v0.999)\r\n" ); + printf( "\r\n\r\n\r\nmbed ISP program : programming LPC device from mbed (v1.0)\r\n" ); err = isp_flash_write( SOURCE_FILE );