Hi Goran, Are you disconnecting PicKit2 from the computer or from the circuit? If you only disconnect the circuit, then there is no reason experiencing problems like that. Have you tried the 'Connect' function from the 'Programmer' menu? What version of MPLAB are you using anyway? Tamas On 25 April 2012 12:15, Goran Hosinsky wrote: > I am using PICKit 2 and MPLAB. After programming the chip I disconnect > PICKIT to avoid > interaction and then run the test program. When I reconnect the > programmer I have to > restart MPLAB to be able do the next round of programming - testing. Is > there a way to > reset the programmer without leaving MPLAB? > Goran > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .