"locked" PIC

Discussion in 'Embedded Systems and Microcontrollers' started by mik3, Jul 18, 2008.

  1. mik3

    Thread Starter Senior Member

    Feb 4, 2008
    4,846
    63
    hi guys,
    I bought some new PIC18f4685, I programmed two of them 3-4 times and now i cant program them any more. It seems they have been locked. I cant see the reason because the configuration bits are not set to code protection. If the configuration bits were wrong then i couldnt program it for a second time but i did 3-4 times and then it locked. Now, i am afraid to program the others because they may get locked.

    Do you know why this happens?
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,348
  3. n9352527

    AAC Fanatic!

    Oct 14, 2005
    1,198
    4
    Can you read them (either program memory or EEPROM)? Try erasing the entire chip first and see what happens.
     
  4. mik3

    Thread Starter Senior Member

    Feb 4, 2008
    4,846
    63
    I cant read them, it reads only FFFF. I erased all the chip from the programmers options but nothing changes. Is there any other ways to erase the chip?
     
Loading...