Hacking COMPLETED BASIC MODCHIP / DONGLE UF2 SD BOOT FILES. Trinket / Rebug / RCMX86 / Others

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
Nono. I try to use the build in hekate. Which i have currently running using those 2 files:
1. Version_1_trinket_rebug_joycon_only.uf2
2. trinket_rebug_hekate_chainloader_beta.UF2

But after flashing (mode2.UF2) nothing will happen until i reflash the old stuff.
Maybe i have the wrong files

OK. I`ll investigate. Be right back!

EDIT: Confirmed. No idea what happened there. Will re-up the files today. Use your old setup until later on.
 
Last edited by mattytrog,
  • Like
Reactions: slinso

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
48
Website
www.xbins.org
XP
1,857
Country
United States
Was trying to update a accidentally updated to 6.2.0 OFW mod. At first i was scratching my head wondering how they got into OFW, but then i remembered that a updated bootloader unbricks boot and disables autorcm.

I've updated it to
https://github.com/mattytrog/All-In...-for-SAMD-21-modchips/tree/master/UF2/Trinket

but im getting a black screen. Since this is 6.2.0, as I understand it the only payload that currently works is the fusee-primary for atmosphere?

What is the correct UF2 to use for the atmosphere fusee-primary ? I've gone through the thread a few times and tried to figure it out but don't see anything except hekate or chainloading? Sorry, there has been a lot of changes since I last looked at this thread.

Thanks :)
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
Was trying to update a accidentally updated to 6.2.0 OFW mod. At first i was scratching my head wondering how they got into OFW, but then i remembered that a updated bootloader unbricks boot and disables autorcm.

I've updated it to
https://github.com/mattytrog/All-In...-for-SAMD-21-modchips/tree/master/UF2/Trinket

but im getting a black screen. Since this is 6.2.0, as I understand it the only payload that currently works is the fusee-primary for atmosphere?

What is the correct UF2 to use for the atmosphere fusee-primary ? I've gone through the thread a few times and tried to figure it out but don't see anything except hekate or chainloading? Sorry, there has been a lot of changes since I last looked at this thread.

Thanks :)
Problem with the files. Not to sure what's happened. I've messed something up adding a new feature. Haven't had chance to debug it yet.

Use version 2 in the meantime
 

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
48
Website
www.xbins.org
XP
1,857
Country
United States
Problem with the files. Not to sure what's happened. I've messed something up adding a new feature. Haven't had chance to debug it yet.

Use version 2 in the meantime

Ok. So i've not used this version before and im unfamiliar with it. If im understanding correctly i take my fusee-primary.bin and rename it to 0.nx and put it in the 0 folder? I've downloaded the 0.zip file and put all of it in /0/ on my sdroot and then renamed the new fusee-primary to 0.nx

it still gives a black screen?

I've verified sending the same bin through regular usb (not trinket) boots it ok.

I tried booting without the 0 folder and got the error s2 files missing. I found a old .zip with the s2 files and put them in the 0 folder. Unsure if this causes issues.
Edit - removing s2 files results in the same error. Having them present = black screen .

trinket currently has this UF2 installed, which I assume is the latest version 2?

https://github.com/mattytrog/GBATEM...Trinket_REBUG_SwitchME/TRINKET_REBUG_SHAX.UF2

Since flashing the above UF2 i can no longer get a trinketboot drive to pop up. It shows up in device manager under ports as UF2 bootloader with a port assigned, but the mass media storage driver/function doesn't seem to be working. So i guess im stuck at this version, bah.
 
Last edited by iriez,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
Ok. So i've not used this version before and im unfamiliar with it. If im understanding correctly i take my fusee-primary.bin and rename it to 0.nx and put it in the 0 folder? I've downloaded the 0.zip file and put all of it in /0/ on my sdroot and then renamed the new fusee-primary to 0.nx

it still gives a black screen?

I've verified sending the same bin through regular usb (not trinket) boots it ok.

I tried booting without the 0 folder and got the error s2 files missing. I found a old .zip with the s2 files and put them in the 0 folder. Unsure if this causes issues.
Edit - removing s2 files results in the same error. Having them present = black screen .

trinket currently has this UF2 installed, which I assume is the latest version 2?

https://github.com/mattytrog/GBATEM...Trinket_REBUG_SwitchME/TRINKET_REBUG_SHAX.UF2

Since flashing the above UF2 i can no longer get a trinketboot drive to pop up. It shows up in device manager under ports as UF2 bootloader with a port assigned, but the mass media storage driver/function doesn't seem to be working. So i guess im stuck at this version, bah.

I'm going to work on it this evening. Things are rather a mess and I haven't had chance to rewrite the faulty bit of code yet.

But my git is going to be cleaned right up. Things are far too messy and fragmented at present.
 

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
48
Website
www.xbins.org
XP
1,857
Country
United States
I'm going to work on it this evening. Things are rather a mess and I haven't had chance to rewrite the faulty bit of code yet.

But my git is going to be cleaned right up. Things are far too messy and fragmented at present.


I finally got a old .ino i used previously to work, so just resolved it this moment. Im not sure why 99% of the time trinketboot doesn't show up, but its a weird situation i've had happen so many times I wish I could figure it out. Flashing with arduino is so hit/miss , but at least I can get it to work after trying 4-5 times. I constantly get 'port not found' even though device manager shows it as active, but if i unplug/replug and re-double tap gnd to rst enough times it will eventually work.

Thanks :)
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
OK. Bit of a disaster here...

Cleaning up my git...

I`ve managed to replace all my working code for bugged code. And my recycle bin is now empty.

