pic programming failed

Discussions related to MegaDrum Hardware

Re: pic programming failed

Postby oliboy » Mon Feb 22, 2010 6:29 am

just finished building..still getting a zero reading on pin 14...im using a 470n 100v capacitor connected to pin 14...i think this is the one causing the problem...do you think so?...
oliboy
 
Posts: 58
Joined: Fri Oct 24, 2008 3:59 am

Re: pic programming failed

Postby Firelord » Mon Feb 22, 2010 8:38 am

oliboy wrote:just finished building..still getting a zero reading on pin 14...im using a 470n 100v capacitor connected to pin 14...i think this is the one causing the problem...do you think so?...

If the capacitor is in working order, then no, I do not think so.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: pic programming failed

Postby atomburst » Sun May 22, 2011 4:03 am

i am having the same problem recently too.

here is my voltage readings on the pic18f2550:

pin 1 = 4.71v
pin 8 = 0v
pin 14 = 0.15v
pin 19 = 0.31v
pin 20 = 0.16v
pin 26 = 0v

i have checked the soldering and that is fine and the board has no breaks in it. i am using a synthex 2.8 kit with the 47k resistor wired in to ground. does it look like i need to purchase another pic18f2550? or is there something more i should be doing?


apparently i cant attach a .txt file so here is my programming log:

Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x001C96
Verifying CODE, 0x000000..0x001C96
Verifying 0x000000..0x001C96
Verify Error: 000000: read 000000, wanted 00EF39, mask 00FFFF ==> diff=00EF39
Verify Error: 000002: read 000000, wanted 00F00E, mask 00FFFF ==> diff=00F00E
Verify Error: 000004: read 000000, wanted 000012, mask 00FFFF ==> diff=000012
Verify Error: 000006: read 000000, wanted 000012, mask 00FFFF ==> diff=000012
More Verify Errors, unable to list all (total=3645)
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300000: read 000000, wanted 000E23, mask 00FFFF ==> diff=000E23
Verify Error: 300002: read 000000, wanted 001E3F, mask 00FFFF ==> diff=001E3F
Verify Error: 300004: read 000000, wanted 0081FF, mask 00FFFF ==> diff=0081FF
Verify Error: 300006: read 000000, wanted 00FF85, mask 00FFFF ==> diff=00FF85
More Verify Errors, unable to list all (total=7)
ERROR: Programming FAILED !
atomburst
 
Posts: 31
Joined: Mon Oct 27, 2008 11:43 am

Re: pic programming failed

Postby dmitri » Sun May 22, 2011 10:43 am

The second post in this topic: viewtopic.php?p=10022#p10022
My first reply in the topic: viewtopic.php?p=10080#p10080
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: pic programming failed

Postby atomburst » Sun May 22, 2011 12:31 pm

i have tried multiple times with every combination of settings on the computer, i have checked my wiring of the programming cable, and i have even put 5v straight to the chip to make sure it was getting enough power.

i am mostly worried about voltages that i am getting, is there something wrong with the chip?
atomburst
 
Posts: 31
Joined: Mon Oct 27, 2008 11:43 am

Re: pic programming failed

Postby germtangc » Sun May 22, 2011 1:34 pm

I had the same programming problem. The solution that worked for me is making an ART2003 programmer and used WinPic800.

http://www.megadrum.info/forums/viewtopic.php?f=3&t=1574
germtangc
 
Posts: 31
Joined: Fri Feb 18, 2011 10:11 pm

Re: pic programming failed

Postby dmitri » Sun May 22, 2011 1:54 pm

atomburst wrote:i have tried multiple times with every combination of settings on the computer, i have checked my wiring of the programming cable, and i have even put 5v straight to the chip to make sure it was getting enough power.

i am mostly worried about voltages that i am getting, is there something wrong with the chip?

If soldering is good, wiring is correct, the chip is powered and the WinPic configuration is right than it leaves only one answer - PIC is faulty/broken.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: pic programming failed

Postby atomburst » Mon May 23, 2011 7:14 am

thank you for your reply germtangc, unfortunately i cannot justify building the art2003 programming module because i am fairly confident my chip is faulty, however i will try again using winpic800. hopefully it works out.

this may be a silly question, but i would like to know before i decide to purchase another chip. If my pic18f2550 has worked before, is it possible it has become damaged or faulty even by not fiddling with it? it stopped working when the usb cord was accidently pulled out while trying to read information from it via mct.
atomburst
 
Posts: 31
Joined: Mon Oct 27, 2008 11:43 am

Re: pic programming failed

Postby dmitri » Mon May 23, 2011 9:14 am

atomburst wrote:this may be a silly question, but i would like to know before i decide to purchase another chip. If my pic18f2550 has worked before, is it possible it has become damaged or faulty even by not fiddling with it? it stopped working when the usb cord was accidently pulled out while trying to read information from it via mct.

It is very unlikely.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: pic programming failed

Postby atomburst » Mon May 23, 2011 11:46 am

hmm that is unfortunate news... now i am unsure what is wrong. anyway, i have checked my voltages again, and now they are all correct except pin 20 reads 0v instead of 5v, is there a specific reason for this?
atomburst
 
Posts: 31
Joined: Mon Oct 27, 2008 11:43 am

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 75 guests