Have you tried the latest version of meProg?
http://melabs.com/support/progsoft.htm (4.3 with firmware)
<br>
Have you tried the latest version of meProg?
http://melabs.com/support/progsoft.htm (4.3 with firmware)
<br>
DT
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"
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>
DT
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.
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
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
Try few 0.1 uF + 10uF tantalum close to your pic when programming. If you have 2 Vdd, then you use 2 0.1+10uF. PGM pin load to gnd with <10k.
Try to measure the MCLR line, and see if it's high enough... >12 V at very least.
I already had some weird issue in the pas when the PIC programmer was too close of the PIC... weird, but happen.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks