Hacking WIP D.I.Y Payload/Dongle/Modchip Injector Thread.

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
I've made a multi payload loader some weeks ago, but i can't save the selection atm.

https://github.com/noemu/sam-fusee-launcher/tree/payloadSelect

Is there any source of your multi loader?

No, were only testing debugging any code stolen would be in poor taste, once we have something that works and is safe for the end user we will release it on this page. please do not use our tests to make your own.If you would like some tips with your code, you may speak to @mattytrog

Not accusing you at all.. And good work on making your own multi loader.

Hey jsut noticed you made a usb c male to micro usb male , i was working on one of this and solder the exact same way you have and same placement and parts of the board and my fucker wont work lol.
Did you add anything to ur usb adaptor ?

Btw your build is nice and tidy well done
 
Last edited by Canna,

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
yeah the male to male adapter was really painfull to solder.

i had mine connected exactly like yours.. just except it did not work and the chip was not detected connected to it ... i unsolder to check it out and as i went to resolder it today, my iron tip sparked some how i think static from a wire i touched that was connected to a usbc that was sitting on the mat. and now i have no solder iron :rofl:. plus seen as im outta work atm i cant afford one. oh well thanks for reply anyway
 

MatinatorX

Hardware Developer
Developer
Joined
Jul 17, 2018
Messages
366
Trophies
1
Website
www.dragoninjector.com
XP
2,538
Country
Canada
Hey Lerch what are your thoughts on designing 3 cases. one for a trinket, one for a gemma with lily pad connected,and one for electronrancher. So we can share them as 3d printer files or build them for others to purchase, they be paying you ofcourse.. but we have to try beat prices of the china knock of dongles, which is prob not possible. So just wanted to know someone like yourself thoughts on cases for the projects
-=

I've got no problem giving you guys a hand, and I don't need any monetary compensation :)

If the cases are designed for FDM printers the cost per case would be peanuts. I get 1KG of PETG filament for like $28 CAD shipped. I just need you guys to provide me Gerbers and a quick sketch on how you'd like the case to look and we can go from there.

I stayed up until the wee hours of the morning last night working on a new revision of my board that ditches the power switch in favor of an N-Channel mosfet that turns everything on when external 5V is present or you hook it up to a USB slave device (like RCM Switch) and D+ gets pulled high. With the extra space I was able to add a second button to switch payloads, so if it's okay with you guys in return I'd like to borrow your idea (but write my own code) of a multi-payload injector.

(Also finally ditched that inefficient Dotstar for a common anode RGB at 3 cents each)
 
Last edited by MatinatorX,

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
I've got no problem giving you guys a hand, and I don't need any monetary compensation :)

If the cases are designed for FDM printers the cost per case would be peanuts. I get 1KG of PETG filament for like $28 CAD shipped. I just need you guys to provide me Gerbers and a quick sketch on how you'd like the case to look and we can go from there.

I stayed up until the wee hours of the morning last night working on a new revision of my board that ditches the power switch in favor of an N-Channel mosfet that turns everything on when external 5V is present or you hook it up to a USB slave device (like RCM Switch) and D+ gets pulled high. With the extra space I was able to add a second button to switch payloads, so if it's okay with you guys in return I'd like to borrow your idea (but write my own code) of a multi-payload injector.

(Also finally ditched that inefficient Dotstar for a common anode RGB at 3 cents each)

Go for it guy,the whole point of this thread is to share to others our diy projects and see what we can come up with to help the community and to brain storm.. Give credit were credit is due were all on the same boat here i hope. share what you have at the end of the day its not a competition and let the end user decide what or how there like to have it or use it...

As for the cases we need some sort of form factor for each build , see that mine is a gemma with a lilypad attached its actually quite small so would just need the circumference of the lily pad and for the height of jst 2 connecter on top and battery cage the other side , with just 1 micro usb access port and say a toggle switch,and push style button for reset, But without the measurements what can you do right now.
Theres actually a case 3d print somewere of the gemma if u could mod that for this form factor be easier, but like i said to matty dont work ya ass of just for my sake. were get there at somepoint the more we put in.



Edit here this is the page has the 3d stuff on there i think thats prob ready to go lol as it has room for the batterypack so i cant see the height being a prob but am worried about the lilypad.
https://learn.adafruit.com/gemma-m0-case/overview
Even if i scrapped my lilypad bat holder and went just for the lithium install which looking at that case prob be better
 
Last edited by Canna,

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
@mattytrog, your code is awesome! Got a copy a little while ago, and was able to update my firmware. That is the best damn thing since sliced bread!

Cheers young man!