ShaXLauncher and Chainloader are working fine as you would expect. The rest aren`t.

Something gone badly wrong so a rewrite is needed.

I`m going to rewrite the code from scratch. I didn`t like the way it was implemented anyway.
 

Acide0

Well-Known Member
Newcomer
Joined
Aug 21, 2016
Messages
83
Trophies
0
Age
44
XP
451
Country
Canada
Hi, I have a trinket install with method 3 (the permanent 5v) and the uf2 chainloader with the 0 folder ans the start.bin payload(reynx). I want to start the latest atmosphere but it gave me a blackscreen. Do I really need to change my wires on my trinket to be able to launch it ?
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
Hi, I have a trinket install with method 3 (the permanent 5v) and the uf2 chainloader with the 0 folder ans the start.bin payload(reynx). I want to start the latest atmosphere but it gave me a blackscreen. Do I really need to change my wires on my trinket to be able to launch it ?
No. The files are broken at the moment. You can use the ShaXLauncher from the OP... Boot Hekate and run Atmosphere from there.

I`m redoing the loader as I have lost my source code!
 

Acide0

Well-Known Member
Newcomer
Joined
Aug 21, 2016
Messages
83
Trophies
0
Age
44
XP
451
Country
Canada
New
ok so I could not launch directly atmosphere without launching hekate for the moment ?

After redoing your loader would I need to change the wiring ?

To use the .nx file do I need to flash the trinket with the new loader that you are working on ?

I'm sorry for does questions I want to be sure that I understand.
 
Last edited by Acide0,

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
48
Website
www.xbins.org
XP
1,857
Country
United States
New
ok so I could not launch directly atmosphere without launching hekate for the moment ?

After redoing your loader would I need to change the wiring ?

To use the .nx file do I need to flash the trinket with the new loader that you are working on ?

I'm sorry for does questions I want to be sure that I understand.

You can flash the fusee-primary directly to the trinket using a .ino file + arduino. I did it yesterday, but then reflashed hekate on the off chance that I would ever need to boot stock OFW. If you decide to use one of the UF2 files with hekate (unsure if there is a UF2 with a updated fusee-primary from atmosphere) just put this in your hekate_ipl.ini along with the fusee-primary.bin in /bootloader/payloads/ -


[config]
autoboot=1
autoboot_list=0
bootwait=5
customlogo=1
verification=2
backlight=100
autohosoff=1

{--- Atmosphere ---}
{Boot that shit.}
{ }
{- Atmosphere Release -}
[Atmosphere 0.8.1]
payload=bootloader/payloads/fusee-primary.bin
{ }
{omg i has booted it}


I prefer this method as it gives you more options. hekate 4.2 works fine to launch atmosphere through autolaunch.

