X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fpic.h;h=3bd69f7c2ae04a6146a27086391f3277ccfec982;hp=e95c0541202e972938a79891d19c13ebae5aa497;hb=6d6a522d3adf0ddd18d30f24fd6bba0cc3547041;hpb=5fb0341d348e101b30794945a6c91546e25e8e7b diff --git a/firmware/include/pic.h b/firmware/include/pic.h index e95c054..3bd69f7 100644 --- a/firmware/include/pic.h +++ b/firmware/include/pic.h @@ -69,6 +69,9 @@ unsigned int pic33f_regout(); //! Execute a list of commands on attached dsPIC33F/PIC24H. void pic33f_sixlist( unsigned int list_len ); +//! Execute a list of ICSP commands on attached PIC +void pic33f_cmdlist(unsigned int list_len); + //! Start Enhanced ICSP session with dsPIC33F/PIC24H (assumes Programming Executive is present). void pic33f_eicsp_connect(); @@ -96,6 +99,7 @@ void pic33f_trans8( unsigned char byte ); #define PIC_SIXLIST33F 0x86 /* Buffers list of instructions to MSP430, then executes them over ICSP session with target dsPIC33F/PIC24H chip. */ +#define PIC_CMDLIST 0x88 /* Similar to PIC_SIXLIST33F, but includes ICSP command */ #define PIC_RESET33F 0x87 // Reset attached dsPIC33F/PIC24H chip. #define PIC_START33F 0x84 // Start ICSP session