Skip to content

electronrancher/sam-fusee-launcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sam-fusee-launcher

Fusee Launcher for the openschemes SAMD21 Loader board. Based on sam fusee launcher.

Top-Bottom_Pic

If you would like to purchase a pre-built board, please see Tindie Page

Build and tested with Arduino SDK.

Install a Pre-built Firmware without Compiling

  • Download a firmware zip file from the firmware directory and open
  • Plug the SAMD Loader into USB, and double click reset
  • Drop the 3 files from inside the zip onto USB. They will be autoflashed as soon as they are written
  • Unplug SAMD Loader, it's now flashed to the new firmware!

Build

Go through trinket m0: arduino-ide-setup and trinket m0: arduino-ide-setup2

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 "Adafruit SAMD Boards" by Adafruit (not sure if required: Arduino - Boards SAMD)
  • Select the Trinket M0 with "Tools > Board > Adafruit Trinket M0"

Go to Sketch > Include Library > Manage Libraries Install USBHOst, and FlashStorage.

Connect the SAMD Loader to your computer and double Click on the Reset Button. Your computer should detect the SAMD Loader automatically (On win7 install this driver)

Got to Tools > Port and select your connected SAMD Loader

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

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

The SAMD Loader is ready for use.

LED is:

  • Steady Blue - Failed to initialize USB on SAMD, check battery
  • Quick, Steady Blinking - Ready to send, searching for Switch. Insert RCM jig, Hold VOL + and Press Power
  • Short/Long (Ta Daa!) Blink - Payload sent and activated.

Update the Payload

download your favorit 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.

Hardware

SAMD Loader

Power consumption:

  • Idle with only power LED: 0.47mA
  • Running: 8.9mA

Finished Dongle

Micro USB to USB C converter

microUsbToUsbC

Test

Thanks to:

About

Fusee Launcher for the Openschemes SAMD21 Loader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.8%
  • Other 0.2%