Access MicroSD Card over USB-C?

Hardware

Zi0v4_

Member
OP
Newcomer
Joined
Nov 7, 2024
Messages
8
Trophies
0
Age
17
XP
26
Country
France
Hey,
a few weeks ago, I started replaying my CFW Old 3ds XL and by being aware of the current hw mods, some ideas came to my mind and I was wondering if some of you may answer my questions :
Can a USB-C/A mod to transfer files to sd card by cable be possible ?
Same for a USB A OTG (to connect wired controller, headphone, USB Key, etc..) ?

If you have some more ideas for potential HW mods, write them below so maybe we can have answers and further researches..
 

kijetesantakalu042

Man with 27 testicles
Member
Joined
Aug 3, 2024
Messages
631
Trophies
2
Location
planet x65943
XP
1,381
Country
Antarctica
But I was wondering if connecting a USB C breakout to the sd card slots test points or anything like that could allow file transfer
USB and SD card are completely incompatible, you'd need some form of micro controller (or most likely FPGA) to allow them to communicate. I also don't even think there are test points on the 3DS's motherboard.
 

Zi0v4_

Member
OP
Newcomer
Joined
Nov 7, 2024
Messages
8
Trophies
0
Age
17
XP
26
Country
France
USB and SD card are completely incompatible, you'd need some form of micro controller (or most likely FPGA) to allow them to communicate. I also don't even think there are test points on the 3DS's motherboard.
Still is it possible ? For sure it's not gonna be light work, but my initial question was if the 2 mods I thought about were possible in a way or another
 

kijetesantakalu042

Man with 27 testicles
Member
Joined
Aug 3, 2024
Messages
631
Trophies
2
Location
planet x65943
XP
1,381
Country
Antarctica
Still is it possible ? For sure it's not gonna be light work, but my initial question was if the 2 mods I thought about were possible in a way or another
This issue also is race problems where a game wants to write or read something but the hardware won't allow it because it's writing data into the SD cards.

if you wanted to make it, you probably could, but don't expect someone to do it for you

"Everything is theoretically impossible until it is done." -Robert A. Heinlein
Said it perfectly
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,830
Trophies
5
Location
Space
XP
14,830
Country
Norway
USB and SD card are completely incompatible, you'd need some form of micro controller (or most likely FPGA) to allow them to communicate. I also don't even think there are test points on the 3DS's motherboard.
But I was wondering if connecting a USB C breakout to the sd card slots test points or anything like that could allow file transfer
Wire a USB MicroSD reader internally, it should be quite doable (of course never plug the USB in while the 3DS is turned on or you may have corruption)
Hey,
a few weeks ago, I started replaying my CFW Old 3ds XL and by being aware of the current hw mods, some ideas came to my mind and I was wondering if some of you may answer my questions :
Can a USB-C/A mod to transfer files to sd card by cable be possible ?
Same for a USB A OTG (to connect wired controller, headphone, USB Key, etc..) ?

If you have some more ideas for potential HW mods, write them below so maybe we can have answers and further researches..
USB OTG is a lot harder to do. Headphones are easy enough, you can wire an adapter internally. Controller support would need to have wires running to each button pad and you could probably use a Pi Pico or similar to accomplish the translation between USB host -> button inputs. But to support both through the same port, you wouldn't be able to use a simple audio adapter. Perhaps the Pi Pico is powerful enough to also act as a DAC for USB -> analog audio so it can accomplish both things. In any case it would not be a simple mod.
USB drives are probably not feasible, there's just no mechanism for connecting secondary storage to the 3DS, or mounting it in the software. And homebrew wouldn't know how to access it anyway. IIRC an adapter exists that allows you to plug a USB drive into a SD slot, but it's unstable with very slow data transfer rates and essentially useless, and even with an adapter like that, you wouldn't be able to use a SD card anymore. So the only way that it could work is by having a microcontroller handle both the USB drive, and the microSD, and merge the file systems, pretending to be a SD card to the 3DS so what the 3DS sees is the combination of both of their files. It's possible in theory but writing the code and making it all work reliably (and with decent speed) is a problem. This might be best done with a FPGA, I'm not sure if a Pi Pico could handle it. The PIO on the Pi Pico is powerful, but it only has 12 pins and you're already asking it to do a lot of things. I think asking it to do even more might exceed the capabilities. Any other microcontroller (that doesn't have an equivalent to PIO) would have no chance, they're only capable of connecting SD cards in the much slower SPI mode which is too slow for any significant data transfer.
 

TheStonedModder

Well-Known Member
Member
Joined
Dec 25, 2022
Messages
1,394
Trophies
2
Age
28
XP
3,075
Country
United States
Wire a USB MicroSD reader internally, it should be quite doable (of course never plug the USB in while the 3DS is turned on or you may have corruption)

USB OTG is a lot harder to do. Headphones are easy enough, you can wire an adapter internally. Controller support would need to have wires running to each button pad and you could probably use a Pi Pico or similar to accomplish the translation between USB host -> button inputs. But to support both through the same port, you wouldn't be able to use a simple audio adapter. Perhaps the Pi Pico is powerful enough to also act as a DAC for USB -> analog audio so it can accomplish both things. In any case it would not be a simple mod.
USB drives are probably not feasible, there's just no mechanism for connecting secondary storage to the 3DS, or mounting it in the software. And homebrew wouldn't know how to access it anyway. IIRC an adapter exists that allows you to plug a USB drive into a SD slot, but it's unstable with very slow data transfer rates and essentially useless, and even with an adapter like that, you wouldn't be able to use a SD card anymore. So the only way that it could work is by having a microcontroller handle both the USB drive, and the microSD, and merge the file systems, pretending to be a SD card to the 3DS so what the 3DS sees is the combination of both of their files. It's possible in theory but writing the code and making it all work reliably (and with decent speed) is a problem. This might be best done with a FPGA, I'm not sure if a Pi Pico could handle it. The PIO on the Pi Pico is powerful, but it only has 12 pins and you're already asking it to do a lot of things. I think asking it to do even more might exceed the capabilities. Any other microcontroller (that doesn't have an equivalent to PIO) would have no chance, they're only capable of connecting SD cards in the much slower SPI mode which is too slow for any significant data transfer.
Loopy has schematics online for a PCB that allows an external GameCube controller that attaches to those test points
 
  • Like
