No totally understand, No offense at all. I have double pressed still only the blinking blue light and not seen as connected in any way to the computer. It is not being seen in the IDE either doesn't show in the ports.
--------------------- MERGED ---------------------------
Thank you for the help found the problem. Should have try'd before asking i was using a usb cable that i guess wasn't good it connect and expressed power but i guess couldn't transfer data. Thank you
I hope you are not offended when I say this. I`m not insulting your intelligence, really I am not!
But... You are double-pressing reset while it is plugged in to PC right?
Sorry if its bloody obvious! Just covering all bases.
--------------------- MERGED ---------------------------
@electronrancher
Try this...
I`m assuming your device is compatible with Trinket UF2`s
Go to my Github https://github.com/mattytrog/SAMD-ShaXLauncher/tree/master/UF2 Files
and put your chosen UF2 on there...
I`ve attached a zip called datsandpayloads. In there are some files. Extract to root of SD, drag UF2 over
You can run any payload without converting it.
First one is called payload.bin
2 - payloa2.bin
3 - payloa3.bin
4 - payloa4.bin
...
...
etc
up to 8 payloads.
No conversion necessary, just drag and drop. Rename too as above or it won`t work.
Any good?
I hope you are not offended when I say this. I`m not insulting your intelligence, really I am not!
But... You are double-pressing reset while it is plugged in to PC right?
Sorry if its bloody obvious! Just covering all bases.
--------------------- MERGED ---------------------------
@electronrancher
Try this...
I`m assuming your device is compatible with Trinket UF2`s
Go to my Github https://github.com/mattytrog/SAMD-ShaXLauncher/tree/master/UF2 Files
and put your chosen UF2 on there...
I`ve attached a zip called datsandpayloads. In there are some files. Extract to root of SD, drag UF2 over
You can run any payload without converting it.
First one is called payload.bin
2 - payloa2.bin
3 - payloa3.bin
4 - payloa4.bin
...
...
etc
up to 8 payloads.
No conversion necessary, just drag and drop. Rename too as above or it won`t work.
Any good?
I don't really have one of these yet... I DO want to buy one, but I'm holding out for this:
View attachment 143257
I just want them in red-and-blue to match my joycons.
But I misunderstood how switching payloads initially worked... I thought it showed up as a USB flash drive and you can just drop in the payload file (like what you guys are trying to achieve right now). I DO hope you eventually pull it off, but in the meantime... I was kinda thrown off by the need to recompile a new UF2 with the Arduino dev tools just to replace the payload... didn't want to have to download, setup, and learn a new dev environment just to switch payloads.
So I threw together this tool, that can patch a payload into any valid CURRENT.UF2, just drag the payload file onto the script (I was planning to use this if/when a red/blue case dongle becomes available). And hopefully this is of some use until you guys achieve the "drag-and-drop the payload into the mass storage device" functionality.
Also attached is a few UNTESTED generated UF2s (with biskeydumpv6 and JigTester payloads). Untested because I haven't bought this dongle yet, so I am not responsible if these break your Switch.
Hey brother thanks for the kind words! I'm sorry I missed you it's been a hectic couple of days. Your tool sounds incredible, I have downloaded it but I was unsuccessful in splicing a payload. I tried to splice in hekate4 in but it just gave a black screen. My guess is that it's something minor like offset or something - how about tomorrow, I do a binary compare of a standard hekate4 uf2 versus a spliced and maybe you can help me interpret the difference? I'd do it now but it's late and once I start digging into a fun technical hole it's often 2AM before I know it.
The red/blue case was printed by Hatch, the designer of that case. He's out of town for a few days IIRC but let me talk to him and see if he can cook you up one of those joycon colored cases. Once I hear back, I'll PM you for a mailing address if he's willing to go for it
Got it, and I love it! Took me a minute to understand the behavior, but let me write down how I see it and you can tell me if I'm right.
A) Start up and blink x times to indicate active payload
B) Search for switch and launch this payload if RCM found
C) If no switch, update active payload to x+1 and blink this many times
It's pretty bad ass, and launches well. So it seems like you're a switch coder as well as an ARM coder now? Put that on your resume!
I did not get success with all payloads, but I'm guessing I have a version mismatch for ReiNX and am completely missing support files for other ones. Here's what I got:
1- hekate 3v2
2 - heakte 4
3 - sxos
4-8 - ?
PS - I get the BOOT.DAT? PNG if the files are not found I might suggest you change it to KJ Un flipping the bird.
Hmm, that's weird, I tried splicing in Hekate 3.2, Hekate 4, and SX OS, and the resulting files were identical in a binary compare to the UF2s attached in your first thread. Can you attach your final generated UF2 file?
Anyway, that sounds great! The joycon colored case is really the only thing I'm waiting for right now before jumping in, thanks for taking the trouble of asking him.
@electronrancher
Try the following attached files.
The only changes are:
- included UF2 file was renamed from current.uf2 to CURRENT.UF2
(I noticed all the UF2 files you had attached in the first thread had all caps filenames. I've encountered some embedded systems before where I also encountered problems with firmware files when they weren't all caps... I can't really test if that's the issue though since I haven't bought your dongle yet).
- renamed from patchFW.exe to generateFW.exe
(I was wondering why I was getting a UAC prompt when all I was using was basic fopen, fwrite calls. I learned that any executable with update, setup, install, patch etc. in its filename gets flagged as requiring admin access. Microsoft smh)
@electronrancher
Try the following attached files.
The only changes are:
- included UF2 file was renamed from current.uf2 to CURRENT.UF2
(I noticed all the UF2 files you had attached in the first thread had all caps filenames. I've encountered some embedded systems before where I also encountered problems with firmware files when they weren't all caps... I can't really test if that's the issue though since I haven't bought your dongle yet).
- renamed from patchFW.exe to generateFW.exe
(I was wondering why I was getting a UAC prompt when all I was using was basic fopen, fwrite calls. I learned that any executable with update, setup, install, patch etc. in its filename gets flagged as requiring admin access. Microsoft smh)
Oh, I didn't realize the tool was relevant for anything else other than this dongle, so I thought linking it in here was enough.Did you start a thread for this tool? I'd say you should, it's going to be way easier for users who don't want to mess with recompiling. I have gotten quite a few requests from people to make them custom builds just because they didn't know how to set up the Arduino environment and translate the bin file into header. Thanks, man - great tool!
Sure go right ahead.This tool is very good. I wrote something similar, but this is miles better than my attempt. Do you mind if I put it in my thread with maybe a couple of alterations? I`ll credit you.
Oh, I didn't realize the tool was relevant for anything else other than this dongle, so I thought linking it in here was enough.
Sure go right ahead.
I love to tinker, but sometimes. I just want stuff to work right out of the box. And since your dongle isn't exclusive to one payload. It makes it more attractive.Well I have found there is a pretty large population that are interested in my loader because it's pre-built and works right out of the box with no soldering or coding either.
Any tool that makes life more convenient for the casual user is a good tool in my opinion, and this one allows all sorts of software hacking without having to get too deep in the weeds. Thumbs up, and yep - I'd say it deserves a thread for sure.
Got it, put a battery in it. Plugged it in, black screen. :v What do?
I get the PC to read it, but it always hangs so I can't actually read/write from it.
I love to tinker, but sometimes. I just want stuff to work right out of the box. And since your dongle isn't exclusive to one payload. It makes it more attractive.
Welp, a replacement battery did the trick. :v Don't take shortcuts! Agh!
Thanks @electronrancher for reaching out to assist me in this! Definitely recommend this product as it's sleek, simple and rather useful in various ways.
-snip-