Re-Programming Problem


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    How are those chips called ??? ...

    That would certainly help to know it ...

    did you test your Pickit with a "valid" chip after that ??? to be sure there's no problem on its side.

    Also have a look to the Microchip " Midrange manual " $ 28 ( ICSP Programming )

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    sorry, they are 18F1320 chips.

    Ive tested the programmer with other chips on different programs it it works, it just as soon as I program this program to a chip its stuck there for good. Ive fixed the program by re-enabling MCLR so that the programmer can stop the program.

    But ive still got 3 PIC chips that have the un-fixed program and cant seem to clear them.

    i'll have a look for the Midrange manual u mentioned
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Unhappy Alredy seen ... halas.

    Ahhh,

    18F1320 ...

    I had reprogramming problems with some of them ( still have one which definitly "locked" after ~ 20 reprogrammings ) Thread posted here.

    The second one took service back two Picstart plus revisions later...

    Batch is 05250SE ...

    Tried three programmers : Picstart+, ICD2 and a ( trustable ) "custom one" ... same behaviour.


    Microchip never answered anything about that ...

    Soooo, I'd encourage you to turn to another pin for pin compatible chip ( 16F88 i.e. ... )

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    I don't think that's the issue. I did this test: Grabbed a brand new, never used 18F1320 and programmed and old program on it and it worked, programmed a different program and it worked, then programmed the program posted in my OP and now the chip cant be read by PicKit2. The program runs, but I cant change or erase it.
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I was just reading a thread on another forum ...
    http://www.electro-tech-online.com/m...1320-dead.html

    They came to the conclusion that erasing it with a JDM type programmer seemed to work, when the PICkit2 wouldn't..
    <br>
    DT

  6. #6
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    Nice work as usual Darrel. This is exactly the problem I am having. I did google it but I guess I wasnt using the right key words.

    So I guess the moral of the story is: 18F1320+TMR1(w/ext clock)+MCLRE_OFF = bad

    Too bad I dont have a JMD programmer. I guess i'll see if its worth building one just to revive these 3 PIC chips.
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  7. #7
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I have found that a Microchip ICD2 can program any part - properly (and can debug too). Even though it costs more, the time saved in debugging a programmer problem is worth it. And it programs EVERY PIC.
    Charles Linquist

Similar Threads

  1. Programming Problem PIC12F683
    By StoneColdFuzzy in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 2nd June 2009, 22:39
  2. 16F676 programming problem
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th May 2009, 18:39
  3. PIC18F4620 Programming problem
    By JavPar in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 6th December 2008, 05:21
  4. Programming Problem with PIC16F819
    By Dick Ivers in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 24th July 2007, 19:42
  5. Problem programming the PIC16F648A
    By Edgardo_2 in forum General
    Replies: 2
    Last Post: - 29th December 2006, 01:02

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