Hacking Build your own dongle (Research and development thread)

  • Thread starter Thread starter Wierd_w
  • Start date Start date
  • Views Views 156,934
  • Replies Replies 518
  • Likes Likes 34
well, adafruit trinker V5 NOT WORKS for this (the ram is very small and the usb libraries not work)

This is version 2:

1304f4715504d6de16c5c670dfbd3a34o.jpg


this is the files:

https://github.com/atlas44/sam-fusee-launcher

now, this is important, the file src/main.cpp renamed you to main/main.ino

Download Arduino IDE and the libraries and targets from adafruit, select adafruit trinker M0 when you installed the drivers.

open main.ino (payload.h in the same folder)

edit the #include(s) so:

4c4ba0bad1dd109db1d6118419723579o.png


now open any payload.bin that you wish burn with an hexedit and copy all code so:

741aac793f41ab9fef6d20a8371b959bo.png


memorice the block sice

057560070cdee464885aab9f98200045o.png


copy how:

7a1fc23409d211f1b8a783a7e405f93do.png


now edit payload.h in IDE so:

48c9ce47058c5c76cb5a4e00b83be1e9o.png


the check and compile, if all is ok then upload the file IN BOOTLOADER MODE.

Is easy.

I'll get my shit together and make a pcb that connects everything together, and then I'll(or someone else) make an enclosure.

We can call it the W.A.E Wonderful Awesome Electronic :33
 
I'll get my shit together and make a pcb that connects everything together, and then I'll(or someone else) make an enclosure.

We can call it the W.A.E Wonderful Awesome Electronic :33

If I have proper dimensional data for the PCB and component position/size, I can totally design an enclosure.

As I've said here many times, I want as many options for quick and easy payload delivery as possible. I am not strongly invested in any single way, I just dont want TX's proprietary dongle to be the only game in town. We have already reached that point. We have working prototypes for several microcontroller based solutions, and working examples of reprogrammed COTS SoM based solutions. The next thing is inexpensive open hardware sold in assembled states, ready for use. To me, that would cover every device class, and would make the TX dongle just another offering.

I have preferences for solutions that are easy for end users without skills, rather than hobbyist kit builds. The latter is still good to see though.
 
  • Like
Reactions: DeoNaught
I only wait to arrived a pcbs for usb c, but in this adafruit is very dificul solder usb data...
Agreed, Adafruit sucks like that. wait, does the Adafruit have exsposed Data lines?(test pads and such)

Usb C might need to be done somewhere else, instead of done diy
 
I'm for a true modchip based on the ATSAMD21.

The only problem that bothers me is how to manage the usb connection if an other device is connected to the switch (the dock or whatever).
 
Will something like the ZTE MF193 3G USB Dongle work ?
Other than the fact that it has a USB connector, is there any particular reason you expect it to work?

My guess is that it doesn't have USB host mode capabilities.
 
Some of these solutions don't appear to have any advantage over just using your phone (to me at least). Are there any that are more dongle like that don't require a cable?
Yep same here lol... That router is not even as portable as a phone and it's just a big hassle with flashing it and blablahblah...

If someone could do it with something very cheap and as portable as a usb pen drive to fit switch carrying bag, then I would actually consider wasting a few money on that like the TX dongle...

I think CronusMax and Titan one would probably be able to do it, but I would need a CFW 4 my CronusMax V1.0...

If I remember well it has a 8 bit CPU, but can't remember how much memory...
drex_cronusmax_plus_hardware_guide_custom_2.png
 
Last edited by guily6669,
Other than the fact that it has a USB connector, is there any particular reason you expect it to work?

My guess is that it doesn't have USB host mode capabilities.

I dont know if that chip supports hostmode or not. Getting it to run something other than qualcomms RTOS is going to be a bit of a pain. The chip inside it is a qualcomm MSM6246. It has a microsd card slot that apparently can substitute for the nand flash with some poking, so maybe a way in. I cant easily find any quality documentation on that chip; It does not appear to be intended for general purpose builds. The "fluff literature" from qualcomm says it can communicate with USB2, but does not elaborate if this is device mode or host mode. (Or software controlled).

I certainly dont want to invest my time on it, as there is no clear path to success.
 
  • Like
Reactions: STKV182
final version (now I only need a shell)

caa9d3c0a7120fefc594a7be98913838o.jpg




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

What is the name of the green board on the left?

that it is a charger battery module.
 
Last edited by Ninoh-FOX,
final version (now I only need a shell)

Judging by the size and form factor... I would still hazard that a tictac container would make a good shell. Some careful cutting so that the side-mounted usb-c male connector is able to go in (and still stick out), and a little modification to the dispenser hole so that it can be used for the USB power rail for recharging the battery, and off you go. A little paint on the inside, and its all good.

31CiABkB4GL.jpg
 
Judging by the size and form factor... I would still hazard that a tictac container would make a good shell. Some careful cutting so that the side-mounted usb-c male connector is able to go in (and still stick out), and a little modification to the dispenser hole so that it can be used for the USB power rail for recharging the battery, and off you go. A little paint on the inside, and its all good.

31CiABkB4GL.jpg
3446-01.jpg
https://www.adafruit.com/product/3446
Maybe Pi Foundation Raspberry Pi Zero Case is more beautiful. but the price......
 
love the idea of using one of the trinket's to do the dongles job. Would this one not be a slightly better one to use though :

Adafruit Feather M0 Adalogger (tried to post a link, but can't as I'm too new)

with a built in lipo charge circuit, and an sd card (so switching payloads wouldn't require a reprogram) it seems perfect for the job.
 
  • Like
Reactions: Red1Reaper
love the idea of using one of the trinket's to do the dongles job. Would this one not be a slightly better one to use though :

Adafruit Feather M0 Adalogger (tried to post a link, but can't as I'm too new)

with a built in lipo charge circuit, and an sd card (so switching payloads wouldn't require a reprogram) it seems perfect for the job.

It costs 20$. Aside from size, it has no real advantage over the much cheaper (and already professionally enclosed) A5-V11 variants. If you want to explore that device as an injector all the same, go right ahead, I wont stop you, and will instead encourage you to tell us how it goes. :P
 
I keep getting this error


Arduino: 1.8.5 (Windows 10), Board: "Adafruit Trinket M0"

main:12: error: expected ',' or ';' before 'or' token

or const byte intermezzo[INTERMEZZO_SIZE] =

^

C:\Users\DaRkJoKeR\Downloads\sam-fusee-launcher-master (1)\sam-fusee-launcher-master\src\main\main.ino: In function 'void sendPayload(const byte*, uint32_t)':

main:137: error: 'intermezzo' was not declared in this scope

usbBufferedWrite(intermezzo, INTERMEZZO_SIZE);

^

exit status 1
expected ',' or ';' before 'or' token

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 
It costs 20$. Aside from size, it has no real advantage over the much cheaper (and already professionally enclosed) A5-V11 variants. If you want to explore that device as an injector all the same, go right ahead, I wont stop you, and will instead encourage you to tell us how it goes. :P

It's on my list of possibilities. Looking for something that will go in the empty joycon shell/rail I've got coming my way. Hoping to create a combo jig/rcm injector just for the giggles.
 
  • Like
Reactions: Red1Reaper

Site & Scene News

Popular threads in this forum