Hardware Homebrew Others Homebrew app DS Slot 2 GPIO timings?

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Hi folks, I have an odd question. I have an idea for a DS/DS Lite homebrew project that would have a nice progression of (relatively) easy to more difficult programming goals. I am not very proficient at coding at the moment and haven't really found the right thing to sink my teeth into to get better. The absolute last thing to implement in this idea would be controlling addressable LEDs (preferably neopixels, but I'm not picky) via the Slot 2 GBA connector.

My question is, would this be even remotely possible? I've done some research and from the documentation I found I think the GBA slot can be addressed in such a way directly without an intermediary device such as an arduino (I've seen some stuff where the GBA port is connected to a microcontroller dev board and then the board does the controlling of the LEDS but I would like if it did not require any hardware other than a flash cart, a DS/Lite, a simple cartridge connector, and the LEDs themselves), but I am very clearly not knowledgeable enough (not yet, hopefully) to know if it can be done with strict enough clock timing*, if it would require learning assembly instead of sticking to a higher level language, and/or if it would require bit bashing to accomplish.

Is this a really dumb idea? Yeah. Am I thinking way too far ahead? Definitely. Is this just another flash-in-the-pan ADHD special interest that I will furiously fantasize about and then burn out on within a week? Probably. But I'm just curious if the end goal is physically possible, even if it only goes as far as a disorganized notes file in my google docs like most of my other great/terrible ideas.

If you end up reading docs and have the time, knowledge and patience to answer, I really appreciate it!

*while typing this post out I found an article about neopixel timings being a little less strict that documented although I cannot post it due to newbie restrictions. If you google "NeoPixels Revealed: How to (not need to) generate precisely timed signals" you'll probably find it.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,377
Country
United Kingdom
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
http://problemkaputt.de/gbatek.htm#gbacartridges
and
http://problemkaputt.de/gbatek.htm#gbacartioportgpio

Something that might be of interest
https://www.darkfader.net/gba/ , particularly https://www.darkfader.net/gba/psxmem.html though you might need https://web.archive.org/web/20110527074511/http://darkfader.net/gba/psxmem.html for the pictures.
 

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
(link removed because newbie)
and
(link removed because newbie)

Something that might be of interest
(link removed because newbie) , particularly (link removed because newbie) though you might need(link removed because newbie) for the pictures.
Looks like that darkfader stuff is through the GBA link cable port (unless my reading comprehension has failed me, as it often does) but I do appreciate the gbatek links! I think I found some other leads on the darkfader website for DS stuff as well, so that helps too.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Having every channel is fun lol
  • D @ diamondsofmayhem:
    Actually, finally found someone who was looking for the same thing. https://gbatemp.net/threads/lost-hyrule-warriors-legends-v1-6-0-ntr-plugin.628141/ to no avail.
  • D @ diamondsofmayhem:
    well, sorry for bugging yall with this.
  • Xdqwerty @ Xdqwerty:
    good night
  • Sicklyboy @ Sicklyboy:
    sup nerds
    +1
  • BigOnYa @ BigOnYa:
    Sup dawg, watching old rap vids so feel like I gotta talk...Real
  • BigOnYa @ BigOnYa:
    Not really just funny. I'm definitely a nerd!
  • ShinyLuxio @ ShinyLuxio:
    Hi there, it's any way to recover original LFCS if I don't have a NAND backup?
  • ShinyLuxio @ ShinyLuxio:
    Bought second hand 3DS, it seems it was "unbanned" but that was before I bought it
  • K3Nv2 @ K3Nv2:
    I got these in today for $20 stink buds they aren't that bad https://a.co/d/fOMSn8g
    +1
  • ShinyLuxio @ ShinyLuxio:
    @BigOnYa thanks but my question isn't there
  • BigOnYa @ BigOnYa:
    You ask your questions there, create a new thread if its not already answered, then eventually a 3ds genius will respond.
  • ShinyLuxio @ ShinyLuxio:
    I will, thanks
    +1
  • BigOnYa @ BigOnYa:
    No prob and btw, welcome to gbatemp! :grog:
  • BigOnYa @ BigOnYa:
    @K3Nv2 I got some cheapies at wallys, that are pretty good, already have lost a few expensive ones (one falls out and gone, can't find) while cutting grass so bought some cheap ones, and of course never lose these cheap ones. (Cheap meaning only $35, compared to air buds which I only have 1 of 2 now)
  • BigOnYa @ BigOnYa:
    They need to add air tags to they airbuds..
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa the airtags are bigger than the airpods, they won't fit
    +1
  • BigOnYa @ BigOnYa:
    Be cool tech tho. Of course they want to lose them anyways. Buy and buy again.
  • K3Nv2 @ K3Nv2:
    Apple could make a find my AirPods thing pretty easily
    +1
  • BigOnYa @ BigOnYa:
    You would think, esp using bluetooth, not GPS, like a "your getting hot-er" meter on your phone.
  • BigOnYa @ BigOnYa:
    I think they should tie up diddy, and let all the victims come and abuse him, we'll make a holiday of it every year. (jk, maybe)
  • BigOnYa @ BigOnYa:
    Crazy, the rich get away with this shit, and I can't shit without the poop police checking my asshole every time I shit, or if i have my toilet seatbelt on.
    BigOnYa @ BigOnYa: Crazy, the rich get away with this shit, and I can't shit without the poop police checking my...