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,794
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
Has anyone considered using a feather m0 adalogger for a external solution? Inbuilt charger circuit & microsd.. seems ideal.

Rather then storing payloads in flash memory you could read directly off the microsd.

Yep. Under partial testing now. Some success...

Goes like this...

Connect switch SD card reader to SPI on MCU.

This allows us to use just the one SD card (the switch one). However, it is causing conflicts and other problems at the moment.
 

fOmey

Active Member
Newcomer
Joined
Jul 18, 2018
Messages
26
Trophies
0
Age
33
XP
236
Country
Australia
Yep. Under partial testing now. Some success...

Goes like this...

Connect switch SD card reader to SPI on MCU.

This allows us to use just the one SD card (the switch one). However, it is causing conflicts and other problems at the moment.
Shit, your going in much more hardcore that I anticipated.. well done.

I was only thinking a external dongle that runs off a small lipo battery that can be charged via usb port.
 

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
Shit, your going in much more hardcore that I anticipated.. well done.

I was only thinking a external dongle that runs off a small lipo battery that can be charged via usb port.

Thats easy. Wheres the fun in that? ;)

The SPI solution is working, the proof of concept works, though issues with exFAT (big issues) and card disconnecting / other gremlins.

Working through them. Might be successful, might not. Got too much other shit to get through first :(
 

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Actually, I think you are working too much on that multi payload thingy :P .
Next version of hekate should fit in approximately everything and load payload.

Thanks for your hard work anyways. It's a really nice thread (could be even nicer if I had the skills to apply it :P )
I'm looking into an external solution, don't want to f*ck up anything on the switch.
How would the itsy bitsy solution cost? Or it is still being worked on?
 
  • Like
Reactions: 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
Actually, I think you are working too much on that multi payload thingy :P .
Next version of hekate should fit in approximately everything and load payload.

Thanks for your hard work anyways. It's a really nice thread (could be even nicer if I had the skills to apply it :P )
I'm looking into an external solution, don't want to f*ck up anything on the switch.
How would the itsy bitsy solution cost? Or it is still being worked on?

Its still a WIP. They are about £10 :)
 

jouyduro

Active Member
Newcomer
Joined
Nov 4, 2016
Messages
44
Trophies
0
Age
26
XP
203
Country
Brazil
@mattytrog there's a new payload inside tomger sd files,
It's a hekate with sigpatches, its a .bin file.
How do I make it run in Trinket M0?
Is it easy to code to run this Payload, or can you add an ready code to OP to load this sig patched payload?

Thanks in advance <3
 

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
@mattytrog there's a new payload inside tomger sd files,
It's a hekate with sigpatches, its a .bin file.
How do I make it run in Trinket M0?
Is it easy to code to run this Payload, or can you add an ready code to OP to load this sig patched payload?

Thanks in advance <3

Here we go. Just drag contents of attached download over. CURRENT.UF2

:)
 

Attachments

  • TRINKET_newmethod123_hekate_sigpatch.zip
    263.2 KB · Views: 89
  • Like
Reactions: jouyduro

jouyduro

Active Member
Newcomer
Joined
Nov 4, 2016
Messages
44
Trophies
0
Age
26
XP
203
Country
Brazil
Here we go. Just drag contents of attached download over. CURRENT.UF2

:)

Wow! u're fast! :D
Thank you !!!
It's really going to help me <3

Ah and just to know,
which solder station do you recommend?
Right now I'm using the trinket outside, but I want to solder it in ;P
 

Eduba

Member
Newcomer
Joined
Aug 7, 2018
Messages
18
Trophies
0
Age
35
XP
201
Country
Germany
What about that Itsy Bitsy M0 thing? I have one lying arround here. Any Stuff i need? i would buy it in advance ;-)
 

mooglazer

Well-Known Member
Member
Joined
Jun 24, 2007
Messages
213
Trophies
1
XP
690
Country
United States
Present payloads: Hekate, SX Loader, memloader. Can change as necessary. Let me know in thread!

Supporting Hekate is a good choice. I would avoid doing anything official for anything other than mainline Hekate.

I'm happy to keep posting updates specifically for RajNX, since I've gotten a few PMs asking for updated RajNX payloads. I'm only able to assist with Method 1 + RajNX, since that's all I have any interest in supporting (and have time for).

Adafruit Itsy Bitsy M0 Express support

Always happy to see people pushing the limits of these little boards. Keep it up! I've got an order in for another interesting variant, can't wait to post an update once I do some testing, etc.
 
Last edited by mooglazer,
  • Like
Reactions: crow132

borngborn

Well-Known Member
Newcomer
Joined
Jun 6, 2018
Messages
72
Trophies
0
Age
33
XP
456
Country
United States
Just got back from vacation.

Here's the RajNXv074 compiled CURRENT.UF2.

Unrar, Drag and drop, and you're all set.

Hope this helps!

EDIT: Only tested with Method #1 (4-wire).
Hey is their a tutorial or can you point me in the direction where i can start compiling the U2F files from the payloads myself or are you using uf2tool

Sent from my SM-N950U using Tapatalk
 
Last edited by borngborn,
  • Like
Reactions: crow132
D

Deleted User

Guest
D
Just got back from vacation.

Here's the RajNXv074 compiled CURRENT.UF2.

Unrar, Drag and drop, and you're all set.

Hope this helps!

EDIT: Only tested with Method #1 (4-wire).


Does RajNX have ability to boot ofw like TX os?
 

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
@mattytrog as the creator/designer/whatever (don't know the word for that :P (idk if you based it on other install, too) of these method, how much would you pay to someone that is installing a trinket to get a reasonnable profit?
(asking to see what is overpriced/not)
(counting in that the work is tested,greetly done and offer other things, such as replacement)
 
Last edited by mariogamer,

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
@mattytrog as the creator/designer/whatever (don't know the word for that :P (idk if you based it on other install, too) of these method, how much would you pay to someone that is installing a trinket to get a reasonnable profit?
(asking to see what is overpriced/not)
(counting in that the work is tested,greetly done and offer other things, such as replacement)

I`d say $60 or £50 without SXOS :)
 

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
Hey is their a tutorial or can you point me in the direction where i can start compiling the U2F files from the payloads myself or are you using uf2tool

Sent from my SM-N950U using Tapatalk

I didn`t know there was a tool.

I do it manually. More fool me!
 

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
I`d say $60 or £50 without SXOS :)
Sorry to bother again Mind to explain what ddoes it include? (material stuff in general I assume?)

Also would it change a lot for a commerce that does it? (which means other things to pay, like employees, general company stuff,...)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: it looks like a little kids' game, and bunny (welcome btw) is looking for an uncensor patch