Hacking WIP [Trinket] [Rebug] [Others] SWITCHBOOT_UF2 / FUSEE_UF2 modchip software

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,379
Trophies
2
XP
18,295
Country
Sweden
OK... Looks like we need to build you a new bootloader.

Yes, the joycon_only is a replacement UF2 bootloader that controls the straps.

To fix this, I`d need to know the pinouts of your board. A pic of both sides of it. I can build you one then. I think it is a SAMD21G18 without a crystal.
I found a premade firmware, now I just need to figure out how to upload the .bin file
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
If it is indeed a G18 without a crystal, try sending an ItsyBitsy bootloader to it. I can make you a custom one.

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

I found a premade firmware, now I just need to figure out how to upload the .bin file
Needs converting to UF2. Can do it for you. Got a link?
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,379
Trophies
2
XP
18,295
Country
Sweden
Everything seems okey now, but it still won't boot. I even gotten back the rickroll, so something is up with the chip now. Maybe the connector since it's quite loose
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,379
Trophies
2
XP
18,295
Country
Sweden
Did the bootloader work? If so, I`ll build you the main UF2 if you like.
Aye it works, It's the USB-C connector that is glitching, I took it out of its shell and lightly pulled on it and it came right off, Funny enough if I put it back on and tada, it loaded Hekate 4.2
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
do you have the chance to fit also the vol+ strap?
testing it on another chip could lead to a faster solution.
Mine has issue with both straps connected.

thanx
Thats what we need. Just another report just to rule out a problem with your chip.

Anyway... Small update coming...

Simple-UF2 v0.9.2

Changelog:

In Hekate... Modchip information shown on Hekate screen (mode / payload) - if you change mode / payload on modchip, reboot Hekate to reflect changes. Cosmetic change.
20181222_081101.jpg



In Hekate... Payloads on SD root can be launched as well as payloads folder...
20181222_081150[1].jpg
 

mattytrog

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

I think I have found the problem with your chip...

Design fault on the RCMX86.

Remove this circled resistor and your chip should work correctly.

This is not needed. It is going to PA08. Which is just another digital pin. I think he put this in because he was getting stray capacitance on old method 3 causing constant chip reboots.

removeresistor.jpg
 
Last edited by mattytrog,
  • Like
Reactions: snam11

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
so i did a test with your brilliant solution and i can say is almost working.
i'm using sx payload

your config:

vol d0
joy d3

switch is booting straight into cfw (no sx os menu at all), vol is ok
ofw boot if pressing power+reset
every time i press reset is like i'm pressing the vol+ button, i can see the through the gui the vol is raising on each reset button press

now the bad part:
the flash connection is gone:i tested at least 20 times pusing the reset button twice faster and with 1 sec delay between pushes, no luck
if the usb cable is connected with the switch powered off, i cannot boot at all. i need to fit the usb cable right after any boot


original conf:

joy d0
vol d3

cfw boot into sx menu, so i can choose to do stuff or boot cfw/ofw
power+reset: ofw boot
flash connection is ok

volume buttons issue is still present
 
Last edited by snam11,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
so i did a test with your brilliant solution and i can say is almost working.
i'm using sx payload

your config:

vol d0
joy d3

switch is booting straight into cfw (no sx os menu at all), vol is ok
ofw boot if pressing power+reset
every time i press reset is like i'm pressing the vol+ button, i can see the through the gui the vol is raising on each reset button press

now the bad part:
the flash connection is gone:i tested at least 20 times pusing the reset button twice faster and with 1 sec delay between pushes, no luck
if the usb cable is connected with the switch powered off, i cannot boot at all. i need to fit the usb cable right after any boot


original conf:

joy d0
vol d3

cfw boot into sx menu, so i can choose to do stuff or boot cfw/ofw
power+reset: ofw boot
flash connection is ok

volume buttons issue is still present

If connected to USB, it won't boot. The bootloader works that well, it is exactly the same as autoRCM.

