problem with melabs usb programmer


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Location
    Vancouver, WA
    Posts
    8

    Default problem with melabs usb programmer

    I'm trying to program a pic12f629 with a simple timer program and I keep getting a "Calibration Programming Error" and Erase failed error. If I turn off the erase before programming, I get a Program error at 0000h. Any ideas? Thanks.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mjmccarron View Post
    I'm trying to program a pic12f629 with a simple timer program and I keep getting a "Calibration Programming Error" and Erase failed error. If I turn off the erase before programming, I get a Program error at 0000h. Any ideas? Thanks.
    ....Never mind....just saw the title...most of the info is right there

    Do you have the chip correctly oriented?
    Last edited by skimask; - 24th July 2008 at 17:30.

  3. #3
    Join Date
    Jul 2008
    Location
    Vancouver, WA
    Posts
    8


    Did you find this post helpful? Yes | No

    Default More info...

    Sorry, I should have included more information. I'm using melabs USB programmer version 4.01 with the ZIF socket adapter, Pic Basic Pro v 2.50A and Microcode Studio v 3.0.0.5

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Is there an option button for 'Enable Vpp before Vdd' in there somewhere?
    I remember that being a problem for somebody at sometime, somewhere...somehow...

    And 4.01 isn't exactly the latest version of the software/firmware out there.
    http://www.melabs.com/support/upgrade.htm#U2
    Kinda makes me wonder...

  5. #5
    Join Date
    Jul 2008
    Location
    Vancouver, WA
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Thank you.

    Thanks for your help. I upgraded my programmer to the current version (4.23). The problem was actually two, 4.01 doesn't work for some reason and I had a bad connection in the ZIF adapter. Thank you again! --Mike
    Light travels faster than sound. That's why some people seem bright until you hear them speak.

  6. #6
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default Re: Thank you.

    Hi All,

    Having problems with "Calibration programming error", "Erase Failed" still.

    Trying on 3 different 10F222's, 2 in SOT23-6 and one DIP. After a couple of successful program tries, I start getting the same problem as in the first post. The SOT's are in a circuit so I tried the DIP without anything else connected, still the same. The erase seems to be working at least some of the time because I have lost the OSCCAL data after a few tries and since it hasn't been able to successfully program, "DEFINE OSCCAL_1K" isn't grabbing it again. I'm using http://www.rentron.com/PIC12C67X.htm load it back in.

    <After some time away...a lesson learned:>

    I had updated my U2 programming software recently, so I didn't figure that was the problem, but I started thinking about that nag screen and "ding" that you get from using the beta version. I didn't remember getting it since I updated from 4.31 to 4.41 beta. Checked and MCS was still launching 4.31. They are all named meProg.exe regardless of the version, so it takes a bit to determine which one you have if you leave more than one in your directories. There is a .txt file that shows which version you are looking at and I finally decided to do some housekeeping and get rid of all of the older ones. Went into MCS and manually changed to meProg.exe for 4.50 beta and it began launching the correct one (and I actually prefer the familiar "ding", it tells me its ready). Ultimately, it didn't solve my problem, but I thought the above discovery might help someone, so I thought I'd elaborate in case someone else missed it too.

    Moral to the story... Still having the issue. The next step is to pull the extra stuff from around the problem boards and give it another try. Tried to skip that as most of the parts are 0402 and a bit small to be playing with.

    If anyone has any other paths that I'm not seeing, please feel free to enlighten us.

    Thanks
    Bo

  7. #7
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default Re: Thank you.

    Late again to the party again, that'll teach me to wander away from the forums for a little bit.

    Try reading through this thread: http://www.picbasic.co.uk/forum/showthread.php?t=13612&p=92725#post92725

    The final final answer was to put everything into for the new U2 into the folder in which the old U2 files had been placed. Not a problem since, includeing when upgrading to the latest and greatest from MEL.

    Hope this might help a little.

    Best Regards,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

Similar Threads

  1. USB programmer problem 18LF4620
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th November 2007, 02:03
  2. melabs usb programmer problem
    By bigbear in forum General
    Replies: 4
    Last Post: - 28th December 2006, 12:50
  3. melabs USB programmer into MPLAB?
    By jocovo in forum General
    Replies: 1
    Last Post: - 10th November 2006, 16:58
  4. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47
  5. Melabs USB Programmer
    By tmurph in forum General
    Replies: 1
    Last Post: - 25th December 2005, 03:25

Members who have read this thread : 1

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