Help!!!


Closed Thread
Results 1 to 5 of 5

Thread: Help!!!

  1. #1
    pippi's Avatar
    pippi Guest

    Default Help!!!

    Hi all,

    I have a great problem I can not able to fight. After checked that my PIC16F877A is not blank (using command Blank Ceck All), I tried to erase it and program it.
    It seems that PIC has a code protection flag that doesn't allow the PRO MATE II to program it.
    The message displayed is:

    Program memory/IDs are NOT blank.
    Configuration memory is NOT blank.

    May anyone help me to solve this trouble?
    Thanks a lot

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Maybe your programmer cannot programm/erase the 16FxxxA version.
    The programm algorime differs from the 16Fxxx types. (see datasheet).
    An upgrade of your programmer or programmersoftware can help.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I also heard some rumors.. some device programmer need some modification. Adding 0.1uF on VCC and GND diectly back to the Ziff connector is recommended. OR to try, just place a 0.1uF on the top of your PIC when programming.

    As some A version are more noise sensitive, i'll not be surprise if this work... same for 18Fs i guess.

    Some device programmer also allow you to modify some timings... may should look at that too.

    But for PROMATE... i can't say. I don't have it, so i don't use it.
    Last edited by mister_e; - 9th May 2006 at 21:59.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    pippi's Avatar
    pippi Guest


    Did you find this post helpful? Yes | No

    Unhappy Help!!!

    Hi all

    thanks a lot for your precious suggestions. I've just tried to upgrade my PRO MATE II device programmer with the last OS firmware. This is confirmed by noting that the device programmer recognizes my PIC16F877A.
    I know the problem is to execute a Bulk erase. In the ICSP guide from Microchip there is a suggestion for erasing code protected memory:
    1. execute a Load configuration command with a "1" in all locations...
    2.execute increment address...
    3.execute a Bulk erase setup1...
    4.execute a Bulk erase setup2...
    5.execute a begin erase/programming...
    6.wait 8 msec...
    7.execute a Bulk erase setup1...
    8.execute a Bulk erase setup2...

    Have you an idea where I can find the source file to do it?(how to translate this suggestion in assembler or hex code)

    Many thanks

  5. #5
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    pippi,

    Have you checked with Microchip? They support their products well. Also, they sponsor a forum called

    Programmers (PRO MATE II, MPLAB PM3, PICSTART Plus)

    that is here

    http://forum.microchip.com/tt.aspx?forumid=15

    You might want to try there as well.

    Questions -
    Have you tried several 877A chips to make sure the problem is not a damaged part?
    Can you program other 14-bit core PICs (e.g., PIC16F628)?
    Is this a new problem that just developed with the 877A or have you successfully programmed them in the past?

    Hopefully someone here will spot your problem as well.

    Good Luck,
    Paul Borgmeier
    Salt Lake City, Utah
    USA

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