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
_user_settings.h@31:1a4d59d7bd72, 2013-09-20 (annotated)
- Committer:
- okano
- Date:
- Fri Sep 20 02:26:57 2013 +0000
- Revision:
- 31:1a4d59d7bd72
- Parent:
- 29:96e28bc1bd99
- Child:
- 33:ce9fff4cbf09
cleaner code :)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okano | 29:96e28bc1bd99 | 1 | #ifndef MBED_ISP___USER_SETTINGS__ |
okano | 29:96e28bc1bd99 | 2 | #define MBED_ISP___USER_SETTINGS__ |
okano | 26:a63e73885b21 | 3 | |
okano | 26:a63e73885b21 | 4 | |
okano | 25:33cb5ad8ae24 | 5 | #define SOURCE_FILE "/local/bin" |
okano | 25:33cb5ad8ae24 | 6 | |
okano | 25:33cb5ad8ae24 | 7 | // "ISP_BAUD_RATE" is baud rate for ISP operation |
okano | 25:33cb5ad8ae24 | 8 | #define ISP_BAUD_RATE 115200 |
okano | 25:33cb5ad8ae24 | 9 | |
okano | 25:33cb5ad8ae24 | 10 | // "TARGET_OPERATION_BAUD_RATE" is baud rate for USB-serial bridge operation after |
okano | 25:33cb5ad8ae24 | 11 | // ISP completion. |
okano | 25:33cb5ad8ae24 | 12 | // if the target application uses serial(UART) and you use the bridge feature, |
okano | 25:33cb5ad8ae24 | 13 | // please set this value correctly. |
okano | 26:a63e73885b21 | 14 | #define TARGET_OPERATION_BAUD_RATE 9600 |
okano | 25:33cb5ad8ae24 | 15 | |
okano | 26:a63e73885b21 | 16 | // enable "AUTO_PROGRAM_START" to let target starts the program after flash writing complete |
okano | 26:a63e73885b21 | 17 | #define AUTO_PROGRAM_START |
okano | 26:a63e73885b21 | 18 | |
okano | 26:a63e73885b21 | 19 | |
okano | 29:96e28bc1bd99 | 20 | |
okano | 29:96e28bc1bd99 | 21 | #endif // MBED_ISP___USER_SETTINGS__ |