Reactions: The Real Jdbye

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,885
Trophies
1
XP
22,640
Country
United States
Hey,
a few weeks ago, I started replaying my CFW Old 3ds XL and by being aware of the current hw mods, some ideas came to my mind and I was wondering if some of you may answer my questions :
Can a USB-C/A mod to transfer files to sd card by cable be possible ?
Same for a USB A OTG (to connect wired controller, headphone, USB Key, etc..) ?

If you have some more ideas for potential HW mods, write them below so maybe we can have answers and further researches..

USB port I only seen for charging, and capture card purpose, not SD card, I seen people done wired controller connected to the 3ds.
 

Zi0v4_

Member
OP
Newcomer
Joined
Nov 7, 2024
Messages
8
Trophies
0
Age
17
XP
26
Country
France
in fact the mode is pure qol improvement for a small issue, but brings phone file transfer when either a laptop nor a SD reader are in your pocket. I plan on trying to code a microcontroller and maybe if it needs to, designing a pcb to connect every ends. Do you think a manual button switch could make the usb c reachable when the 3ds is on, the button would then switch from usb c wire, to 3ds wires
 

Zi0v4_

Member
OP
Newcomer
Joined
Nov 7, 2024
Messages
8
Trophies
0
Age
17
XP
26
Country
France
Everything is theoretically possible! It's "possible" you could rip out the entire 3DS motherboard and design a new one from scratch! If your options are more limited than that, then kindly restrict your definition of "possible".
Would it be less painful if I do it on a N3DSXL ?
 

kijetesantakalu042

Man with 27 testicles
Member
Joined
Aug 3, 2024
Messages
631
Trophies
2
Location
planet x65943
XP
1,381
Country
Antarctica
Would it be less painful if I do it on a N3DSXL ?
New 3ds XL is designed in a modular way. The SD card reader happens to be it's own module.
1731083580253.jpeg

You could build a board with a ribbon cable and a ribbon connector, plug the reader into it, and then plug it into the console. You could then put the SD card control logic on that board.

You could also develop it with the sd card reader disconnected from the 3ds to make sure you can get usb writing working before putting it in your 3DS.
1731083969171.png
1731083990603.png
 
Last edited by kijetesantakalu042,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • kijetesantakalu042 @ kijetesantakalu042:
    and a half
  • BigOnYa @ BigOnYa:
    It's not so different than having your phone in your hands 24/7, which most young people do nowdays. Like sitting at a table or room together, but everyone is in they own world staring at they phone.
  • kijetesantakalu042 @ kijetesantakalu042:
    I find it so sad
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    The way they scream when it gets taken away
  • BigOnYa @ BigOnYa:
    That's the parents fault to begin with, not teaching control and discipline.
  • BigOnYa @ BigOnYa:
    My kids were not allowed to have any devices at the kitchen table at dinner time or family time, and now they practise the same with they kids.
  • kijetesantakalu042 @ kijetesantakalu042:
    I have a 6 year old cousin or whatever it's called. And he has said some things he shouldn't know about
  • BigOnYa @ BigOnYa:
    Like how Barney is now Barnatisha?
  • ZeroT21 @ ZeroT21:
    https://www.youtube.com/watch?v=o7TVPoxwi74 looks weird, fugly women again
    +1
  • ZeroT21 @ ZeroT21:
    topping it off with comments turned off
    +1
  • ZeroT21 @ ZeroT21:
    guess they can't handle rejection
    +1
  • SylverReZ @ SylverReZ:
    Lol bald wars
  • SylverReZ @ SylverReZ:
    @kijetesantakalu042, Throw the iPad away and teach him proper education that doesn't involve technology. Even better become amish.
    +3
  • kijetesantakalu042 @ kijetesantakalu042:
    @SylverReZ I would but he isn't my child.
  • ZeroT21 @ ZeroT21:
    seems like every kid these days
    +2
  • BlazeMasterBM @ BlazeMasterBM:
    seems like everyday i see a child with more expensive technology than me lol
    +2
  • kijetesantakalu042 @ kijetesantakalu042:
    @BlazeMasterBM have kids is expensive enough and these parents spend hundreds on tech.
    +1
  • BigOnYa @ BigOnYa:
    Yea like 10yr old kids with the newest iphone is redunklous. You already know that's gonna be lost or broke. (Apple care only covers it once a year now irc)
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    I don't even have an iphone. All I do with a phone is text and call family and friends and a shitty phone from several years ago was good enough.
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    The only annoying thing is not having a camera
  • BigOnYa @ BigOnYa:
    What? Didn't know any cellphone didn't have a camera, even cheap ones.
  • kijetesantakalu042 @ kijetesantakalu042:
    It's potato quality
  • kijetesantakalu042 @ kijetesantakalu042:
    not very usable
  • kijetesantakalu042 @ kijetesantakalu042:
    I'm due for an upgrade tbh
    kijetesantakalu042 @ kijetesantakalu042: I'm due for an upgrade tbh