Hacking WIP [Trinket] [Rebug] [Others] SWITCHBOOT_UF2 / FUSEE_UF2 modchip software

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
Is there a way to turn off the trinket when not in use so that it doesn't kill the battery when off for an extended period of time?
It does it by itself. In deep sleep, power consumption is measured in uA.

Power consumption is basically nothing.
 

comat0se

New Member
Newbie
Joined
Oct 8, 2019
Messages
4
Trophies
0
Age
48
XP
92
Country
United States
I built an external gemma m0 dongle... I used this file from your github (just downloaded minutes ago) v1.51: generic_gemma_dongle.uf2
Hekate is booting up but it's saying 5.0.1?
Thanks for keeping this up to date!
 
Last edited by comat0se,

White_Raven_X

Hack everything, hack the world!
Member
Joined
Sep 23, 2019
Messages
628
Trophies
0
Age
45
XP
1,543
Country
Canada
I built an external gemma m0 dongle... I used this file from your github (just downloaded minutes ago) v1.51: generic_gemma_dongle.uf2
Hekate is booting up but it's saying 5.0.1?
Thanks for keeping this up to date!


I think you need to update your payload file, but @mattytrog will tell you for sure as I'm still new to this.
 

Helpswitchplease

Member
Newcomer
Joined
Aug 17, 2019
Messages
10
Trophies
0
Age
33
XP
95
Country
United Kingdom
All straps = Joycon, VOL+, USB Power on reset, USB data, PWR+ and GhND.

They are all straps.

Go to various points on the motherboard, to emulate putting a jig in and plugging in a payload pusher.

Hello.

I have an issue, I installed the Trinket m0. I installed the wires and everything.

I used this from part 1:
SWITCHBOOT_TRINKET_JOYCON_VOLUME.uf2

I used this for part 2: TRINKET.UF2

I flashed the trinket and it works fine with booting. I press the power and it goes into CFW and not OFW. I tried volume + power and that didn't work obviously. So I wanted to flash the chips again with the correct files this time.

When i press the reset twice and now connect it to my pc. it just says USB device not recognised, no matter how many times I tried.

I did sighly nug i believe the resistor near the 3.3v one and it came out of place, where you show on your diagram to connect. but everything was working fine with booting.

The other issue was on the trinket trace 2 actually teared off due to the wire i used. (When you remove the usb port, trace 2 from left to right) but i was able to still solder and connect a wire. Basically, all of it is done to your diagram but those were the only two mistakes i made. Nudging the resistor and with that trace? I'm wondering if it could be any of these? If it is the trace, is there anyway I could fix it? I see connection points at the back for + and - is that D+ and D- ?

Maybe I could just connect the wires there and it will work? Thought I'd ask you
 

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
OK... Quick trial of something here.

