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,797
Last edited by mattytrog,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Dear mattytrog

Thanks for your works but I have a problem to flash the trinket chips. I hope you can help me

I brought from a adafruit authorized distributor a lot of Trinket M0 (ATSAMD21E18).

Download this files from Github:

Github/mattytrog/Switchboot_PART_1
Github/mattytrog/Switchboot_PART_2
Github/mattytrog/Simple-UF2

Solder Points:

Nand V3 -> Trinket V3
Switch Pin 10 (Joycon) -> Trinket Pin 3
Switch USB -> Trinket USB
GND -> Trinket GND

Drop first file Github/mattytrog/Switchboot_PART_1/SWITCHBOOT_TRINKET_JOYCON.uf2 on the Trinket Chip - All looks fine -> Trinket flash it and reopen the folder with "Switchboot".
Now I drop Githup/mattytrog/Simple-UF2/SIMPLE-UF2_v099r4a/UF2/TRINKET_METHOD3_SIMPLE_UF2_V099r4a.UF2 on the chip but after flashing the trinket status LED blinks 10x times and the chip dosn't payload.

If I drop now the file RCMX86_INTERNAL_SIMPLE_UF2_V099r4a.UF2 on the chip -> It will work and no more error blinks but no joycon functionality on Trinket Pin 3 to Switch Pin 10.

I can't flash any Trinket.UF2 file from your packs on the Trinket chip. Everytime the status led blinks and will not work.
Also if I keep the original bootrom (Trinketboot)

I test it also with older files from this page: https://gbatemp.net/threads/basic-m...oot-files-trinket-rebug-rcmx86-others.518574/

Flash on a virgin Trinket (Trinktboot):

1) trinket_rebug_bootloaders\Step_1_Version_1_joycon.uf2 = OK
2) Trinket_Method3.UF2 = Same Problem - Status LED blinks 10x

Then I try this one again: RCMX86_INTERNAL_SIMPLE_UF2_V099r4a.UF2

Finally looks like thats the old file "Step_1_Version_1_joycon.uf2" will work also with joycon functionality
(But I'm not 100% sure because someone report yesterday thats the right Joycon will lose sometimes the connection in inserted state)

Question: Why the Trinket UF2 files dosn't work on the trinket ?

I have no idea. Check the file sizes are 512kb.

They should work. It is definer something slightly amiss with your set up.

A few thousand people have used them without issue.

The only thing that is coming to mind is a poorly soldered GND wire. That could cause the problems you describe as I think I changed quite a bit from simple-uf2 to switchboot. (They both piss in the same pot however)

Check or replace your GND lead. Solder it to the pad immediately next to the battery connector. Trying to solder to the ground plane with a crap iron (or too cold) will give you a dry joint.

Please try that. :)
 

rogras

Well-Known Member
Newcomer
Joined
Apr 2, 2009
Messages
80
Trophies
1
Age
113
Location
TR
XP
531
Country
The only thing that is coming to mind is a poorly soldered GND wire.

I flash the chips on the PC befor I solder it.
So it can not be the GND. It must be an issue with the Trinket UF2 file. Every RCMX86 file will work - Every Trinket file will not ? What is the difference ?

Maybe do you have another file sizes for me to flash and check ?
 
Last edited by rogras,
D

Deleted User

Guest
I flash the chips on the PC befor I solder it.
So it can not be the GND. It must be an issue with the Trinket UF2 file. Every RCMX86 file will work - Every Trinket file will not ? What is the difference ?

Maybe do you have another file sizes for me to flash and check ?


Done over 300 trinket M0 mods all with these files and all work
 
D

Deleted User

Guest
Please confirm:

1) trinket_rebug_bootloaders\Step_1_Version_1_joycon.uf2
2) Switchboot_PART_2/Switchboot-V1.3.3/Switchboot Part 2 UF2/TRINKET_METHOD3_SWITCHBOOT_PART2_V133.UF2

?


After 1st file unplug usb and press button twice to get trinket detected again

You will see it say switchboot instead of trinket

Put 1.33 file

After that its all on your soldering / install
 

rogras

Well-Known Member
Newcomer
Joined
Apr 2, 2009
Messages
80
Trophies
1
Age
113
Location
TR
XP
531
Country
After 1st file unplug usb and press button twice to get trinket detected again

