Quantum-cross / sam-fusee-launcher-internal

Internal Fusee Launcher for the Adafruit Trinket M0
GNU General Public License v2.0
151 stars 25 forks source link
fusee-gelee modchip nintendo rcm switch trinket-m0

sam-fusee-launcher-internal

Fusee Launcher for the adafruit trinket m0 board. Based on sam fusee launcher by atlas44 and the fork by noemu.

Build and tested with Arduino SDK.

I created this fork to create an internal Trinket M0 mod. This chip will pull down the RCM_STRAP when the switch turns on, and then once it detects RCM mode it will upload a payload and go to sleep. If it cannot find RCM mode it will also simply go to sleep.

If you expose a reset wire outside the switch or put a magnetic or physical button on the switch you can put the trinket into bootloader mode and flash a new payload without opening it again. It's pretty hacky but it kind of works.

Once an open source chainloader payload is released, reflashing the trinket shouldn't be necessary anymore.

This installation is NOT for the faint of heart. It requires soldering to one end of an extremely small capacitor.

Additionally, this is all experimental, there are some issues (see below).

This code and these instructions are distributed with no warranty or support. You are responsible for your own actions. Only perform this if you have the skills and equipment to do so.

Software Installation

Go through trinket m0: arduino-ide-setup and trinket m0: arduino-ide-setup2 and read very carefully.

Summary:

Double click the reset button on the trinket -- the center LED should turn RED. Connect the Trinket m0 to your computer -- the center LED should turn GREEN, and should see a USB mass storage device called TRINKETBOOT

Your computer should detect the Trinket m0 automatically (On win7 install this driver)

Got to Tools > Port and select your conneted trinket m0

Download this Repository, open main/main.ino with Arduino IDE.

Then Verify/Compile (Ctrl + R) If no errors appear Upload (Ctrl + U).

The trinket is ready for installation.

LED is:

Update the Payload

Download your favorite payload as a .bin file. Run the python script tools/binConverter.py with the path to the file as an argument: python binConverter.py "C:\pathToMyPayload\hekateNew.bin or just drag the .bin file on the script

In the same folder as the .bin file is located, a new .h file should appear. Copy the new file to the main folder and in the main.ino go to line 6 #include "hekate_ctcaer_2.3.h" and rename it to your new file #include "hekateNew.h"

Then just compile and upload.

Installation into the Nintendo Switch

See INSTALL.md

Reflashing the Trinket while installed

This is hacky and may not work forever, but somehow it works:

Issues

Install Picture

xboxexpert's installation

Thanks!