how can I know if my mac is truly communicating with the MD?

Discussions related to MegaDrum Hardware

Re: how can I know if my mac is truly communicating with the MD?

Postby dmitri » Mon Feb 09, 2009 7:56 pm

jeffbeckib wrote:I just thought at this stage if I'm gonna pay to send my board from NY to France and wait for it to come back, I may as well just purchase a completely soldered board with the components already in.

How many times I have to say that MegaDrum is for non-commercial use. If Synthex were to build it for you, he certainly wouldn't do it for free, so he'd have to charge you extra, which would make it commercialised.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: how can I know if my mac is truly communicating with the MD?

Postby Synthex » Mon Feb 09, 2009 10:40 pm

dmitri wrote:
jeffbeckib wrote:I just thought at this stage if I'm gonna pay to send my board from NY to France and wait for it to come back, I may as well just purchase a completely soldered board with the components already in.

How many times I have to say that MegaDrum is for non-commercial use. If Synthex were to build it for you, he certainly wouldn't do it for free, so he'd have to charge you extra, which would make it commercialised.

Jeffbeckib, you can send me your board, I will do it for free !!
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: how can I know if my mac is truly communicating with the MD?

Postby jeffbeckib » Mon Feb 09, 2009 11:02 pm

Synthex wrote:
dmitri wrote:
jeffbeckib wrote:I just thought at this stage if I'm gonna pay to send my board from NY to France and wait for it to come back, I may as well just purchase a completely soldered board with the components already in.

How many times I have to say that MegaDrum is for non-commercial use. If Synthex were to build it for you, he certainly wouldn't do it for free, so he'd have to charge you extra, which would make it commercialised.

Jeffbeckib, you can send me your board, I will do it for free !!

I appreciate that. could you please PM me your address?
jeffbeckib
 
Posts: 183
Joined: Wed Dec 17, 2008 8:46 pm

Re: how can I know if my mac is truly communicating with the MD?

Postby jeffbeckib » Fri Feb 13, 2009 6:48 pm

dmitri wrote:Switch back to 16MHz.
Your Atmega either has failed or somehow lost all it's firmware, including bootloader (provided all your resistance and voltage readings were correct).
If it just lost all firmware, reprogram it using an ISP cable. See http://www.megadrum.info/content/progra ... bootloader for details.


This link shows wiring for a 6 wire isp cable, isn't my connector on the board only 5? I'm assuming I'm connecting the lpt port to the icsp atmega32 connector,or am I supposed to be connecting the lpt to the is icsp 18f2550? I see that I only need to use GND, SCK, MISO, MOSI and RESET, would that connect as ground to pin1, sck to pin2, miso to pin3, mosi to pin4, and reset to pin5?
jeffbeckib
 
Posts: 183
Joined: Wed Dec 17, 2008 8:46 pm

Re: how can I know if my mac is truly communicating with the MD?

Postby mcalilj » Sat Feb 14, 2009 3:06 pm

Dmitri has another schematic at the bottom of this page:
http://www.megadrum.info/content/schematics

It uses 5 pins only.
mcalilj
 
Posts: 11
Joined: Thu Aug 28, 2008 2:30 am
Location: South Carolina, USA

Re: how can I know if my mac is truly communicating with the MD?

Postby jeffbeckib » Sat Feb 14, 2009 3:28 pm

mcalilj wrote:Dmitri has another schematic at the bottom of this page:
http://www.megadrum.info/content/schematics

It uses 5 pins only.


Yep, saw that, but he sent me another link that also showed 4 pins being jumped, but I don't see that on this one you just sent me. I don't have the resistors in the schematic, will this cable work without them, or are they just there as a means of protection? I've made the cable, and when I had pins 2 jumped to 12 and 3 jumped to 11 the Probe was good under the setup, but when I cut those jumpers, now the probe fails under the ponyprog. Either way, even when the probe was ok, It would still fail while trying to write the firmware stating it couldn't find the device.
jeffbeckib
 
Posts: 183
Joined: Wed Dec 17, 2008 8:46 pm

Re: how can I know if my mac is truly communicating with the MD?

Postby mcalilj » Mon Feb 16, 2009 4:33 pm

jeffbeckib wrote:This link shows wiring for a 6 wire isp cable, isn't my connector on the board only 5? I'm assuming I'm connecting the lpt port to the icsp atmega32 connector,or am I supposed to be connecting the lpt to the is icsp 18f2550?

The LPT port should connect the the atmega32 ISP (labeled "ICSP Atmega32" on Synthex's board)

jeffbeckib wrote:I see that I only need to use GND, SCK, MISO, MOSI and RESET, would that connect as ground to pin1, sck to pin2, miso to pin3, mosi to pin4, and reset to pin5?


On Dmitri's schematic the ISP pins are:
1: MISO
2: MOSI
3: SCK
4: RESET
5: GROUND

Is that what you have in your cable?

Also, I believe the resistors are to protect your LPT port. It's advisable to keep them, but I think you can do without them.
mcalilj
 
Posts: 11
Joined: Thu Aug 28, 2008 2:30 am
Location: South Carolina, USA

Re: how can I know if my mac is truly communicating with the MD?

Postby mcalilj » Mon Feb 16, 2009 5:11 pm

Ok, I didn't see your most recent topic:
viewtopic.php?f=3&t=563

Looks like you already had the pins figured out...
mcalilj
 
Posts: 11
Joined: Thu Aug 28, 2008 2:30 am
Location: South Carolina, USA

Re: how can I know if my mac is truly communicating with the MD?

Postby jeffbeckib » Mon Feb 16, 2009 5:32 pm

mcalilj wrote:Ok, I didn't see your most recent topic:
viewtopic.php?f=3&t=563

Looks like you already had the pins figured out...


Yeah I even used my multimeter to check that the right pin on the db25 was going to the right pin on the 5 pin connector.
Ponyprog sees the board fine, it passes on the probe under setup and all, but when it tries to send anything to it, or even just set the fuses I get a device missing or unknown device (-24).

I think I may have a bad crystal, but I'm not sure if that should effect whether or not I can re-write to the atmega32 or if it would just mean that it work properly upon reboot.
jeffbeckib
 
Posts: 183
Joined: Wed Dec 17, 2008 8:46 pm

Re: how can I know if my mac is truly communicating with the MD?

Postby Synthex » Thu Feb 19, 2009 6:13 pm

Well, I received your package this morning.

First findings :

- 2 diodes (1N4148) are welded to front !!
- Why did you solder the 20 MHz quartz ?
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: Majestic-12 [Bot] and 57 guests