Not sure what the Vpp First function is? =A0 Im using an ICD3, where I have a socket for the chip and a header...so I re= move it from circuit, and drop into my "programmer" ----- Original Message ----- From: Tamas Rudnai To: Microcontroller discussion list - Public. Cc:=20 Sent: Wednesday, May 2, 2012 5:38 PM Subject: Re: [PIC] 12F509 Have you tried "Vpp First" function? Tamas On 2 May 2012 23:47, alan smith wrote: > Flash part...so should be able to reprogram it. > > Using an ICD, program it...drop it in circuit, works fine. > > Try to reprogram it....has errors always at address 0x04.data didnt > match..so it crashes.=A0 Any ideas? > > > -- > 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 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .