Tutorial  Updated

Internal modchip - SAMD21 (Trinket M0, Gemma M0, ItsyBitsy M0 Express) Guide, Files & Support

Notice: I am not receiving notifications for this thread. I didn`t realise people were still posting in it.

Please please accept my apologies if I haven`t replied to tags etc... I have no idea what is happening. I`m subscribed to this thread but I am not receiving notifications. Please inbox me if possible. Or tag me in another thread.

Its amazing that people are still checking all of this out. I thank you for all of the help and support I have received in this thread over this year.

Cheers. Matty.


A video showing a modchip in action. Thank you once again to @metaljay for providing this. This is what you can achieve by fitting a chip!



Section 1. Gather your software.

Get your chip software from THIS THREAD.
Follow the flashing instructions there...




Section 2. Removing USB port and unneeded LEDs. (Adafruit chips only)
  • Next, we need to remove the USB port from the modchip. I recommend a heatgun or a rework station. Heat up until the USB port just lifts off the modchip.
  • Do the same for the LED just to the right of the USB port.
See picture:
20181031_110415.jpg


You are now ready to fit your device. Proceed to Fitting section.





Section 3. Fitting modchip to your Switch.
New Universal Method. All SAMD-based internal chips. If your chip is not supported and you cannot work it out, PM me.

Trinket M0.
Solder as laid out in the following picture

trinketfinal.jpg

==================================================
Rebug SwitchME M0. Use Trinket files.
Solder as laid out in the following picture

rebugfinal.jpg

==================================================
RCMX86 - Internal modchip version.
Solder as laid out in the following picture

RCMX86-Internal-Final.jpg


==================================================
Gemma M0. Use Gemma files.
Solder as laid out in the following picture


gemma final.jpg

==================================================
ItsyBitsy M0 Express. Use ItsyBitsy files.
Solder as laid out in the following picture

itsybitsyfinal.jpg




==================================================
Feather M0 Express. Use Feather files.
Solder as laid out in the following picture

feather_final.jpg




BUILD YOUR OWN FROM A QFP ATSAMD21E18. Trinket equivalent pins.
Flash Trinket bootloader using OpenOCD via serial pins SWDIO / SWDCLK. Fit a reset switch somewhere... Or going to power / wake (aka method 2). If building for external use, it is good practice to fit a third capacitor between 3V & GND. This is deliberately vague and ambigious, as this needs research and you need to know what you are doing.

Link for setting the Pi up with OpenOCD: HERE
Raspberry Pi OpenOCD image in downloads section or HERE
SAMD pi connection.png



Alternative Solder Points

Credit to @consolex for original pic. I`ve added alternative points to solder to:
Alternatepoints.jpg


Credit to @pyorin for this much tidier version showing the same info as the above one!
Alternatepoints2.jpg

s-l1600.jpg

alternative3v.jpg




Replacement Parts List

Ok... So you have damaged your switch soldering your chip in. Not to worry.

First things first, DO NOT BRIDGE THE CONTACTS HOPING TO REVIVE YOUR SWITCH. With resistors, you may possibly get away with this, but with the capacitors listed below, if you jump these points, you will make a nice short-circuit to the PMIC and / or the M92T36, killing them instantly. Don`t do it.

OK... I`ll list these parts with METHOD 2 & 3 TRINKET PIN NUMBERS and the values of the components they solder to.

TRINKET 3V (POWER SUPPLY) - 2.2uF 0402 size MLCC capacitor. Voltage unimportant as long as it is over 6.3v
TRINKET PIN 2 (POWER ON RESET - goes to pin 5 on M92T36)- 4.7uF 0402 size MLCC capacitor. Voltage unimportant as long as it is over 6.3v
TRINKET PIN 0 (VOL+) - 150R (150 ohms) 0201 Thick Film resistor. 50mW
TRINKET RESET (SWITCH POWER BUTTON) - 150R (150 ohms) 0201 Thick Film resistor. 50mW


I recommend RS components.

FAQ

Q - How do I boot the switch into APX (RCM) mode?

A - You need to short out pin 10 on the right joycon rail to GND with a jig or modded joycon or paperclip (not recommended... Buy a jig you cheap-ass gyppo). Once shorted out, hold down vol+ and power. The switch screen should be off... Plug into your PC and it should recognise a APX device. Well done. You are in RCM.

Q - What glue should I use?
A - Only glue if necessary! Ideally if your soldering is of sufficient quality and your wire is thin enough, you don`t need glue. I use a bit because I am OCD. Anyway, use Epoxy. It`s what I use. Gives you some working time, is solid. Superglue makes a mess DO NOT USE SUPERGLUE. The only thing super about it is how it melts things. Epoxy won`t stick to the shield long-term, so bear that in mind. Pure Acetone will remove epoxy. Acetone tends to remove / melt anything to be warned. CHECK YOUR GLUE WON`T GO CONDUCTIVE OVER TIME - LOOKING AT YOU SCAMSUNG! The combination of heat cycles and absorbing of moisture can turn adhesive into a high-impedance connection!

Q - What size wire should I use?
A - I use AWG40 magnet wire or AWG30 Kynar. AWG40 goes onto components easier... And if you snap it, chances are the wire will snap and not the trace / component.
A2 - You can also use AWG30. I recommend Kynar wrapping wire but any will do. Looks nice, good resistance to elements, tidy. Nothing thicker than AWG30. You are just causing yourself more headaches. Trust me.

Q - Is AWG40 thick enough?
A - Yes. AWG40 is good for around 90mA.

Q - which methods do you recommend?
A - Connect all the straps...

Q - how do you recommend to set it up?
A - Fusee Suite. Search for Fusee Suite or go to link at top of this OP.

Q - My switch is flat and won't turn on.
A - Have you got the charger connected? Disconnect it or your switch won't boot! Boot to a payload (SX loader/Hekate), reconnect charger and leave on the payload menu and charge. Leave for 15 minutes and switch will start normally. It will continue charging one booted.

Disclaimer:
You have only yourself to blame. This voids warranty. This may or may not get you banned from online services. If it does, you got yourself banned. I`m not responsible if you kill your switch / your first-born with any of this in this post. I`m not infalliable. I`m partly senile. Do your own research. Kids, get bill payers permission before you attempt even using a screwdriver.
NUTSHELL: Don`t come having a go at me because you fooked your £300 console up. I`ll do my best to help you though if you do, Just don`t blame me.

Credits to Quantum-Cross, Atlas44, @Ninoh-FOX , @jcrorxp , @tecfreak, @mooglazer, @subcon959, @64Dp128k, @mikeleuskaldunak, @M-O-B, CTCaer, @evilsperm, @consolex and everyone else for valuable input.


IF YOU REQUIRE SUPPORT, IF YOUR CONSOLE ISN`T WORKING CORRECTLY... PLEASE POST A HIGH RESOLUTION PICTURE OF YOUR INSTALL. You might think it isn`t your soldering, but in all cases with the new methods, it is bad soldering. So, please post a picture.


A BRIEF WARNING - PLEASE READ
THIS MOD IS NOT FOR THE FEINT OF HEART. WE ARE SOLDERING TO TRACES AND COMPONENTS ON THE FRONT SIDE OF THE BOARD TO SAVE HAVING TO REMOVE THE BOARD AND SOLDER TO TESTPOINTS. IF YOU ARE STRUGGLING, OR THINK YOU ARE GOING TO STRUGGLE, PLEASE PLEASE SOLDER TO THE TEST POINTS NOTED IN THIS AND OTHER THREADS (YOU WILL NEED TO REMOVE THE MOTHERBOARD). DOUBLE - TRIPLE CHECK EVERYTHING. YOU HAVE BEEN WARNED!!!
Good soldering skills are needed!
A magnifying glass is needed!
Good soldering iron needed - ideally with a 0.3 conical tip. No more than 30w!
SECURE YOUR WIRES PRIOR TO SOLDERING. Stick them down with double-sided tape.
Only use glue if you need to and glue wires after soldering. Don`t glue the solder to the component!
Put the tiniest amount of glue on the PCB mask only. Never on components. Use a cocktail stick for more glue control!!!
Take a look at alternative solder points to get you out of the sh*t if you do rip something off the board
If you aren`t the best at soldering, then think very carefully about connecting to pin 6 capacitor (the one in these new methods). If you rip this pad, you WILL NEED TO REMOVE YOUR BOARD and run from a testpoint.
 

Attachments

  • Trinket equivalent.png
    Trinket equivalent.png
    118 KB · Views: 3,788
Last edited by mattytrog,

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
429
Country
Germany
@Switchgamer90
Pin 4 is used to wake up the trinket from a deep sleep state in which it is most of the time. Only at a coldboot if the line connected to pin 4 changes from LOW to HIGH (RISING), the trinket is waking up, doing it's job and immediately after that going back into the deep sleep state until the next coldboot.
 
Last edited by tecfreak,

Switchgamer90