mattytrog - I would like to make a request that when you post updated UF2 files, can you also post the .ino files for those of us who need them? Perhaps its my PC's chipset, but I constantly struggle to get trinketboot to pop up. I usually end up using older code in .ino files to resolve, but it would be great if I could keep up with the changes. Thanks!
 
Last edited by iriez,

noX1609

B9S freak ;)
Member
Joined
Aug 30, 2016
Messages
477
Trophies
0
Age
32
XP
466
Country
Germany
@mattytrog: If i‘m using the multipayload version you hab in the past (UF2 File where the mode can be selected via Hex Edit) this still works or is there also a bug in it or is it only the all in one version which makes problems? Because i use this with the Mode with 0.nx and start.bin in 0 Folder but want to change the mode back to the 3 Payload. I mean there version where we can cycle throw payloads by hitting the reset button on Trinket. It was with 2 different .uf2 Files one for the bootloader and one for the chainloader, hope you know which version i’m talking about :) Just saw that post here and thought i better ask before doing anything wrong and it‘s not working after that :)
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
@mattytrog: If i‘m using the multipayload version you hab in the past (UF2 File where the mode can be selected via Hex Edit) this still works or is there also a bug in it or is it only the all in one version which makes problems? Because i use this with the Mode with 0.nx and start.bin in 0 Folder but want to change the mode back to the 3 Payload. I mean there version where we can cycle throw payloads by hitting the reset button on Trinket. It was with 2 different .uf2 Files one for the bootloader and one for the chainloader, hope you know which version i’m talking about :) Just saw that post here and thought i better ask before doing anything wrong and it‘s not working after that :)
The modeswitch version, I have lost my sources. Catastrophic hard disk failure of all my code snippets. So I made another version that has the black screen bug. To make matters worse, I pushed to my git all versions with the bug. As I thought I had sorted it. But the bug is almost like memory was getting overwritten.

So new version is in the works. One version across both of my threads. Once complete, all of the others will be irrelevant. I'll still keep the others though.

How did all this calamity start? Because Atmosphere wasnt booting with the O folder.

So I've asked a mod to close this thread in the meantime while I get my shit together.

My fault for not having my old backups. But Mattytrog being a smart arse, thought they were irrelevant.

See this is why I packed up coding in the early 90s. Inherent disorganization in my primitive brain...

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

You can flash the fusee-primary directly to the trinket using a .ino file + arduino. I did it yesterday, but then reflashed hekate on the off chance that I would ever need to boot stock OFW. If you decide to use one of the UF2 files with hekate (unsure if there is a UF2 with a updated fusee-primary from atmosphere) just put this in your hekate_ipl.ini along with the fusee-primary.bin in /bootloader/payloads/ -


[config]
autoboot=1
autoboot_list=0
bootwait=5
customlogo=1
verification=2
backlight=100
autohosoff=1

{--- Atmosphere ---}
{Boot that shit.}
{ }
{- Atmosphere Release -}
[Atmosphere 0.8.1]
payload=bootloader/payloads/fusee-primary.bin
{ }
{omg i has booted it}


I prefer this method as it gives you more options. hekate 4.2 works fine to launch atmosphere through autolaunch.

mattytrog - I would like to make a request that when you post updated UF2 files, can you also post the .ino files for those of us who need them? Perhaps its my PC's chipset, but I constantly struggle to get trinketboot to pop up. I usually end up using older code in .ino files to resolve, but it would be great if I could keep up with the changes. Thanks!
The ino files are always on my git :)
 
  • Like
Reactions: iriez

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
48
Website
www.xbins.org
XP
1,857
Country
United States
The ino files are always on my git :)

I see a main.ino here - https://github.com/mattytrog/All-In...auncher-for-SAMD-21-modchips/tree/master/main

But I cannot tell what version that is for? For example under /master/ you have a folder for each hardware variant. So it makes it logical to understand which UF2 is for which hardware. But for the main.ino I only see one, and its just in the /master/main ?

If you could post the main-mode1.ino and main-mode2.ino under /tree/master/UF2/Trinket for example, that would make things a lot easier!

Thanks!
 
General chit-chat
Help Users
    Skelletonike @ Skelletonike: 1H left, such a slow week.