18F4431 and Melabs USB programmer ?


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,

    I meant to mention that I had tried that as well.
    So the analogue supplies are connected, I've tried with MCLRE_ON and _OFF, I've tried with RB5/PGM pulled down to Vss. No joy.

    There seems to be a lot of noise floating around the net with people having trouble programming this PIC.

    It looks like I might be having to give MC some money

    Andrew

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


    Did you find this post helpful? Yes | No

    Default

    Have you tried the latest version of meProg?

    http://melabs.com/support/progsoft.htm (4.3 with firmware)
    <br>
    DT

  3. #3
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Yup, 4.30beta and upgraded the firmware to meup54
    The "volts" check in meProg shows Vdd = NA and Vpp = 13.18 when I "READ ACTUAL"

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


    Did you find this post helpful? Yes | No

    Default

    I found this in the A2 silicon Errata ...
    http://ww1.microchip.com/downloads/e...Doc/80180c.pdf

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3277&stc=1&d=123792998 0" />

    Not sure if it only applies to the ICD2 or not. But the USB programmer might have a similar problem if it's an A2 chip.

    A3 silicon doesn't seem to have the problem anymore.
    <br>
    Attached Images Attached Images  
    DT

  5. #5
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Sounds plausible, alas I don't think I can adjust Vdd on the USB programmer. What I might do is try and program it using ICSP on a breadboad with it's own power supply.

    Andrew

    nope - didn't work either
    Last edited by AndrewC; - 24th March 2009 at 23:04.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by AndrewC View Post
    nope - didn't work either
    Bummer!

    I was just reading Melanie's post ...
    http://www.picbasic.co.uk/forum/show...1847#post71847

    Thought hmmmm,
    You have "Erase before Programming" turned on ... right?

    So many straws to grab, not enough heads to make straw hats for.

    Maybe time to break out my virgin 4431 from the parts bin, and try the U2 and PICkit2.
    Do you have the original USB programmer or a U2?
    <br>
    DT

  7. #7
    Join Date
    Feb 2006
    Location
    Brussels, Belgium
    Posts
    104


    Did you find this post helpful? Yes | No

    Default

    Hi Darrell, yes - erase before programming is on. If I read the device after erasing it comes back as 3FFF's , Meprog also correctly recognises the device as an 18F4431,

    The programming error I get seems to flip between 0000 and 0018. It seems that sometimes it manages to start programming and then gives up after a few words.

    I do have the original USB programmer. My dilemma now is trying to decide:

    1) Is it the PIC itself - in which case I might try my luck at complaining to Microchip and getting some replacements.

    2) Is it the programmer - in which case I need to decide whether to go to a U2 or a PicKIT

    3) Is it the user - in which case I'm going to go and chop up some wood on my bandsaw and then spend several hours planing and sanding it and getting back into equilibrium with my inner self. Or have a few beers and a curry

    Thanks for your persistence in trying to help me

    Andrew

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