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
target_handling.h@52:afd15e54142f, 2015-07-26 (annotated)
- Committer:
- ChrisABailey
- Date:
- Sun Jul 26 14:46:23 2015 +0000
- Revision:
- 52:afd15e54142f
- Parent:
- 50:57ad8e04f063
Use MBED to load LPC1114. Modified to also load LPExpresso 1114 board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okano | 23:017f306cf3ca | 1 | |
okano | 23:017f306cf3ca | 2 | #include "target_table.h" |
okano | 23:017f306cf3ca | 3 | |
okano | 23:017f306cf3ca | 4 | |
okano | 23:017f306cf3ca | 5 | #define ENTER_TO_ISP_MODE 0 |
okano | 23:017f306cf3ca | 6 | #define NO_ISP_MODE 1 |
okano | 23:017f306cf3ca | 7 | |
okano | 44:568799eac6df | 8 | #define SECTOR_SIZE_VALIABLE4Kx16_AND_32KxN 1 |
Hapi_Tech | 50:57ad8e04f063 | 9 | #define SECTOR_SIZE_VALIABLE4Kx24_AND_32KxN 2 |
okano | 23:017f306cf3ca | 10 | |
okano | 23:017f306cf3ca | 11 | target_param *open_target( int baud_date ); |
okano | 23:017f306cf3ca | 12 | void reset_target( int isp_pin_state ); |
okano | 26:a63e73885b21 | 13 |