12F675 won't reprogram or erase


Results 1 to 17 of 17

Threaded View

  1. #10
    Join Date
    Apr 2005
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Very Odd

    Well I figured out the issue, not the solution but the issue.

    I completely isolated the chip and it would still not program so, I went ahead and replaced the chip and it programmed fine. I got pin GP.2 blinking an LED so that was successful.

    Still leaving the MCLR, ICSPDat and ICSClk isolated I decided to try and toggle pin GP.1

    As soon as I do this the my MELabs throws a Config error while programming and the chip becomes useless, no programability or eraseability just like my first post.

    Any clue why the board is doing this? Here is a snipit of my code

    [code\]
    DEFINE OSCCAL_1K 1
    ' Config Fuses
    @ __config _INTRC_OSC_NOCLKOUT & _CPD_ON & _CP_ON & _BODEN_ON & _MCLRE_OFF & _PWRTE_ON & _WDT_ON

    ' Variable Definitions
    LED VAR GPIO.1

    blink var bit


    CMCON=7
    TRISIO=%11111001 ' Input 0,3,4,5 Output 1,2
    ANSEL=0

    Main:
    blink=blink+1
    led=blink
    pause 100
    goto main

    [\code]


    If I change this code to apply to pin GP.2 it works fine and will reprogram all day long

    Thanks for any help
    Last edited by modifyit; - 18th May 2006 at 04:29.

Similar Threads

  1. Winbond ISD1700 Voice Recorder
    By RFEFX in forum mel PIC BASIC Pro
    Replies: 58
    Last Post: - 22nd April 2014, 10:00
  2. 12F683 vs 12F675.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th July 2009, 04:58
  3. LANC code 12F675
    By MikeDD in forum General
    Replies: 4
    Last Post: - 9th May 2008, 05:44
  4. serout out of order on 12F675
    By Ricardo in forum Serial
    Replies: 7
    Last Post: - 29th April 2008, 00:16
  5. 12F675 code sample
    By marad73 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 23rd May 2006, 13:53

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts