\brief dsPIC33F programmer application for the GoodFET. Structure
and style is somewhat modeled after avr.c
- \date March, April 2010
+ \date March-May 2010
*/
txdata(app,verb,2);
break;
+ case PIC_RESET33F:
+ CLR_MCLR;
+ delay_ms(20);
+ SET_MCLR;
+ break;
+
case PIC_START33F:
pic33f_connect();
txdata(app,verb,0);
// Read application ID.
pic33f_six( 0x04, 0x0200 ); // goto 0x200 (i.e. reset)
- pic33f_six( 0x04, 0x0200 ); // goto 0x200 (i.e. reset)
pic33f_six( 0x00, 0x0000 ); // nop
pic33f_six( 0x20, 0x0800 ); // mov #0x80, W0
pic33f_six( 0x88, 0x0190 ); // mov W0, TBLPAG