Reset should be unaffected. I did tweak the bootloader to near enough stock timings of the reset button press.

Just keep disconnected from the switch... Double press, reconnect to pc. There is no reason that shouldn't continue to work
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
i did all the possible combinations (to have a flash connection):
power off-double press on reset- plugged usb: nothing happens
power off with usb connected- double press: nothing happens
power on- double press- plugged usb: nothing happens
while powered on- double press- plugged usb: nothing happens
while powered on-usb connected- double press: nothing happens

dunno what else to try

EDIT: btw you know why with your config no menu is available? i don't know how to do the same without any chip (maybe menu bypass is triggered by some key press combination)
 
Last edited by snam11,

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
i did all the possible combinations (to have a flash connection):
power off-double press on reset- plugged usb: nothing happens
power off with usb connected- double press: nothing happens
power on- double press- plugged usb: nothing happens
while powered on- double press- plugged usb: nothing happens
while powered on-usb connected- double press: nothing happens

dunno what else to try

EDIT: btw you know why with your config no menu is available? i don't know how to do the same without any chip (maybe menu bypass is triggered by some key press combination)

Remove the top one too. Ive circled it. Why have a resistor there??? That is the reset line. Looking at this board, there are... to be polite... A fair few errors.
removeresistor.jpg


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

i did all the possible combinations (to have a flash connection):
power off-double press on reset- plugged usb: nothing happens
power off with usb connected- double press: nothing happens
power on- double press- plugged usb: nothing happens
while powered on- double press- plugged usb: nothing happens
while powered on-usb connected- double press: nothing happens

dunno what else to try

EDIT: btw you know why with your config no menu is available? i don't know how to do the same without any chip (maybe menu bypass is triggered by some key press combination)
To elaborate more: He is using that resistor as a pullup resistor. Not necessary on SAMD21.

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

What do you mean menu? The SXOS menu? Its there. Just hold vol+ while booting on SXOS splash screen
 
Last edited by mattytrog,
  • Like
Reactions: Romain80200

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
Remove the top one too. Ive circled it. Why have a resistor there??? That is the reset line. Looking at this board, there are... to be polite... A fair few errors.


What do you mean menu? The SXOS menu? Its there. Just hold vol+ while booting on SXOS splash screen

yea i meant that.
with "standard" conf. i get the menu at cfw boot.
with yours i get straight boot on cfw without sx menu.

i've just did a test after removing the 2nd resistor
still no way to have the flash connected.

i'm sorry to cause you all this troubles...
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
yea i meant that.
with "standard" conf. i get the menu at cfw boot.
with yours i get straight boot on cfw without sx menu.

i've just did a test after removing the 2nd resistor
still no way to have the flash connected.

i'm sorry to cause you all this troubles...
Try this...
removeresistor.jpg
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
1 should i put again the resistor on the bottom of the image or you just forget to photoshop it?
2 i should press twice reset and at the same time short the pin twice?
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
nothing happens on the switch (i can still see vol rising up each time i press reset).
same on the connection side.
i tried hitting twice reset on power off and usb connected:first simultaneously,and after with a little delay pressing first reset and after the jumper, and the opposite. still nothing
same with powered on switch and twice reset (and the delay between press)

do you want me to put a led somewhere?
 

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
48
XP
4,328
Country
United Kingdom
nothing happens on the switch (i can still see vol rising up each time i press reset).
same on the connection side.
i tried hitting twice reset on power off and usb connected:first simultaneously,and after with a little delay pressing first reset and after the jumper, and the opposite. still nothing
same with powered on switch and twice reset (and the delay between press)

do you want me to put a led somewhere?
No. It should be working. There is no reason it shouldn`t. Can you connect a voltmeter across GND and reset pads? What are you getting? If you are getting 3v ish, then the pad is right.

It HAS to be your timing. Too fast or too slow. All it can be. :(
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, https://www.youtube.com/watch?v=HhtD6BeBJK4