GitHub - Quantum-cross/sam-fusee-launcher-internal: Internal Fusee Launcher for...
source link: https://github.com/Quantum-cross/sam-fusee-launcher-internal
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
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:
- Download and install arduino IDE http://www.arduino.cc/en/Main/Software
- In Arduino: go to "Prefences" and add to "Additional Board Manager URLs" followin URL:
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
- go to "Tools > Board > Board Manager" and select Type: All and
- Install "Arduino - Boards SAMD"
- Install "Adafruit SAMD Boards" by Adafruit
- Select the Trinket M0 with "Tools > Board > Adafruit Trinket M0"
- Go to Sketch > Include Library > Manage Libraries
- Install USBHost and Adafruit DotStar
Connect the Trinket m0 to your computer and double Click on the Reset Button. 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:
- blinking orange -> searching for Switch in RCM mode
- red -> no Switch found
- off (except the power LED) -> finished successfully
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
Instructions forthcoming
Issues
- xboxexpert has reported that sometimes the trinket will wake itself up ~10 to 13 seconds after a poweroff. The trinket quickly goes back to sleep and this seems to only happen once per poweroff and does not continually drain the switch battery. I cannot confirm because I do not want to open my switch again and the light is not visible from the outside.
- Behavior with autoRCM is unsupported. Use autoRCM at your own risk.
- The trinket is always "on" but remains in deep sleep. If you store the switch unplugged for a very long time there is a chance that the switch battery could drain to 0% (very bad for a lithium ion battery). I have good reason to believe the point marked for power is after the battery protection circuit, so it should be safe. But I cannot confirm it 100%. basically if your switch catches fire and burns your house down it's not my fault
Install Picture
Thanks!
- atlas44 for the original implementation, help with my install, and being someone I can bounce ideas off of
- CTCaer for his work on hekate
- noemu for his iteration/cleanup of atlas44's code.
- xboxexport for testing the mod, helping with the install instructions, pictures, and the idea for grabbing RCM_STRAP at the rail.
Recommend
-
118
Paper Launcher This is an Android Launcher app based on Eduardo Pratti's mockup and made from scratch. The Launcher is only tested on my device (Nexus 5X running Android Oreo 8.0), but should work on every Android Lollipop+...
-
132
LaunchEnr - Simple Launcher made in Italy
-
101
README.md KISS KISS is a blazingly fast launcher for android requiring nearly no memory to run.
-
36
puri: Minimal CLI URL launcher puri is a minimal TUI for searching and launching URLs from a given file. puri is the successor to puri.sh Featur...
-
29
PojavLauncher_iOS Minecraft: Java Edition launcher for iOS, based on PojavLauncher Android. This launcher is now available at Procursus repository, thanks to @Di...
-
9
charlotte c++ fully undetected shellcode launcher ;) releasing this to celebrate the birth of my newborn description c++ shellcode launcher, fully undetected 0/26 as of 13th May 2021. dynamic invo...
-
41
Minimal Elite Dangerous Launcher Cross-platform launcher for the game Elite Dangerous. Created mainly to avoid the long startup time of the default launcher when running on Linux. Can be used with Steam, Epic and Frontier accounts on...
-
20
Legendary A free and open-source Epic Games Launcher alternative Legendary is an open-source game launcher that can download and install games from the Epic Games platform on Linux and Windows. Its name as a tongue-in-cheek...
-
5
D-Wave’s cross-platform quantum computing services are a bridge to the future ...
-
3
Christoph Mertinat 1 hour ago Hierarchies cross project, as was available for internal orders 7 Views ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK