Connect with us

Problems Programming PICKIT 2 Clone

Discussion in 'Microcontrollers, Programming and IoT' started by Sadlercomfort, Jan 14, 2016.

Scroll to continue with content
  1. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    Hi Guys,

    I've made a pickit 2 clone but i cant seem to program a PIC16F73 with it.

    I've checked my circuit and measured different point with the volt meter and everything is reading as expected.
    I figured that the MPAB is incompatible with the PIC16F73 so I'm using the standalone PICKIT 2 program.

    The program is able to detect the PIC. It says the programming successful when i write to it. However when I clicked verify it says "Verification of Program Memory failed at address 0x000000"

    I've tried a few things but to no avail, please help =]

    Thanks,
    Ash
     
  2. Colin Mitchell

    Colin Mitchell

    1,417
    312
    Aug 31, 2014
    Are you getting 13.6v Vpp
     
  3. dorke

    dorke

    2,342
    665
    Jun 20, 2015
    Have you accidentally turned on the "Code-Protect" feature?

    pic-err.jpg
     
  4. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    The code protect is enabled..

    Before I load my hex file I disable the code protect feature, but when i load my hex file the code protect is stuck enabled.

    I've tried changing the code protect config bits in MPLAB, before exporting my hex file.. still its stuck on code protect.
     
  5. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    I measured this but cant remember, let me check this again for you.
     
  6. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    I'm getting 11.9V on MCLR/VPP, when I hit read.

    Is this how you wanted me to test VPP?
     
    Last edited: Jan 18, 2016
  7. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    I've been looking at why my VPP might be low. The diagram below shows the circuit I've used.

    ICSP-1 Pin, is the VPP/MCLR Pin.

    I remember that I didn't have a 75 Ohm resistor when soldering R4, therefore I used 100 Ohm.
    Now I think this may be the issue.

    [​IMG]
     
  8. Sadlercomfort

    Sadlercomfort Ash

    424
    53
    Feb 9, 2013
    Hi Guys,

    It works! :rolleyes:

    I created a temporary 72Ohm resistor by using a 120Ohm and 180Ohm resistor in parallel. Seems to work now, so i guess I'll order a 75Ohm resistor.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-