I`m slowly working through questions people so bare with me!

Attached is a UF2. A new feature I am testing.
Just for TRINKET at the minute. You MUST have the USB strap fitted to try this... If you don`t, obviously it won`t work. It will just be normal.


Flash this UF2 as usual, leave USB plugged in, again as usual so the chip can get a port reading...

Switchboot will load up. As usual.

In "Boot Options", you will see a new option "Power-off after USB disconnect".

If you enable this, you can now disconnect USB when in RCM mode and the Switch will power completely off, instead of rebooting to Switchboot menu. You will need an SD inserted.

Let me know if it works for you! It does here.
 

Attachments

  • CURRENT.zip
    152.5 KB · Views: 146
Last edited by mattytrog,

xstre pwnsx

Well-Known Member
Member
Joined
Nov 16, 2008
Messages
121
Trophies
1
XP
383
Country
United States
I have a weird issue.

I think that maybe just my joycon pin is soldered wrong.

I am using a trinket m0.

Ground is soldered from Gnd to the alternative ground near the switch battery wire.
Usb wires are in the normal location.
vol+ is soldered to point 0.
3 volt is on the underside of the nand chip
Point 3 on trinket is soldered to pin 10 on the physical joycon rail.

I can not figure out how to use the trinket to enter RCM.
the data wires, ground, and 3v are working because I can update the trinket UF2 from the usb-c port on the switch.
The vol+ is working because when I press it, the trinket has a red led turn on.

The means there must be something wrong with the joycon strap.
I am using the tiny gauge magnetic wire for this one.
I tried:
All three joycon strap points and trimming the magnetic wire shorter.

The only way I can enter RCM is to pull the nand, and after power on and reinsert, I am greeted with hekate pushed by the trinket.

Any ideas as to what I might be doing wrong?

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



Nevermind, I just replaced with a thicker wire and now it works. Weird.

Thicker wire on the whole modchip, or just the joycon strap? I'm having issues as well with thin magnet wire.
 

xstre pwnsx

Well-Known Member
Member
Joined
Nov 16, 2008
Messages
121
Trophies
1
XP
383
Country
United States
@mattytrog I wired up an itsbitsy with switchboot on it, right now it's behaviour is flashing red lights and boots into normal horizon with pwr button, pwr and volume + goes to a black screen. I checked to see if I could flash over usb and at one point I could view the switchboot folder, but now windows says it can't identify the connected usb device. Any advice for trouble-shooting?
Should mention lots of flashing red lights
 

eliasrs

Active Member
Newcomer
Joined
Oct 14, 2019
Messages
34
Trophies
0
Age
30
XP
84
Country
Norway
@mattytrog
Got it running via an external trinket connected to the switch with USB-C!

However, to inject payload I have to press the reset button on the Trinket once. Is this normal?
 

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,378
Trophies
1
Age
37
XP
3,866
Country
United States
Question:

I saw the following line on the first page under the Fusee-UF2 section:
VOL- and PWR - PREVENT autoboot of "payload.bin" or "payload1.bin" (or indeed "payload2.bin"... ...) and launch a "tool" payload.

Now let's say I use Hekate as payload.bin and have bootwait set to 0. In the readme it says:
0: Disable (It also disables bootlogo. Having VOL- pressed since injection goes to menu.), #: Time to wait for VOL- to enter menu.

How would be I be able to enter Hekates menu on boot, if PWR and VOL- is already set by Fusee-UF2 to not launch a payload.bin ?
 

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 I wired up an itsbitsy with switchboot on it, right now it's behaviour is flashing red lights and boots into normal horizon with pwr button, pwr and volume + goes to a black screen. I checked to see if I could flash over usb and at one point I could view the switchboot folder, but now windows says it can't identify the connected usb device. Any advice for trouble-shooting?
Should mention lots of flashing red lights

I think you have dropped the wrong UF2 for part 2 on there. Part 1 appears correct as its entering RCM.

@mattytrog
Got it running via an external trinket connected to the switch with USB-C!

However, to inject payload I have to press the reset button on the Trinket once. Is this normal?


Depends what file you are using for external. It will timeout after so long and go to sleep, necessating a reset press.
Question:

I saw the following line on the first page under the Fusee-UF2 section:


Now let's say I use Hekate as payload.bin and have bootwait set to 0. In the readme it says:


How would be I be able to enter Hekates menu on boot, if PWR and VOL- is already set by Fusee-UF2 to not launch a payload.bin ?

Because both VOL buttons overrides all.

Press both vol buttons - it stops payload.bin, autoboot and nyx.

From power off, hold both vol buttons and press power until menu pops up.

EDIT: I see you are using fusee-uf2... and you are using standard Hekate? Normal Hekate is just vol- to override autoboot.
 
Last edited by mattytrog,

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,378
Trophies
1
Age
37
XP
3,866
Country
United States
EDIT: I see you are using fusee-uf2... and you are using standard Hekate? Normal Hekate is just vol- to override autoboot.

Correct, but let's say I want to enter Hekate menu on power up - so I hold VOL- and press PWR.
According to the first page, this would disable loading the payload.bin (hekate) on boot - so I would never reach hekates menu, if it doesn't load.

Isn't that a conflict?
 

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
Correct, but let's say I want to enter Hekate menu on power up - so I hold VOL- and press PWR.
According to the first page, this would disable loading the payload.bin (hekate) on boot - so I would never reach hekates menu, if it doesn't load.

Isn't that a conflict?
That doesn`t apply to Fusee-UF2. Fusee-UF2 always has payload.bin enabled.

So the boot chain would go...

Power-on > Fusee-UF2 (look for payload.bin) > found > boots payload.bin(Hekate) > If payload.bin in my Hekate is NOW disabled, the menu will show, or autoboot will continue.
 
  • Like
Reactions: FR0ZN

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,378
Trophies
1
Age
37
XP
3,866
Country
United States
That doesn`t apply to Fusee-UF2. Fusee-UF2 always has payload.bin enabled.

So the boot chain would go...

Power-on > Fusee-UF2 (look for payload.bin) > found > boots payload.bin(Hekate) > If payload.bin in my Hekate is NOW disabled, the menu will show, or autoboot will continue.

Thanks!

Then the information on the first page doesn't seem correct I fear :(
 

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,378
Trophies
1
Age
37
XP
3,866
Country
United States
Probably. You have to remember, I have idiotitis.

LOL, no worries :D

I wonder however, if you have any plans to make a real barebones UF2, that just looks for payload.bin on the SD card root.
Barebones == no buttons combos, no strap info, no license gen, no nothing - just something that loads payload.bin if it exists and that's it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: they be like which lite firefox exe pls