Problem with rewriting 12f675

Discussion in 'Embedded Systems and Microcontrollers' started by vane, Dec 5, 2009.

  1. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    My Dad got me some PIC 12f675s and they came today. Uploaded a .HEX to one, it did work, then i put it back on the writer and went to write another version to it, now it says an error saying there is either not a PIC on the programmer board, it isn't in program mode or PIC type os mismatched with software, i am wondering whether there is a problem with erasing.

    I tried another PIC and it only wrote to it once, then it gives the error, to my knowledge they are not single use PICs, i certainly didn't mean to get single use PICs.

    I have the velleman K8048 programmer board if that helps.
     
  2. Markd77

    Senior Member

    Sep 7, 2009
    2,803
    594
    Have a look at thread "Fighting a 12F675..." which is about 20 posts down and see if that answers your questions.
     
  3. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    Well thats just bloomin great :( the programmer i get turns out to have a quite serious bug, do you know if this works?

    Buying a new programmer will be a 100% no no due to lack of funds :(
     
    Last edited: Dec 5, 2009
  4. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    This has never ever happened on any of my other chips :s
     
  5. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    Tried shorting out D7 to no avail :s
     
  6. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    99% sure it aint the code protection, it doesn't code protect my 16f84A when that is written to

    Is there a configuration in picprog2 for disabling the code protection?
     
  7. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    What makes you sure it is the write protection?
     
  8. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    From what i have heard i need to supply 13.5 volts to MCLR then put power to VDD to get it into programming mode :s Can anyone speculate on anything i have said?
     
  9. vane

    Thread Starter Active Member

    Feb 28, 2007
    181
    0
    OK, i have tried doing the manual 13.5 volts to MCLR then erasing the data, now i just get errors like:

    wrote: 2804
    Read: 2004
     
  10. n9352527

    AAC Fanatic!

    Oct 14, 2005
    1,198
    4
    I've seen this problem in many different programmers, not only Velleman. There was a guy in this thread experiencing the same problem. He was using a JDM clone. There were also reports of the same problem with Mchp ICD2 programmers. I noticed this problem first when I was working with a MatrixMultimedia dev board.

    Maybe you could try the solution that I used, see in the above thread.
     
Loading...