You will see it say switchboot instead of trinket

Put 1.33 file

After that its all on your soldering / install

thx I will give a try - After that I can place "payload.bin" on SD root like simple-uf2 ?
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
thx I will give a try - After that I can place "payload.bin" on SD root like simple-uf2 ?
Or if you like, use the new Fusee-UF2 v2.1 - Designed so updates to it aren`t required...

But yes. Simple-UF2, Switchboot and Fusee-UF2 will ALL boot payload.bin straightaway.
 

Sethtimus Prime

Well-Known Member
Member
Joined
Nov 16, 2012
Messages
101
Trophies
1
Age
40
XP
159
Country
United States
Dunno... Think the Eagle PCB files are out there somewhere. Get the ferric chloride & laser toner out and make some!

If you can get SAMD21E18, fit your own "stealth" chip underneath the console. That will put some hairs on your soldering chest!

I actually have one of those and a trinket m0 in my ebay watch list in case I decide to go with an internal mod. I was just curious about the rebug chip because someone above said it was the best/easiest to buy.
 
Last edited by Sethtimus Prime,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
I actually have one of those and a trinket m0 in my ebay watch list in case I decide to go with an internal mod. I was just curious about the rebug chip because someone above said it was the best/easiest to buy.
Nah... Can`t get them reliably since it all kicked off between evilsperm and the other one.

Enough Adafruit chips are supported, so getting chips should never ever be an issue.
 

medievale

Member
Newcomer
Joined
Jan 17, 2019
Messages
7
Trophies
0
Age
39
XP
122
Country
Spain
Hi @mattytrog... sorry for the inconvenience but i guess something was wrong about USB STRAP checking... i decided to flash trinket with Fusee-UF2 and read the file "Straps_info.txt" and 'voilá':

Payload Override: payload.bin

SAMD selection: payload1.bin

Mode: 1

USB: YES

VOL+: NO

Joycon: YES

Adafruit Trinket M0 SAMD21E18A

STRAP USB: YES!!
with Fusee-UF2, STOPS RCM ACCIDENTS works perfectly (re-inject payload when USB was ocuped, for instance).
With any recently TRINKET_SWITCHBOOT_PART2_V13X.UF2 not works, and your hekate mod for chips says USB: NO

Thanks so much
 
Last edited by medievale,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Hi @mattytrog... sorry for the inconvenience but i guess something was wrong about USB STRAP checking... i decided to flash trinket with Fusee-UF2 and read the file "Straps_info.txt" and 'voilá':

Payload Override: payload.bin

SAMD selection: payload1.bin

Mode: 1

USB: YES

VOL+: NO

Joycon: YES

Adafruit Trinket M0 SAMD21E18A

STRAP USB: YES!!
with Fusee-UF2, STOPS RCM ACCIDENTS works perfectly (re-inject payload when USB was ocuped).
With any recently TRINKET_SWITCHBOOT_PART2_V13X.UF2 not works, and your hekate mod for chips says USB: NO

Thanks so much
Ok sir. I will investigate in the morning. Very possible I could have missed something. Will make sure everything is ok tomorrow. I checked on a full strap and no strap consoles. But I could still have missed something. I'll fix and come back with more information tomorro
@medievale
EDIT: Indeed - You are correct. One command I missed... It is reading the old straps_info.txt after you have flashed Switchboot...

I`ll fix and update. May just do a silent bugfix or sort a bit more stuff out and do 1.3.5. We will see...

In the meantime, please delete straps_info.txt. That should correct things.
 
Last edited by mattytrog,

medievale

Member
Newcomer
Joined
Jan 17, 2019
Messages
7
Trophies
0
Age
39
XP
122
Country
Spain
Ok sir. I will investigate in the morning. Very possible I could have missed something. Will make sure everything is ok tomorrow. I checked on a full strap and no strap consoles. But I could still have missed something. I'll fix and come back with more information tomorro
@medievale
EDIT: Indeed - You are correct. One command I missed... It is reading the old straps_info.txt after you have flashed Switchboot...

I`ll fix and update. May just do a silent bugfix or sort a bit more stuff out and do 1.3.5. We will see...

In the meantime, please delete straps_info.txt. That should correct things.

Thank you so much for testing & reply. I will try this afternoon. Regards!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=KYZD7ykz9aQ