Tutorial  Updated

Trinket Internal Install.

Here's A Guide To Installing The Trinket M0 Into The Switch.

Program The Trinket Before You Remove The Usb Port, Saves You Doing It After You Complete The Install.

First Thing To Do Is Remove The Usb Port From The Trinket, If You Have A Hot Air Wand Then Use That To Remove The Port It Will Reduce The Risk Of Damage To The Pads.

usb intact.jpg


Now That The Usb Port Has Been Removed You Want To Solder Wire To The Data Pads, White = Data- And Green Data+ In This Guide.

Now Solder Wire To The Bat Pad = Red, Gnd Pad = Black, Pad 4 = Orange & Pad 3 = Brown In This Guide.

Also Remove The Resistor Next To The Ppower Led Mark Out In Purple In This Guide.
Trinket Points.jpg


When You Have The Trinket All Prepared, You Can Now Proceed To The Install To The Switch.
trinket install points.jpg


Once The Install Is Completely Done Then Clean Up The Points You Have Soldered To Using Isopropyl And Cotton Buds/Q-Tips.
Finished.jpg



Alternative Point For Pad 4.

Altternative Pad 4 Point.jpg


Alternative Points For Joycon Rail Pin 10.

If You Decide On Using This Alternative Point Then Use Enamel Coated Jumper Wire 0.10mm.

Alt Joycon Rail Pin 10 Point.jpg


Remember Take Your Time It's Not A Race lol. Rushing Can Lead To Mistakes.

Tools Required.

Kynar Wire 30 AWG.
Soldering Iron.
Hot Air Wand For Usb Port Removal(Optional)
Isopropyl.
Cotton Bud/Q-Tips.
Flux.
Solder.
Enamel Jumper Wire (Optional)


Thanks And Credit Goes To Xboxexpert For This Solution.

I Think That Covers Everything.

EDIT..

here's another method for the install of the trinket, this method does away with the pad 4, as some may find it tricky to solder to the cap used on the mobo.

the rst pad is used instead and the wire is linked to the power button, Also this has a bonus that you can double press the power button to put the trinket into boot loader mode for uploading a new payload.

of course you don't have to use the rst pad at all, you can't just press power button and volume up button, then press reset button for rcm mode.

this method should be ok for the novices.

install at your own risk.

another install.jpg


the pad on the power button to use.

power button point.jpg


i have one more method to try but I really think this one is not to bad method.

the more methods the better I say, of course to try and make it as easy as possible for pros and novices.

EDIT...
another method for the install of the trinket.

this method is basically same as all other methods, just a different points uses for the bat pad and rst pad.

this install will allow you to have the trinket power off when you fully power off the switch.

double press the reset button on the trinket to get into boot loader mode, this may take a couple of attempts to do.

the payload that you use already will work with this method no need for new ones.

here's the diagram for method 3, you could possibly have this as a 4 wire install, if you install auto rcm mode, but as my sd card module port is buggerd I couldn't test that out.

twinket power off.jpg


ok it seems method 3 needs auto rcm installed for it to work without the need to use the rst pad

so for them that don't want to use auto rcm mode then solder a wire from rst pad to the point on the power button, and use pad 3 to the pin 10 on the joycon rail or one of the alt points on mobo.

beware the alt points are small so use at your own risk.

ok anyone with changing issues test these 2 points, you should get 5v on the usb port side, and around 3.2v on the switch side.

if your getting the volts on the switch side that are fluctuating up & down then replace the part with the v on top it's a diode, you want one that fits so the actual size is either 0402 or 0603 in dimension (i'm using 0402/0603 as an example for size purpose only)

around page 16 has more info about this component..

dont come moaning if you damage your console doing this install, i'm not responsible for you opening or taking a soldering iron to your console.
you do this at your own risk any damage is down to yourself.


charger_issue_volts.jpg


another thing if your trinket starts to get very hot to the point you can't touch it, then the atmel ATSAMD21E18A-U ic is on it's way out, so you will need to replace the ic or just replace your trinket.

at some point it wont power up after this has happened.
1 = gets very hot.
2 = reset starts to become tempermental .
3 = dead
4 = fix replace the atmel ATSAMD21E18A-U ic

edit

added uf2 drag and drop files for r4 trinket gemma dongles or for a 4 wire internal install.

atmosphere
hekate 4.2
Sxos
rajnx
reinx
 

Attachments

  • Trinket All In One.jpg
    Trinket All In One.jpg
    123.9 KB · Views: 4,028
  • Trinket-R4-Gemma-D&D-Files.zip
    421.3 KB · Views: 576
Last edited by M-O-B, , Reason: added updated uf2 file.

LucidPixel

