Ika Shouyu Poppoyaki - LPC82x supported
Fork of ika_shouyu_poppoyaki by
Diff: main.cpp
- Revision:
- 18:b401da200216
- Parent:
- 17:339f40a14f67
- Child:
- 19:7a7381e78025
--- a/main.cpp Mon Sep 09 14:44:46 2013 +0000 +++ b/main.cpp Mon Sep 09 15:10:50 2013 +0000 @@ -3,7 +3,7 @@ * * @author Tedd OKANO * @version 0.7 - * @date Aug-2013 + * @date Sep-2013 * * This program programs MCU flash memory through UART. It uses * "In-System Programming (ISP)" interface in target MCU (NXP LPC micro- @@ -37,10 +37,18 @@ #define STR_BUFF_SIZE 64 #define SOURCE_FILE "/local/bin" + +// "ISP_BAUD_RATE" is baud rate for ISP operation + #define ISP_BAUD_RATE 115200 //#define ISP_BAUD_RATE 57600 //#define ISP_BAUD_RATE 9600 +// "TARGET_OPERATION_BAUD_RATE" is baud rate for USB-serial bridge operation after +// ISP completion. +// if the target application uses serial(UART) and you use the bridge feature, +// please set this value correctly. + #define TARGET_OPERATION_BAUD_RATE 9600 int error_state = 0;