Hacking Running Fusée Gelée through a Teensy 3.6

Dread_Pirate_PJ

Well-Known Member
Newcomer
Joined
Feb 24, 2018
Messages
64
Trophies
0
Age
53
XP
178
Country
United States
Last edited by Dread_Pirate_PJ,

link42586

Well-Known Member
Member
Joined
May 9, 2018
Messages
321
Trophies
0
Age
38
XP
1,184
Country
United States
actually if you look at the shell of their dongle it might just take normal alkaline batteries...
All of the things like this i've seen all needed batteries so far. Dumb question..Does usb put out any power in RCM mode? If it did I would think it would be able to run the devices i've seen so far like this. I thought I read that this is so early in the boot process it doesn't have hardly anything loaded and working. "bricked" switches even boot up with the fusee payload because it's before the system even checks the stuff for the battery or whatever is broken on the 3rd party dock bricked systems.
 
Last edited by link42586,

Visual Studio

Developer
Developer
Joined
Aug 25, 2016
Messages
123
Trophies
0
Age
30
XP
1,707
Country
United States
I've been suggested on Reddit that a Teensy could work to run Fusée Gelée. I made some research and it looks like the Teensy 3.6 can have USB host support using this cable.

This library is a complete re-implementation of the USB protocol. It could be used as a base to make a Fusée Gelée launcher - I checked the code and everything needed is there. As we control everything that goes through the USB port here (remember, everything is re-implemented in the library), there will be no compatibility issues. The Teensy has enough memory to store both payloads (the one you want to run and the intermezzo payload).

The only drawback is that a Teensy 3.6 is not cheap, as it costs approximatively $40 (at least from France). I guess that in the end, somebody will sell a standalone Fusée launcher for less money than that anyway (or even a DIY kit using something else than a Teensy).

But I am curious - I wonder if somebody on this forum own a Teensy 3.6 and have programming knowledge to try this ? All is needed is to embed the payloads in a Teensy program and then use the USBHost_t36 library to port this script. It could be needed to use fusee-launcher.py to generate the payload beforehand if the memory is short on the Teensy.
I've already started work on this before even seeing the thread the Teensy 3.6 support host mode but requires the host mode cable too.
 
  • Like
Reactions: Deleted User

Wierd_w

Well-Known Member
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
Retr0id has a working injector based on the A5-V11 cheap chinese "router". (it's about the size of a cigarette lighter, costs just a few dollars online. The version with a battery is larger, and also costs more.) When my "with battery" version arrives (sometime...), I will test it out with his package.

work is already done, you just need to build and flash his package to appropriate hardware.
 
  • Like
Reactions: leerz

karl0ss

Active Member
Newcomer
Joined
May 16, 2018
Messages
43
Trophies
0
Age
38
XP
234
Country
Ukraine
Retr0id has a working injector based on the A5-V11 cheap chinese "router". (it's about the size of a cigarette lighter, costs just a few dollars online. The version with a battery is larger, and also costs more.) When my "with battery" version arrives (sometime...), I will test it out with his package.

work is already done, you just need to build and flash his package to appropriate hardware.

can you post a link to this please?
 

Wierd_w

Well-Known Member
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
can you post a link to this please?

Here is his GIT repo for the project.
https://github.com/DavidBuchanan314/fusee-lede

Here is the OpenWRT page for the hardware:
https://wiki.openwrt.org/toh/unbranded/a5-v11

Dont try to install too much onto that package with the menuconfig! It only has 4MiB flash!

Actual post about working prototype:
Can confirm that fusee-nano "Just works" on one of those £5 A5-V11 routers. I'll get instructions for building it into a LEDE image soon™
 
Last edited by Wierd_w,

wiiando

Well-Known Member
Member
Joined
Dec 28, 2008
Messages
343
Trophies
1
XP
1,795
Country
United States

Wierd_w

Well-Known Member
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
Do you have a link to the router on where to buy? struggling to find it online

Look for "3G router 150m"

It does not have a brand. Refer to the OpenWRT page for all the caveats, pictures of the device and its housing, et al.
 

wiiando

Well-Known Member
Member
Joined
Dec 28, 2008
Messages
343
Trophies
1
XP
1,795
Country
United States
Look for "3G router 150m"

It does not have a brand. Refer to the OpenWRT page for all the caveats, pictures of the device and its housing, et al.

Ye found it now, google was no help googling "A5-v11 3g/4g router, found one anyway, just wish it was in my country and not china lol

Thanks
 

MrJason005

√2
Member
Joined
Nov 26, 2014
Messages
2,521
Trophies
0
Location
Κάπου
XP
1,609
Country
Greece
The best would be to have a small arduino compatible soldered inside the switch and powered by it
so it is seamless
the arduino is not small enough (even the pro mini)
you need to get the atmega by itself, or you can branch out to other microcontrollers
plus, i'm not sure if the atmega is fast enough to bitbang USB
 

Alkéryn

Moon Dweller ~
Member
Joined
Mar 15, 2015
Messages
1,665
Trophies
1
Age
25
Location
Albategnius, Moon
XP
2,392
Country
France
the arduino is not small enough (even the pro mini)
you need to get the atmega by itself, or you can branch out to other microcontrollers
plus, i'm not sure if the atmega is fast enough to bitbang USB
I said arduino compatible
so obviously just the atmega smd version would be good

And it is, there is an arduino host library & shield too
you just need 4 pins
 

pc323

New Member
Newbie
Joined
Jan 14, 2011
Messages
1
Trophies
0
XP
6
Country
Hong Kong
I would like to build it using arduino pro micro which have USB-host feature. I've made a usb num-pad using this board:lol:
Is there any light-weight/tiny (<30KB) payload.bin which can embed into arduino? I have one which is 95KB and its quite big for most of the arduino board.:unsure:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    I @ idonthave: :)