I`m in the process of completely rewriting it. Should be done by tomorrow.

We will then have proper versions (rather than the rushed - though working versions).

I plan on making a dedicated external version, which is controlled by the reset button...

And just a long-needed code clean-up of the other methods in my thread.

Glad you are finding it useful!

If you are OK with the Ardudildo IDE, you can put your own payload in. Or just let me know which.

I`m doing Canna`s versions tomorrow. Maybe have a few different combinations.

Who knows?
 
  • Like
Reactions: Canna

MatinatorX

Hardware Developer
Developer
Joined
Jul 17, 2018
Messages
366
Trophies
1
Website
www.dragoninjector.com
XP
2,538
Country
Canada
Go for it guy,the whole point of this thread is to share to others our diy projects and see what we can come up with to help the community and to brain storm.. Give credit were credit is due were all on the same boat here i hope. share what you have at the end of the day its not a competition and let the end user decide what or how there like to have it or use it...

As for the cases we need some sort of form factor for each build , see that mine is a gemma with a lilypad attached its actually quite small so would just need the circumference of the lily pad and for the height of jst 2 connecter on top and battery cage the other side , with just 1 micro usb access port and say a toggle switch,and push style button for reset, But without the measurements what can you do right now.
Theres actually a case 3d print somewere of the gemma if u could mod that for this form factor be easier, but like i said to matty dont work ya ass of just for my sake. were get there at somepoint the more we put in.



Edit here this is the page has the 3d stuff on there i think thats prob ready to go lol as it has room for the batterypack so i cant see the height being a prob but am worried about the lilypad.
https://learn.adafruit.com/gemma-m0-case/overview
Even if i scrapped my lilypad bat holder and went just for the lithium install which looking at that case prob be better

Cool, thanks! I'll try to get to it in the next few days. For anyone else who wants a case, the fastest way to get it is to send me a quick sketch of how you'd like it to look and at a minimum the board outline layer in Gerber format and the height of your tallest component on each side of the PCB. I'll turn it into an object in Fusion360 so I can build a case right around it for a perfect fit.
 
  • Like
Reactions: Canna
D

Deleted User

Guest
Here you go guys.
https://easyeda.com/Stratos/samd21-modchip-v3-5

Pretty much a Trinket M0 clone, but just with really small with just enough pads for everything important.

20180728_202248.png
Hey this looks great. Could you post a picture of a finished one with all the components? I'm pretty sure I'll mess it up if I try without one.
 

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
Cheers young man!

I`m in the process of completely rewriting it. Should be done by tomorrow.

We will then have proper versions (rather than the rushed - though working versions).

I plan on making a dedicated external version, which is controlled by the reset button...

And just a long-needed code clean-up of the other methods in my thread.

Glad you are finding it useful!

If you are OK with the Ardudildo IDE, you can put your own payload in. Or just let me know which.

I`m doing Canna`s versions tomorrow. Maybe have a few different combinations.

Who knows?

Hey @mattytrog did you manage to create those main payloads with tools ?
see you have updated your 3 in ones but did not see the others...
If your still working on it thats fine,just wondering were we are at. cheers matt
 

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Y
Hey @mattytrog did you manage to create those main payloads with tools ?
see you have updated your 3 in ones but did not see the others...
If your still working on it thats fine,just wondering were we are at. cheers matt
Yes I have done some. It is just a really bad idea to not have any buttons on it (so you have to rely on the reset switch).

Wanted to talk to you about it :)
 
  • Like
Reactions: Canna

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
@Canna

Try this...

Gemma Reset switches between 1 and the other.

Green = Hekate
Blue = Memloader

I think. Might be the other way round.

I`m not keen on this approach for what its worth...

Is that what you are after?
 

Attachments

  • CannaHekateMemloader.zip
    167.5 KB · Views: 149
  • Like
Reactions: Canna

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
@Canna

Try this...

Gemma Reset switches between 1 and the other.

Green = Hekate
Blue = Memloader

I think. Might be the other way round.

I`m not keen on this approach for what its worth...

Is that what you are after?

Hey @mattytrog

We can go for the other approach if you think this one will kill the gemma, But would need another button /switch installed right or a toggle ?.. Is it just d1 to ground ? that needs a button ?,,

Il will test this sample anyway. do you think this sample will affect being able to press reset to programme the chip when connected to pc
 
Last edited by Canna,

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
Hey @mattytrog

We can go for the other approach if you think this one will kill the gemma, But would need another button /switch installed right or a toggle ?.. Is it just d1 to ground ? that needs a button ?,,

Il will test this sample anyway. do you think this sample will affect being able to press reset to programme the chip when connected to pc

Not at all. It won't affect it at all.

The flash is good for at least 10,000 writes. So I wouldn't worry.

It is only a test.
 
  • Like
Reactions: Canna

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
Not at all. It won't affect it at all.

The flash is good for at least 10,000 writes. So I wouldn't worry.

It is only a test.

