Offline
Malaga - Spain

Hi to all!, this is my first post in this forum, I have to say I found a lot of usefull information here so thanks in advance for all of you who support it !! smile

I recently built an Arduinoboy shield based in the "Shieldboy" from http://chipmusic.org/forums/topic/6140/ … shieldboy/  that was postet by another member of this comunity "m00dawg", thanks!!. I have to say the layout is very clear so I thought to build one myself at home with the tyoical technique of tonner transfer and etching with cluoride pherric or whatever it is in english smile

Im  using:
- GBA
- Cable Link with 5 pins (missing line of the Voltage which I dont want to use anyway)
- Arduino MEGA 2560
- Arduino IDE 1.0
- Arduinoboy 1.2.3 + LSDJ and mGB (arduinoboy edition)

Apart from the backwards diode, which is documented the same in every other schematic around (the black part of the diode goes to the pin 2 of the 6N138), everything seems fine with the multimeter... the only thing I havent solder is the 5volts line... as Im using the first GBA model (the wide one) and uses 3V instead of 5V.

As shown in the image, I recycled a multilink interface that I had around to plug the GBA to the Arduinoboy using 1 game boy link cable.

http://s14.postimage.org/9as5ajhvl/PHOT … INOBOY.jpg

The LEDS seem fine, all blinking, doing the fancy thingy at the begining. It blinks to MIDI clock and MIDI notes events in some modes... but there is no answer from the GBA, neither the mGB or LSDJ soft is responing... I also noticed that LSDJ wont send MIDI in Master MIDI mode...

Is there any difference betwen GBA link cables and DMG version?
Do somebody know if the Arduino MEga 2560 might have different pinout ?

Any help would be aprecciated to make this baby singing!!
All the best!
Julian

Last edited by juliflash (Jun 15, 2012 3:25 pm)

Offline
Texas

Yeah sorry about that backwards diode. It's fixed in my schematics. I thought I uploaded those to the website, but I may need to check. All the printed boards I have are wrong, doh!

As far as what's wrong, I see that you have a jumper on the 5V input. That is for supplying power from the GameBoy instead of through the USB or power jack. That requires a modification to the GameBoy, however, and either way, you do not have any wire going to +5V on the GameLink header.

So try removing that jumper first and supplying power using USB. If everything is powered up correctly, you should see the LEDs cycle for about 1 second. Then to test that things work, break out LSDJ and set it to slave and set the ArduinoBoy to slave as well (2rd LED from the top if looking where the USB is on the top-left). Start your track in LSDJ and then start your DAW or whatever you have sending a clock. The LEDs should cycle to the beat of the clock and, if the cable is working as it should, things should start playing in LSDJ at the same rate.

Alternatively, you can test master mode. Press the button on the ArduinoBoy again to do that (3rd LED from the top) and set LSDJ to master. Now if you start playing the song, the lights should blink to the BPM of the song. Note that I could never get MIDI Out working on mine for whatever reason and if that problem is intrinsic to the design, it may not work for you. But the LEDs should blink regardless since the problem has to do with the MIDI Out port itself and anything coming through the GameLink interface.

Hope that helps!

Offline
Malaga - Spain

Hi and thanks for the answer...

The 5V line is not connected ... I left the pins there in case I wanted to do it in the future, and then it should hava a cable to link betwen those points, but at the moments is not connected, Im powering the unit from an external 5V supply...

I checked what you suggested but no luck. I can clearly see the LED reacting to incoming MIDI events, clock etc... But In LSDJ master mode I dont seem to have any data coming trough the cable cause no led blinks to the midi info from LSDJ.

So it´s interesting if you say that LSDJ wont work in Master mode, any info regarding mGB? Did it work to you?

Ill keep working on it and will post the steps!

Thanks a lot !
Julian

Offline
Texas

Ah derp sorry! I missed some key points in your first explanation about power and the current state of things. If you don't see the LEDs cycling when LSDJ is in master mode, but do see them on incoming MIDI events, then you know it has something to do with the game-link cable. I have included, as best as I could, information about how to figure out the wiring for the GameLink cable here. That is for a DMG-001 so your situation may be a tad different.

The cable I have is something similar to this one. I say similar because I ordered another cable from the same shop recently and it appears to be slightly different. Likewise, I tested it with both a DMG-001 and GameBoy Color (as my cable has connections for both).

I can't think of a reason why the GBA shouldn't work but I haven't tried it hmm Also, LSDJ does work in Master Mode - it's just that I have not isolated the problem as to why I'm not getting MIDI Out events from the ShieldBoy. I wasn't planning on using that myself but do plan on figuring that out so folks that want to use the ShieldBoy have that option. I don't have an o-scope at the moment so it's a tad hard to track down currently.

Offline
Malaga - Spain

Hi and thanks again!

I´m starting to think that there is a problem related when using certain flash cards like the M3 mini SD that Im using to run LSDJ, some people say the game link works for some games, not for others, and since Its used to run GB and GBA Roms in to a Nintendo GBA-DS, there might be some Hardware differences...

My only hope now is to get another flash card, and use it in a DMG-01... which I have , but no cart for it sad

Anyway thanks a lot for the help, I will post here some info if I get it to work...
all the best!
Julian.

Offline
Texas

Ah that's a bummer. For what it's worth, the cart I use is this one that Kitsch sells. Really like it so it's got my vote!

Once you do a cart, if you still run into issues, let me know! Sometimes I don't get post updates via e-mail for whatever reason so you can always PM me if I don't respond, or contact me directly via the contact page on my band website (victimcache.com).

Hope you get it working man!

Offline
Malaga - Spain

Hi Thanks for the help!!

I will get soon the cartridge so Ill be able to test again, I will post the results smile

Anyway thanks again!! all the best!
Julian

Offline
Texas

Awesome! I just built another one of these and didn't run into any issues, so I think the design is sound (other than the diode being backwards, which I fixed on my band's website; and the MIDI OUT thing). If it still doesn't work, check your cable and maybe start testing your traces just to make sure you don't have a cut/bad trace. Then do the same for your solder joints.

Offline
Malaga - Spain

Cool!

Well Im pretty sure is got something to do with the M3 card and the game link port not being emulated... The cartridge Im getting now is being tested by a friend of mine, and using the DMG I think will make all the difference smile

Regarding the traces and solder points have been tested severall times... so Ill see if the new cart will make a difference!
Finger crossed!

have a good one!

Offline
Texas

Ah yeah if the traces are good, it's probably the Advance stuff you're using. I have high hopes for the new cartridge and testing it on a DMG.