Page 1 of 3

PIC18F2550 programming problem

PostPosted: Mon Sep 30, 2013 5:00 pm
by marcjwebbmusic
ok so i am pretty much at the point where i am ready to play, last on the list of things to do is to upload the USB programme to the pic, made the ICSP cable, connected up checked that the interface tab was on COM84 (and it was) on port says COM1, loaded the file, (all 12mhz, 16mhz and 20mhz) however everytime says uploada failed, any help here would be great as looking to run it with my mac and SD 2 so the usb is an essential.

can anyone help on this?

Thank You
Marc

Re: PIC18F2550 programming problem

PostPosted: Mon Sep 30, 2013 5:17 pm
by marcjwebbmusic
ok just noticed my pic says - PIC18F2550-i/sp, is this the problem?

Re: PIC18F2550 programming problem

PostPosted: Mon Sep 30, 2013 8:05 pm
by dmitri
You're not the first with the problem. There might be many reasons. Did you look in https://www.google.co.uk/#q=site%3Awww. ... PIC18F2550 ?

Re: PIC18F2550 programming problem

PostPosted: Tue Oct 01, 2013 9:50 am
by marcjwebbmusic
ok, so from all the posts i have read alot of them say about the icsp cable being the fault and then others say the chip. i am a little confused so am going to try and programme the pic on a seporate programming board to see what happens. will keep you posted,, thanks again for your help.

Re: PIC18F2550 programming problem

PostPosted: Wed Oct 02, 2013 5:04 pm
by marcjwebbmusic
ok so today i tried to programme the pic on a seporate PIC programmer board and still the same problem, so this rules out the cable im using leaving just the pic iteself and the firmware, i am going to order another pic chip to see if this is the problem, if not, then i know it will definately be the hex file.

any other suggestions at this point??

regards

marc

Re: PIC18F2550 programming problem

PostPosted: Wed Oct 02, 2013 7:28 pm
by dmitri
marcjwebbmusic wrote:any other suggestions at this point??

Not really.

Re: PIC18F2550 programming problem

PostPosted: Wed Oct 02, 2013 7:53 pm
by marcjwebbmusic
also i was talking to someone who works very heavily with avr and embedded systems, and showed them the schematics and they pointed out that the rs232 icsp is wired in such a way that no communication would really work as is wrong.

http://www.google.co.uk/imgres?imgurl=h ... CDgQ9QEwAQ

yet the one on here shows the main pins not being used or different???

would you mind taking a look?

regards

marc

Re: PIC18F2550 programming problem

PostPosted: Thu Oct 03, 2013 10:56 am
by dmitri
I did not invent this ICSP cable, I took it from somewhere on Internet. It worked for many.

Re: PIC18F2550 programming problem

PostPosted: Thu Oct 03, 2013 10:58 am
by marcjwebbmusic
hi dmitri, hope you are well, just a quick question but it seems you had the same problem, what did you do to get over it.

"By now several people have had the same problem I had and all of them confirmed that this PIC18F2550 USB MIDI firmware fixes it, of course, with the required small schematic change (pin 26 should be connected over a 22k-47k resistor to the ground)."

is this the process to deal with it? also what is the schematic change for it?

regards

marc

Re: PIC18F2550 programming problem

PostPosted: Thu Oct 03, 2013 11:00 am
by dmitri
You quoted the change I did and this change is included in the Latest MegaDrum schematic.