(true)MIDI USB Board

Discussions related to MegaDrum Hardware

Re: (true)MIDI USB Board

Postby Synthex » Thu Nov 08, 2007 12:06 am

PCB Layout in DipTrace format later in this topic.
Last edited by Synthex on Thu Nov 08, 2007 8:19 pm, edited 1 time in total.
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: (true)MIDI USB Board

Postby dmitri » Thu Nov 08, 2007 12:09 am

Synthex wrote:
dmitri wrote:I thought both your CDC and MIDI firmwares had fuses settings included in the .hex. Am I wrong? I used a JDM programmer. I couldn't make WinPic800 to recognise my JDM programmer and Icprog doesn't yet list PIC18F2550 (tried setting it to PIC18F4550 but for some reason it only writes first 1000h words) so I used PICPgm which worked well.


Fuses are settings in the .hex and JDM programmer is good.
I use WinPic800 with a GTP-USB Plus.

Could you test this one ?

Same result. The weird thing is when I program/read the chip in circuit and after programming/reading complete Windows finds MegaDrum USB and installs drivers and it works! But once I reconnect USB cable without ISCP Windows says it found an unknown malfunctioning device. I'm lost.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: (true)MIDI USB Board

Postby Synthex » Thu Nov 08, 2007 12:16 am

dmitri wrote:Same result. The weird thing is when I program/read the chip in circuit and after programming/reading complete Windows finds MegaDrum USB and installs drivers and it works! But once I reconnect USB cable without ISCP Windows says it found an unknown malfunctioning device. I'm lost.


Very Strange !
It works but only with the ICSP connector ?
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: (true)MIDI USB Board

Postby dmitri » Thu Nov 08, 2007 12:26 am

Not only this but also a certain voltages on pins 26,27,28:

26 -> -0.6V
27 -> -0.017V
28 -> +4.7V

And after I disconnect ISCP cable it still works. But once I reconnect USB cable after this it stops working:(
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: (true)MIDI USB Board

Postby Synthex » Thu Nov 08, 2007 12:30 am

dmitri wrote:Not only this but also a certain voltages on pins 26,27,28:

26 -> -0.6V
27 -> -0.017V
28 -> +4.7V

And after I disconnect ISCP cable it still works. But once I reconnect USB cable after this it stops working:(


Do you change fuses settings ?
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: (true)MIDI USB Board

Postby dmitri » Thu Nov 08, 2007 12:34 am

Synthex wrote:
dmitri wrote:Not only this but also a certain voltages on pins 26,27,28:

26 -> -0.6V
27 -> -0.017V
28 -> +4.7V

And after I disconnect ISCP cable it still works. But once I reconnect USB cable after this it stops working:(


Do you change fuses settings ?

Only one bit - LVP. Otherwise I'm not able to do in circuit programming. But I tried without modifying any fuses at all and result was still the same.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: (true)MIDI USB Board

Postby Synthex » Thu Nov 08, 2007 8:20 am

dmitri wrote:Only one bit - LVP. Otherwise I'm not able to do in circuit programming. But I tried without modifying any fuses at all and result was still the same.


I have tried the test by activating the LVP, and it is not working.
In fact, i use RB7, RB6 and RB5 to control a bicolor LED to display the activity and status of the USB bus.
I can send you a new version by enabling LVP and disabling the led control.

But, with no LVP, it must work ...
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: (true)MIDI USB Board

Postby dmitri » Thu Nov 08, 2007 10:05 am

Synthex wrote:
dmitri wrote:Only one bit - LVP. Otherwise I'm not able to do in circuit programming. But I tried without modifying any fuses at all and result was still the same.


I have tried the test by activating the LVP, and it is not working.
In fact, i use RB7, RB6 and RB5 to control a bicolor LED to display the activity and status of the USB bus.
I can send you a new version by enabling LVP and disabling the led control.

But, with no LVP, it must work ...

Yes, please, post the version without led control and with LVP enabled.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: (true)MIDI USB Board

Postby lond » Thu Nov 08, 2007 4:38 pm

Hi!

Can you change the ICSP pin-out so it follows Microchip standard 6-pin connector for In-Circuit Serial Programming (ICSP)?
The pin-out is listed in table below:

Pin Function
1 _MCLR/Vpp (programming voltage)
2 Vcc(+5V)
3 Gnd
4 Data
5 Clock
6 LVP (low-voltage programming mode control)

I use a PICKit 2 Starter Kit-programmer to flash my PIC's.
lond
 
Posts: 1
Joined: Thu Nov 08, 2007 4:30 pm

Re: (true)MIDI USB Board

Postby Synthex » Thu Nov 08, 2007 6:05 pm

dmitri wrote:Yes, please, post the version without led control and with LVP enabled.


Here is this version.
You do not have the required permissions to view the files attached to this post.
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 81 guests