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

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,898
Country
United Kingdom
I'm trying to build the fusee (for part 2) uf2 myself, but the end result isn't working. I cloned your repo, compiled the .ino in main (with #define REBUG) with arduino, padded the resultant .bin to 262,144 bytes, converted to uf2 with this python script.

Then I flash your precompiled part 1 followed by the new part 2, but when I try to boot it gets into rcm but doesn't push the payload. Any ideas where I'm going wrong?

(Oh it wouldn't compile initially because INTERNAL_DS_DATA and INTERNAL_DS_CLK weren't defined for REBUG, I worked around it in two ways, first by disabling dotstar, second by copying those definitions from FEATHER, either way compiles fine but I'm stuck with the above problem.)
 

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'm trying to build the fusee (for part 2) uf2 myself, but the end result isn't working. I cloned your repo, compiled the .ino in main (with #define REBUG) with arduino, padded the resultant .bin to 262,144 bytes, converted to uf2 with this python script.

Then I flash your precompiled part 1 followed by the new part 2, but when I try to boot it gets into rcm but doesn't push the payload. Any ideas where I'm going wrong?

(Oh it wouldn't compile initially because INTERNAL_DS_DATA and INTERNAL_DS_CLK weren't defined for REBUG, I worked around it in two ways, first by disabling dotstar, second by copying those definitions from FEATHER, either way compiles fine but I'm stuck with the above problem.)

Hmmm...

First, is the resultant uf2 512kb in size?

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

Also... You will be better off instead of using the fusee-uf2, use the switchboot one and set default mode to 2
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,898
Country
United Kingdom
Hmmm...

First, is the resultant uf2 512kb in size?

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

Also... You will be better off instead of using the fusee-uf2, use the switchboot one and set default mode to 2
Yep, 524,288 bytes, same as your prebuilt ones.

I can try the switchboot one if you think it'll make a difference.
 

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
Yes try that. Shouldn`t make a difference though.

I build mine on-chip to ensure they are all good...

thing to check...In your UF2, when you have flashed it, within 2 seconds, look at LED. Is there a rapid flash?This is taking a reading of USB strap)
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,898
Country
United Kingdom
I figured out where I went wrong, herp derp - hex-edited your .bin vs mine and saw a different board name.... I didn't realise I had to add a url to get adafruit board definitions, so I just had it set to arduino m0. Got it set to trinket m0 now, which also fixed the undefined values I mentioned.

I was gonna say I still never managed to spot the led, but I just tried again and saw a red flash after holding the volume button for a while, sweet.

Thanks as always!
 
  • 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
I figured out where I went wrong, herp derp - hex-edited your .bin vs mine and saw a different board name.... I didn't realise I had to add a url to get adafruit board definitions, so I just had it set to arduino m0. Got it set to trinket m0 now, which also fixed the undefined values I mentioned.

I was gonna say I still never managed to spot the led, but I just tried again and saw a red flash after holding the volume button for a while, sweet.

Thanks as always!
Yeah you need the Adafruit defs Dave.

Just compiling for Armoured-dildo M0 won`t work.
 
  • Like
Reactions: hippy dave

Danatkin

Well-Known Member
Newcomer
Joined
May 14, 2019
Messages
47
Trophies
0
Age
38
XP
272
Country
United Kingdom
Might be a really silly question but can a 5v trinket be used?

Also although I may try myself is there anyone in the uk who can do this for a fee?
 

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
Might be a really silly question but can a 5v trinket be used?

Also although I may try myself is there anyone in the uk who can do this for a fee?
5v aren't suitable. Not m0.

I can fit it for you if you like. Based in midlands
 

plasticninjaguy

Member
Newcomer
Joined
Aug 7, 2019
Messages
10
Trophies
0
Age
23
XP
90
Country
Australia
(Originally posted in the other thread, but I remembered you weren't getting messages there, So Repost soz)

Well, it's me again.
So I ordered another Trinket M0 and retried the micro UBS port removal, with success. I installed the modchip successfully (I think) and when I power on the switch I see a flurry of lights. I went for the Dual Boot + SwitchBoot combo from the software thread, and I see different lights on the trinket when i press Power + Vol. up, however, regardless of what combo i use, the switch turns on to a backlit blank screen. I noticed continuity between pin 0 and ground on the trinket if that means anything. I currently have an SD card inserted with nothing on it, as I just wanted to see if the switch booted first
Thanks
Lloyd.

EDIT: I'm also no longer using the USB disconnect strap, as it seemed whenever i tried that the switch just wouldn't charge.
 

FunThomas

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
652
Trophies
0
XP
2,016
Country
Gambia, The
i have the modchip with perma_CFW version is there a way to get to maintenance mode of the switch to reinitialize the console ?
is it possible with dual boot CFW option to boot to maintenance mode ?
 

popy

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
255
Trophies
0
Age
39
XP
1,282
Country
Austria
@mattytrog thx for bringing updates for the Trinket M0.
I have an Older Version SwitchBoot, and it runs great.
Have lost the development progress, which was made here.

I have some questions regarding the latest updates up to 1.4.3.
Is the Nyx hekate GUI included in the firmware?
Have'nt found the info in the changelogs on OP.

Currently i am using hekate (your firmware) to chainload the XS-OS loader.
Is this also with the newer versions possible (and hold vol- to get into hekate)?

thx pOpY
 

ErAzOr

Active Member
Newcomer
Joined
Jul 1, 2018
Messages
29
Trophies
0
Age
43
XP
375
Country
Germany
@mattytrog What exactly does the USB strip do? Does is prevent the switch to stuck in RCM mode, after power off the console? So it doesn't drain the battery anymore?
 

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 thx for bringing updates for the Trinket M0.
I have an Older Version SwitchBoot, and it runs great.
Have lost the development progress, which was made here.

I have some questions regarding the latest updates up to 1.4.3.
Is the Nyx hekate GUI included in the firmware?
Have'nt found the info in the changelogs on OP.

Currently i am using hekate (your firmware) to chainload the XS-OS loader.
Is this also with the newer versions possible (and hold vol- to get into hekate)?

thx pOpY

Yep it's all possible.

Nyx isn't included (no room on chip). However, you can use nyx and press both Vol buttons on power on to override nyx.

@mattytrog What exactly does the USB strip do? Does is prevent the switch to stuck in RCM mode, after power off the console? So it doesn't drain the battery anymore?

The usb strap simply attempts to push a payload when you disconnect from usb. If you don't have this, and you have your chip in a perma cfw config, or autorcm, if you plug into usb when off, your console will go into rcm. And will stay there.

The usb strap corrects this by pushing payload once usb is free.
 
  • Like
Reactions: popy and peteruk

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
Just been having a thought...

Would anyone like me to make some SD images for different size SD cards which include correct partitions etc for triple-booting Android / Emummc / CFW?

The idea would be just download the compressed image (may include gapps and magisk too) flash to SD and you are away. Size would be a few hundred MB compressed...

Uncompressed would be the size of your chosen card of course.

Write with etcher or Win32diskimager.

You can then create an emunand/emummc and copy over your games etc...

Will it fly?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
    RedColoredStars @ RedColoredStars: The croissant crust is still available though, but not quite as good imo.