Can't program a 12LF1840?
Hi All,
Usually I use 12f863 in my projects but can't get them anywhere. I managed to get some 12LF1840 pics and find when I try to program them all 5 come up with the error of 'Target device does not match'.
I am using Melabs U2 programmer with ver 4.67 software.
Microcode Studio ver. 5.0.0.5
and PBP 3.0.7.1
Have tried with in-circuit programming and with 8pin adapter. Both give the same error.
Programmer works with a 18F2525 so think hardware is OK?
Any help or tips welcome as tearing hair out! (what there is of it).
Many thanks
Bob
Re: Can't program a 12LF1840?
Re: Can't program a 12LF1840?
there are 12LF1840 and 12F1840 , the compiler , the programmer and the chip all need to sing the same tune
just saying the obvious
Re: Can't program a 12LF1840?
Hi All,
Thanks for the replies.
I had already selected 12LF1840 on programmer and Microcode (I had also tried 12F1840 just to be sure).
But thanks,
Bob
Re: Can't program a 12LF1840?
highly recommend pk2 clones and pk3 , the snap/pickit4 programmers are ok too
Re: Can't program a 12LF1840?
Pickit 2 or 3 are great and even greater with the stand alone program of Evan Venn: www.pickitplus.co.uk
Ioannis
Re: Can't program a 12LF1840?
One time a while back I had to change something in one of the .INC (include) or .LIB (library) or some other file used for the compiler. I compared the listings of the device and other things with a device that worked. I remember finding one simple reference that was incorrect and fixing that made it work.
Re: Can't program a 12LF1840?
Quote:
Pickit 2 or are great and even greater with the stand alone program of Evan Venn:
www.pickitplus.co.uk
+1 to that
Troy
Re: Can't program a 12LF1840?
Hi All,
SOLVED!
I knew I was making a stupid mistake and it only took me a day to see it!
I was powering the LF part from 5v.
Set to 3.5v and all working.
Off to bang my head off the wall.
hopefully will help someone out there in the future?
Bob