Possible issue with some PIC18F2550 samples and a fix.

Discussions related to MegaDrum Hardware

Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Sun Jul 20, 2008 10:34 pm

I had a strange issue with one of two PIC18F2550 chips today. USB was working fine with one of the chips but not with another.
The only way to make this chip work was to pull pin 26 of PIC18F2550 to +5 over a 10k-47k resistor. Weird.
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Fri Dec 12, 2008 7:34 pm

If you happen to encounter a similar issue try this firmware:
pic18f2550usb_midi.hex


pin 26 should be connected over a 22k-47k resistor to ground instead.
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby Xmattz » Sat Dec 13, 2008 4:37 pm

Dimitri, stop talking in russian in english section of forum... ;)
Xmattz
 
Posts: 28
Joined: Fri Nov 21, 2008 3:51 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Sun Dec 14, 2008 6:14 pm

This is the source:
PIC18F2550 USB.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Fri Feb 13, 2009 7:59 pm

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).
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby r0bbie » Sat Feb 14, 2009 12:04 pm

Hi Dmitri,

Finished my hardware (Synthex) yesterday, and gues what, USB problems.
I found this post this morning and added a 33k pulldown resistor to pin 26.
Problem solved, without updating firmware. should i worry?

Thanks
If it ain't broken try to improve it.
r0bbie
 
Posts: 94
Joined: Wed Jan 21, 2009 10:13 pm
Location: The Netherlands

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Sat Feb 14, 2009 12:12 pm

If it works - it usually works. Just do a bit longer testing.
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby NovaKaine » Tue Feb 17, 2009 6:39 pm

Grrrrrr :lol:
NovaKaine
 
Posts: 150
Joined: Mon Jun 23, 2008 1:38 pm
Location: Lancaster Tx.

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby dmitri » Sun Mar 15, 2009 10:38 pm

This file contains 5 PIC18F2550 USB MIDI firmware versions for 4/8/12/16/20MHz crystals:
PIC18F2550 USB_4_8_12_16_20MHz.zip


In theory, by using the same frequency firmware for both Atmega and PIC18F2550 it may be possible to use just one crystal instead of two.
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8698
Joined: Fri Aug 03, 2007 8:05 pm

Re: Possible issue with some PIC18F2550 samples and a fix.

Postby Ken Forgettable » Sun Mar 15, 2009 11:16 pm

dmitri wrote:This file contains 5 PIC18F2550 USB MIDI firmware versions for 4/8/12/16/20MHz crystals:

XMEGA dev' :ugeek: - just with a change to CLOCK_FREQ in "HardwareProfile - pic18f2550.h" for these then?
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Next

Return to MegaDrum Hardware

Who is online

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