New Member
Newbie
Joined
Jul 8, 2018
Messages
1
Trophies
0
Age
39
XP
103
Country
United States
OK, so I did your first method. Everything works fine and dandy. But I just want to clarify something...So this method continuously feeds power to the Trinket ALWAYS? As in, if I put the switch into Sleep Mode, the trinket is still receiving power, therefore draining the battery? What about when the machine is completely shut down...does the trinket still consume power. Or is this the best way to conserve battery power, by turning it completely off every time? OR...do you know have a best case solution with your latest method (that you just haven't posted the diagrams for) that allows turning on and off the trinket at will, but also allowing you to get into bootloader mode for further flashing? Sorry for all the questions...I just couldn't find all the answers rummaging through this thread. Thank you!!
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
I'm am really hoping you can help me

My trinket onmly shows up as usbtiny. I cannot upload to it. I downloaded the drivers and the boards but no com port.

double press the reset button then it will show up as trinketboot, then you can upload to it.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
OK, so I did your first method. Everything works fine and dandy. But I just want to clarify something...So this method continuously feeds power to the Trinket ALWAYS? As in, if I put the switch into Sleep Mode, the trinket is still receiving power, therefore draining the battery? What about when the machine is completely shut down...does the trinket still consume power. Or is this the best way to conserve battery power, by turning it completely off every time? OR...do you know have a best case solution with your latest method (that you just haven't posted the diagrams for) that allows turning on and off the trinket at will, but also allowing you to get into bootloader mode for further flashing? Sorry for all the questions...I just couldn't find all the answers rummaging through this thread. Thank you!!

the trinket stays on continuous in every method, but is uses very little battery life, around 1% from what I've tested over past few days.

my newest method is the same only difference is, when you actually full power off the switch it turns the switch off also.

you double press the reset button on the trinket to get into boot loader mode for uploading or flashing new payloads.

the new method does not shut off the trinket at will only when you fully power off the switch, it still power on in sleep mode but once the trinket has loaded the payload on boot up then the trinket is in sleep mode according to the sketch that we all use, to my understanding that just means the leds are not lit up, set to black in the code so uses no or next to none power.

I wouldn't bother about the trinket behaviour when it's in sleep mode really, the only thing is the code may wake up the trinket from time to time, basically the leds will blink on the odd occasion.

but then I could be totally incorrect on how the code works.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
I double tapped and I get device not recognized

it should show 2 red leds when in boot loader mode, then turn green once you connect the usb from pc to switch, whenever I put the trinket into boot loader mode it set the leds red, I then plug the usb lead in, then you get green leds and the trinketboot pops up.
 
Last edited by M-O-B,

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
Yeah idk what to do. I have the drivers stated just shows usbtiny

--------------------- MERGED ---------------------------

And there isn't an actual trrinket driver.

--------------------- MERGED ---------------------------

it should show 2 red leds when in boot loader mode, then turn green once you connect the usb from pc to switch, whenever I put the trinket into boot loader mode it set the leds red, I then plug the usb lead in, then you get green leds and the trinketboot pops up.
Do you have the trinket m0?

--------------------- MERGED ---------------------------

I guess I will buy a new one.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
Yeah idk what to do. I have the drivers stated just shows usbtiny

--------------------- MERGED ---------------------------

And there isn't an actual trrinket driver.

--------------------- MERGED ---------------------------


Do you have the trinket m0?


Yeah idk what to do. I have the drivers stated just shows usbtiny

--------------------- MERGED ---------------------------

And there isn't an actual trrinket driver.

--------------------- MERGED ---------------------------


Do you have the trinket m0?

--------------------- MERGED ---------------------------

I guess I will buy a new one.

right let's start over have you removed the usb port from the trinket, and installed it into your switch?

and to answer your question yes I have a trinket m0.
 

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
right let's start over have you removed the usb port from the trinket, and installed it into your switch?

and to answer your question yes I have a trinket m0.
No, I am doing this externally as a dongle. I connect the ish and it appears to be in bootloader and times out after 10 seconds. But won't show up as everything other than usbtiny unless I uninstall the usbtiny driver then it says trinket but no driver.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
No, I am doing this externally as a dongle. I connect the ish and it appears to be in bootloader and times out after 10 seconds. But won't show up as everything other than usbtiny unless I uninstall the usbtiny driver then it says trinket but no driver.

download this and run it

https://github.com/adafruit/Adafrui...s/download/2.2.0/adafruit_drivers_2.2.0.0.exe

once you get to this screen it should show the top 3 ticked, if you want to you can tick the rest of the boxes then click install.

don't have the trinket plug in to pc till you have completed the install.

flora_driver-installer-v2000.png


this is what I use and every trinket has worked fine.
 

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
download this and run it

https://github.com/adafruit/Adafrui...s/download/2.2.0/adafruit_drivers_2.2.0.0.exe

once you get to this screen it should show the top 3 ticked, if you want to you can tick the rest of the boxes then click install.

don't have the trinket plug in to pc till you have completed the install.

View attachment 135014

this is what I use and every trinket has worked fine.


I will uninstall the drivers and reinstall.

--------------------- MERGED ---------------------------

Do yours always show up as usbtiny at first?

--------------------- MERGED ---------------------------

Still usbtiny. I removed all drivers and reinstalled.

--------------------- MERGED ---------------------------

Do you happen to have driver signature disabled in bios?
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
I will uninstall the drivers and reinstall.

--------------------- MERGED ---------------------------

Do yours always show up as usbtiny at first?

--------------------- MERGED ---------------------------

Still usbtiny. I removed all drivers and reinstalled.

when you first get the trinket and plug it in, it auto pops up with something but can't remember exactly but it has folders on it with drivers and some other crap.

you then double press the reset button and then TRINKETBOOT pops up, you should have the green power led, the led in the middle if the trinket should be green, and the last led should be red.. maybe try a different usb lead.
 

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
I'm going to try on my desktop. For whatever reason when it should pop up as it says unknown device. But regular mode is usbtiny.

--------------------- MERGED ---------------------------

when you first get the trinket and plug it in, it auto pops up with something but can't remember exactly but it has folders on it with drivers and some other crap.

you then double press the reset button and then TRINKETBOOT pops up, you should have the green power led, the led in the middle if the trinket should be green, and the last led should be red.. maybe try a different usb lead.
I don't see any folders.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
updated op with diagram for method 3 you could possibly just do it with 4 wires, data wires, bat and gnd wires only, but that would require auto rcm installed, which I couldn't try due to sd card module port being buggerd.

Fuck me. It's a mini 3.3v. They sent me the wrong one. I'm being sent the right one tuesday

bloody hell crap when that happens. hopefully when the correct one turns up it'll be straight forward.
 

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
updated op with diagram for method 3 you could possibly just do it with 4 wires, data wires, bat and gnd wires only, but that would require auto rcm installed, which I couldn't try due to sd card module port being buggerd.



bloody hell crap when that happens. hopefully when the correct one turns up it'll be straight forward.
The mini is known for iffy bootloader on usb 3.0. I also have a gemma m0 coming to try as well.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
The mini is known for iffy bootloader on usb 3.0. I also have a gemma m0 coming to try as well.

gemma m0 will work fine or it should do.

I'm trying to find a place for these tiny things, if I get one and it works then that's what will be in my new switch.

Pins.jpg


I'm holding of opening my new switch till I've tried some other devices, I may even get the tx sx pro dongle to try out installed, and see if it can be programmed with other payloads.
 
  • Like
Reactions: Lazaruskeen

Lazaruskeen

Member
Newcomer
Joined
Jul 8, 2018
Messages
17
Trophies
0
Age
35
XP
116
Country
United States
gemma m0 will work fine or it should do.

I'm trying to find a place for these tiny things, if I get one and it works then that's what will be in my new switch.

View attachment 135028

I'm holding of opening my new switch till I've tried some other devices, I may even get the tx sx pro dongle to try out installed, and see if it can be programmed with other payloads.

I'm just going to use a 3volt 2032 on the back.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@M.O.B

I can see a couple of issues with your new install method:

1: You're connecting a 3.2 volt supply to the bat pin - this voltage then goes though a Diode, which drops the voltage by 0.6 volts - so you're now supplying only 2.6v to the voltage regulator. If you look at the trinket - the 3v pin is connected to the 3.3v output of the voltage regulator - you should connect to that instead of bat - that way, you'll get better stability from the trinket.

2: You don't need to connect the reset pin to anything if you're using the switch on the trinket - as it gets a ground from the ground from the trinket - which is already soldered to ground (I hope, as you never showed that on your drawing), that's why you're having problems putting the switch into bootloader mode sometimes.
 
Last edited by mrdude,
  • Like
Reactions: M-O-B

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
@M.O.B

I can see a couple of issues with your new install method:

1: You're connecting a 3.2 volt supply to the bat pin - this voltage then goes though a Diode, which drops the voltage by 0.6 volts - so you're now supplying only 2.6v to the voltage regulator. If you look at the trinket - the 3v pin is connected to the 3.3v output of the voltage regulator - you should connect to that instead of bat - that way, you'll get better stability from the trinket.

2: You don't need to connect the reset pin to anything if you're using the switch on the trinket - as it gets a ground from the ground from the trinket - which is already soldered to ground (I hope, as you never showed that on your drawing), that's why you're having problems putting the switch into bootloader mode sometimes.

yeah I know I can use 3v point I just forgot to add that as I was busy while doing the diagram, on the reset I'm sure I tried it without the rst connected and it wouldn't go into rcm mode, but will check that again multi tasking not my best point so I forget or overlook stuff.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Or Genesis.