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

target_handling.h

Committer:
ChrisABailey
Date:
2015-07-26
Revision:
52:afd15e54142f
Parent:
50:57ad8e04f063

File content as of revision 52:afd15e54142f:


#include    "target_table.h"


#define     ENTER_TO_ISP_MODE   0
#define     NO_ISP_MODE         1

#define     SECTOR_SIZE_VALIABLE4Kx16_AND_32KxN     1
#define     SECTOR_SIZE_VALIABLE4Kx24_AND_32KxN     2

target_param    *open_target( int baud_date );
void            reset_target( int isp_pin_state );