And no what i mean was will i be able to get into the usb section of chip if this flash you sent me uses the reset, as does the usb mode uses the reset to enter on pc, but its fine i tested that part.

Test works as intended i think, all tho once power on you need to choose which payload with the reset button before the colour stops flashing.
If the colour stops flashing before you connect it, it wont work and you have to reconnect ..
Switching between payloads before connecting works fine btw..

If you think that using the reset switch is a bad idea then i can maybe find some button or toggle switch for the d0/1 to ground method and implement that into the build.
Hopefully @MatinatorX has not started on the 3d sketch up of the case for me yet as i will have to add this button hole

i was thinking looking at the gemma . d0,d1,d2 are all usable right to be able to use as switches

Is it possible to maybe add two switches/buttons on say d1,d2 to ground
to be used as one for toggle of payload d1 and one for send of payload d2...

I want to try make it simple as possible with main payloads and tools added to each,

Hekate sxos Rnx

so the end user can plug it in select payload have the colour feedback to know what there selecting and press a button to send to device.

What are your thoughts matt you have one of these right?

Sorry if a pain in the ass , but i do appreciate this work and would get you a beer if i could
 

MatinatorX

Hardware Developer
Developer
Joined
Jul 17, 2018
Messages
366
Trophies
1
Website
www.dragoninjector.com
XP
2,538
Country
Canada
And no what i mean was will i be able to get into the usb section of chip if this flash you sent me uses the reset, as does the usb mode uses the reset to enter on pc, but its fine i tested that part.

Test works as intended i think, all tho once power on you need to choose which payload with the reset button before the colour stops flashing.
If the colour stops flashing before you connect it, it wont work and you have to reconnect ..
Switching between payloads before connecting works fine btw..

If you think that using the reset switch is a bad idea then i can maybe find some button or toggle switch for the d0/1 to ground method and implement that into the build.
Hopefully @MatinatorX has not started on the 3d sketch up of the case for me yet as i will have to add this button hole

i was thinking looking at the gemma . d0,d1,d2 are all usable right to be able to use as switches

Is it possible to maybe add two switches/buttons on say d1,d2 to ground
to be used as one for toggle of payload d1 and one for send of payload d2...

I want to try make it simple as possible with main payloads and tools added to each,

Hekate sxos Rnx

so the end user can plug it in select payload have the colour feedback to know what there selecting and press a button to send to device.

What are your thoughts matt you have one of these right?

Sorry if a pain in the ass , but i do appreciate this work and would get you a beer if i could

I haven't started anyone's case as no one has sent me any sketches of what they want the case to look like or any dimensions for boards :P

I went and added in a button for payload selection on my dongle since I had to redo the board anyways (forgot the 5.1k resistor from CC1 to ground, oops). I'll write up a program for it this weekend.

To make it simple for the user I'm going to use the blue LED only for payload selection. Quick flash x1 = payload one, quick flash x2 = payload 2, etc. Red and green LEDs will be reserved for injection status - blinking yellow for searching, blinking green for success and blinking red for fail (probably a 4hz blink with 10% duty cycle to use much less power).

I'll post the code when I'm done but I'm guessing you all will have got it down pat by then anyways ^_^
 
  • Like
Reactions: Canna

mattytrog

You don`t want to listen to anything I say.
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
And no what i mean was will i be able to get into the usb section of chip if this flash you sent me uses the reset, as does the usb mode uses the reset to enter on pc, but its fine i tested that part.

Test works as intended i think, all tho once power on you need to choose which payload with the reset button before the colour stops flashing.
If the colour stops flashing before you connect it, it wont work and you have to reconnect ..
Switching between payloads before connecting works fine btw..

If you think that using the reset switch is a bad idea then i can maybe find some button or toggle switch for the d0/1 to ground method and implement that into the build.
Hopefully @MatinatorX has not started on the 3d sketch up of the case for me yet as i will have to add this button hole

i was thinking looking at the gemma . d0,d1,d2 are all usable right to be able to use as switches

Is it possible to maybe add two switches/buttons on say d1,d2 to ground
to be used as one for toggle of payload d1 and one for send of payload d2...

I want to try make it simple as possible with main payloads and tools added to each,

Hekate sxos Rnx

so the end user can plug it in select payload have the colour feedback to know what there selecting and press a button to send to device.

What are your thoughts matt you have one of these right?

Sorry if a pain in the ass , but i do appreciate this work and would get you a beer if i could

The code is done. Just payloads that you want.

I've done 3 different versions...

1) select with reset... Only one button.
2) select with D1... Blink led appropriately.
3) select with D1... Blink a different colour.

The payloads are easy to change in the Arduino IDE.

Apart from putting the payloads you want in, which is a two minute job, I don't know what more I can do.
 
  • Like
Reactions: goulien82

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @K3Nv2, i have a physical copy of mgs4