"Program Memory Error" with MPLAB IDE (PBP)


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    I tried using different PICs, but still the problem persists. I tried switching to a different computer, it worked fine for the first couple of times and then again the problem appeared. I tried testing different codes with no luck.

    Please Help !!!

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Hi,

    I had a similar problem with 18F4320. Using a PICSTART PLUS and MPLAB.

    I bought the latest update chip for the PICSTART and that did not help. Then I contacted MICRO CHIP and was told to add a capacitor between VDD and VSS . Helped a little.

    The way I got it to work is to have the 18F4320 powered up during the programming process. Using the PICSTART as an ICSP, MCLR internal, and the "ground" from the programmer connected to the pic power supply "ground".

    I am not using MCLR for IO, have it set for internal to make things simple. The two programming pins are not used for IO either, again to keep things simple.

    If you want to use these pins and do ICSP there are ways around it but that is another subject.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Which programmer are you using?

    ICSP or in the ZIFF socket?

    If ICSP, did you loaded the PGM pin to gnd?
    Steve

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

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I had a simmilar problem with the 18F2431. With help from other forum contributors this was found in the PICStart help-file:
    PICSTART Plus Limitations for PIC18F2331/2431
    All power supply (Vdd and AVdd) and ground (Vss and AVss) pins must be used in order for these devices to program. PICSTART Plus will handle Vdd, Vss and AVss properly, but you must place a 1kOhm resistor between Pin 7 (AVdd) and Pin 11 in the socket with the device for proper operation. There are other devices that may require the use of all power supply and ground pins. Consult the datasheet if an unexplained programming problem occurs, such as inconsistent programming.
    May be something to look into.

    /Henrik Olsson.

Similar Threads

  1. Upgraded to MPLAB IDE 8.14 and now I'm stuck
    By BlueHairBob in forum General
    Replies: 2
    Last Post: - 20th August 2008, 01:15
  2. PBP and MPLab IDE
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2008, 14:09
  3. pbp --> mplab broken again
    By kenif in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th December 2006, 18:57
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. MPLAB IDE Memory Gauge usage?
    By gabrielg74 in forum General
    Replies: 4
    Last Post: - 5th December 2005, 18:52

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