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 Tedd OKANO

Committer:
okano
Date:
Fri Sep 13 12:56:23 2013 +0000
Revision:
26:a63e73885b21
Parent:
25:33cb5ad8ae24
Child:
29:96e28bc1bd99
code is still dirty but it works. I hope I will have chance to clean up some day...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 26:a63e73885b21 1
okano 26:a63e73885b21 2
okano 25:33cb5ad8ae24 3 #define SOURCE_FILE "/local/bin"
okano 25:33cb5ad8ae24 4
okano 25:33cb5ad8ae24 5 // "ISP_BAUD_RATE" is baud rate for ISP operation
okano 25:33cb5ad8ae24 6 #define ISP_BAUD_RATE 115200
okano 25:33cb5ad8ae24 7
okano 25:33cb5ad8ae24 8 // "TARGET_OPERATION_BAUD_RATE" is baud rate for USB-serial bridge operation after
okano 25:33cb5ad8ae24 9 // ISP completion.
okano 25:33cb5ad8ae24 10 // if the target application uses serial(UART) and you use the bridge feature,
okano 25:33cb5ad8ae24 11 // please set this value correctly.
okano 26:a63e73885b21 12 #define TARGET_OPERATION_BAUD_RATE 9600
okano 25:33cb5ad8ae24 13
okano 26:a63e73885b21 14 // enable "AUTO_PROGRAM_START" to let target starts the program after flash writing complete
okano 26:a63e73885b21 15 #define AUTO_PROGRAM_START
okano 26:a63e73885b21 16
okano 26:a63e73885b21 17