Active Member
Newcomer
Joined
Jun 19, 2018
Messages
29
Trophies
0
Age
31
XP
105
Country
Canada
@Switchgamer90
Pin 4 is used to wake up the trinket from a deep sleep state in which it is most of the time. Only at a coldboot if the line connected to pin 4 changes from LOW to HIGH (RISING), the trinket is waking up, doing it's job and immediately after that going back into the deep sleep state until the next coldboot.
Joxley192 mentioned 5-6 posts ago that he put a switch to manually turn on/off the trinket m0. So if i am understanding this correct we dont need to put that additional physical switch because that job is done through pin 4?
 

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
429
Country
Germany
Joxley192 mentioned 5-6 posts ago that he put a switch to manually turn on/off the trinket m0. So if i am understanding this correct we dont need to put that additional physical switch because that job is done through pin 4?
No, you still need to connect pin 4 to the tiny cap or the testpad on the other side of the motherboard.
The reason why you install an extra magnetic switch is to ensure that the trinket doesn't drain the battery which can happen after an extended period of time if the switch is not in use. Even if the trinket is in a deep sleep state, it still pulls a small amount of energy.

EDIT: Maybe you could forego connecting pin4 to the motherboard if you trigger RCM manually and rewrite the trinket code so that it just triggers the exploit and delivers the payload after it has been powered on by the magnetic switch.
 
Last edited by tecfreak,
  • Like
Reactions: Switchgamer90

Switchgamer90

Active Member
Newcomer
Joined
Jun 19, 2018
Messages
29
Trophies
0
Age
31
XP
105
Country
Canada
No, you still need to connect pin 4 to the tiny cap or the testpad on the other side of the motherboard.
The reason why you install an extra magnetic switch is to ensure that the trinket doesn't drain the battery which can happen after an extended period of time if the switch is not in use. Even if the trinket is in a deep sleep state, it still pulls a small amount of energy.
Ok. That answers my question. So we would be placing the magnetic button flat on the board so it can pressed with the back cover in place?
Edit: nevermind i got it
 

SaggyBeans

Well-Known Member
Member
Joined
Jul 8, 2014
Messages
224
Trophies
0
XP
558
Country
Canada
Does anyone know if this would work with an Arduino board? Like the Mega, Nano, etc.? Is there something that the trinket M0 has (other than its small size) that the arduino boards don’t? Thanks!
 
Last edited by SaggyBeans,

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,076
Trophies
1
Age
56
XP
8,220
@jakkal - Spookily enough I've just came out the shower 5 minutes ago, also sheets are in the washing - house has been hovered/dusted etc - and pretty clean. I'd say my hygiene was pretty on the ball, so I'm not worried in the slightest!
 

jakkal

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
2,303
Trophies
1
Age
44
XP
3,982
Country
United States
@jakkal - Spookily enough I've just came out the shower 5 minutes ago, also sheets are in the washing - house has been hovered/dusted etc - and pretty clean. I'd say my hygiene was pretty on the ball, so I'm not worried in the slightest!
no one cares

thats wat im trying to say. Why are you worried about a random person's nails?
anyway i wont take part in your crappy attempt at a thread derailment
 
  • Like
Reactions: capitaineflam25

Talha_Yilmaz

Well-Known Member
Newcomer
Joined
May 20, 2013
Messages
58
Trophies
0
Age
32
XP
247
Country
Gambia, The
Hey, does anyone know if the Trinket 3v (blue pcb and no "m0" written on it) has a way to open the bootloader drive like the Trinket m0? I accidentaly bought the blue one and i was not able to access the drive. I tried 3 Win10 mashienes and 1 Win8 all with USB 2.0. The red LED flashes like it suppose to do also.
 

Attachments

  • 1500-06.jpg
    1500-06.jpg
    87.7 KB · Views: 296

X41

Member
Newcomer
Joined
Jun 28, 2017
Messages
5
Trophies
0
Age
34
XP
56
Country
Angola
@Talha_Yilmaz
No, you need the Arduino IDE to program that thing. Just read the manual.
this has nothing to do with the arduino IDE

Hey, does anyone know if the Trinket 3v (blue pcb and no "m0" written on it) has a way to open the bootloader drive like the Trinket m0? I accidentaly bought the blue one and i was not able to access the drive. I tried 3 Win10 mashienes and 1 Win8 all with USB 2.0. The red LED flashes like it suppose to do also.
this board won't work. the chip on that is a ATtiny85 instead of a ATSAMD21 and does not support acting as a USB host device as far as i know (plus the available code is incompatible with that)
you're gonna have to spend another 10 bucks on a Teensy M0 instead or wait for custom boards (or get some other small ATSAMD21 board, most of them should work but i don't know any that would fit)
 
  • Like
Reactions: Talha_Yilmaz

link42586

Well-Known Member
Member
Joined
May 9, 2018
Messages
321
Trophies
0
Age
37
XP
1,174
Country
United States
If I put an on/off switch onto the trinket does it need more code for that to work? Or can I put it in between the battery so it just cuts the battery on/off. Not sure how that all works.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: hmm