Modchip Dock Modification with SAMD21...

Discussion in 'Switch - Tutorials' started by mattytrog, Oct 20, 2018.

  1. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom

    Right, didn`t really want to start a new thread with this. But all my photo attachments are used up in the modchip thread which is HERE.

    This modifies the dock with a Trinket / rebug SwitchME or whatever, so no need to open the switch.

    I`m keeping this basic and to the point.

    This is assuming you know how to unscrew the back of the dock, and solder.

    All warnings etc etc from the other thread apply.

    Decent soldering iron needed...

    Look at the FPC connector, with ribbon at the bottom.
    The pins we need are pins 14 & 15 counting from the left.

    These do not appear to go anywhere apart from this connector. So as a result we have to solder to the connector mounting pins directly.



    Method 1 - Zoom in.
    DOCK MOD METH1.


    Method 2 - Use your own ingenuity to work out where to mount it. Maybe have a micro USB pigtail sticking out so you can disconnect and update the modchip?
    DOCK MOD METH2. To update the trinket after fitting, if you have fitted it permanently, you will probably need a USB-C socket adapter that you can attach inside the dock where the switch goes. Or desolder the wires. Or use one of the chainloaders that forward to the SD card, avoiding the need to update in the future...

    Only done this thread very quick as I`m in a hurry today. Got to feed the rabbit.

    Let me know how it goes...

    More pics so you get the idea... Click on them to zoom.
    20181018_135821. 20181018_135832. 20181018_135834. 20181018_135857.

     

    Attached Files:

    Last edited by mattytrog, Oct 20, 2018
    snam11, wicksand420, IHOP and 4 others like this.
  2. peteruk

    peteruk GBAtemp Addict

    Member
    12
    Jun 26, 2015
    Great stuff, thanks for all this info.
     
  3. hippy dave

    hippy dave BBMB

    Member
    13
    Apr 30, 2012
    United Kingdom
    The dock is now the biggest dongle so far. :)
     
    Myshkin and mattytrog like this.
  4. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    Nah... You should see the one I fitted to our washing machine
     
  5. hippy dave

    hippy dave BBMB

    Member
    13
    Apr 30, 2012
    United Kingdom
    Holy shit, you found an exploit to get free laundriez?
     
    zeveroth, Victorum and McWhiters9511 like this.
  6. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    It givz youz free waterz!!!
     
    Asia81, zeveroth and hippy dave like this.
  7. CIGrittz

    CIGrittz Member

    Newcomer
    2
    Sep 4, 2018
    United States
    Can you just install a usb c cable instead of losing a usb port?
     
    Last edited by CIGrittz, Oct 21, 2018
  8. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    Yes. Method 2 on the op.
     
  9. nero99

    nero99 GBAtemp Addict

    Member
    9
    Sep 18, 2014
    United States
    And now we wait for tx to “borrow” your method and slap the SX logo on it. But really, good job with this. I may do this to one of my docks as a little project
     
    mattytrog likes this.
  10. HakimEG

    HakimEG Newbie

    Newcomer
    1
    Jun 25, 2018
    Denmark
    Might try this out tomorrow - will come back with some feedback :)
     
    mattytrog likes this.
  11. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    8
    Jul 20, 2016
    Japan
    127.0.0.1
    I really like this idea. For people who use their Switch in mostly docked mode, this is a boon.
     
  12. HakimEG

    HakimEG Newbie

    Newcomer
    1
    Jun 25, 2018
    Denmark
    So i did the installation this morning - Going to try it out when im home later!
    Here are some pics for the curious - im doing method 2 with no switch.

    IMG_20181025_095643. IMG_20181025_095651. (note: It's not solder blobs on the connecter, rather flux i hadn't cleaned from the board yet :) )

    Waiting to see how it responds before adding anything that complicates the injection.

    If it becomes a problem, i might even probe around after some kind of wake up on the board, i know some have done it with fan installations, but unsure if that would work or not.
     
    mattytrog likes this.
  13. OllieD

    OllieD Member

    Newcomer
    4
    Dec 31, 2008
    I had previously sent a message to TX suggesting a solder-less modchip for the dock that "piggybacks" the usb c ribbon cable.
    so the idea isn't a unique one, i've been waiting for this to materialise for a while.
     
  14. HakimEG

    HakimEG Newbie

    Newcomer
    1
    Jun 25, 2018
    Denmark
    Can confirm it works as intended - not seeing any USB conflicts so far.

    Now I just need to find a decent spot for the reset switch..
    Still.. Dunno if this is for me, I already have a Trinket installed internally, and I need to get up to reset the switch after a crash anyway..
    Just seemed fun to try it out since I had a few trinket laying around :)
     
    Yasars and mattytrog like this.
  15. DarkJediRey

    DarkJediRey GBAtemp Regular

    Member
    2
    Jan 18, 2016
    United States
    I love this idea! Especially since I bought an extra dock for the bedroom. Wouldn't it be possible to extend the microswitch button on the trinket to just above the usb ports? Like desolder it and relocate it so it is accessible from the dock on the left side?
     
  16. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    Yes you could.
    No need to desolder it. There is a pad
     
  17. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    Random bump
     
    Techjunky90 likes this.
  18. Techjunky90

    Techjunky90 GBAtemp Regular

    Member
    3
    Apr 7, 2017
    United States
    I was thinking about doing something like this using one of the older generic rcm dongles that has capacitors. Power it from the usb micro side and push the payload from the usb c side. I have not looked much into the dock layout, but i assume there is no way to push a payload through the docks usb ports without mods?
     
  19. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    Without mods? Probably is a way. However the console would need to be in RCM, the dock would need to know the console is in RCM and the dongle would need to know that the console is in the dock in RCM mode.

    This would require code modification on the docks host controller ;)
     
  20. Techjunky90

    Techjunky90 GBAtemp Regular

    Member
    3
    Apr 7, 2017
    United States
    Use auto rcm. Correct me if I am wrong, using a usb c to usb a cable from the switch to pc to send a payload should be the same as the switch being docked and connecting the dock to pc with usb a to usb a cable, no? The dock should in theory pass the d+ & d- signal to the switch while in rcm no? Or does the dock send a signal to the switch & the switch sends a signal back to the dock before the dock becomes fully active?
     
    Last edited by Techjunky90, Dec 25, 2018
  21. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    10
    Apr 27, 2018
    United Kingdom
    The dock is the roadblock here.

    The dock runs its own firmware. I`ve dumped the dock code as others have done I`m sure. The dock (as far as I can tell) doesn`t even use the USB 1/2 lines we use to connect dongles etc to the switch. Though this was from only a brief poke round with the meter.

    The only way of doing it is by modifying the docks firmware (think its ESP8266 type device - can`t remember) or hardmodding the dock.

    The best way of doing it is modding the dock with a DPDT switch on one of the USB ports, allowing USB1/2 passthrough when switched one way, and stock USB the other.
     
Loading...