mattytrog / FUSEE_SUITE

Part 1 and part 2
62 stars 12 forks source link

Fusee Suite not starting #5

Closed ghost closed 2 years ago

ghost commented 2 years ago

TL:DR: Trinket starts switch in RCM but won't inject the payload

Hey, I had my trinket working without any problems for over a year. But because of some random issues with my joycons I did a fresh switch setup. I also updated my trinket. But now it only lights up the red power led when starting the switch. The multicolour LED stays off all the time. My switch ends up in RCM mode but the payload isnt pushed (I dont see the SD card missing/ Fusee_Suite bootscreen). I also reflashed the trinket multiple times by pressing the reset button when the switch is booted. I can upload both the first and the second uf2 without any issues. Yet I am unable to get the trinket working. Am I missing something? Or might it be that my trinket has gone defective?

Would appreciate any help or pointers what to try

mattytrog commented 2 years ago

Hello!

Right... I'm guessing you flashed the new part 1?

Sounds like you only flashed part 1 to me. Do this:

Either hold reset button in(push back cover in on switch) or let it trigger RCM mode, then push a payload and let the console boot normally...

Once booted, let screen go off and you should see a "FUSEE" drive pop up. It's this we are aiming for. You might need to double press the back cover(to enter uf2 mode).

Once you have done this, drag and drop part 2.

Let me know how you get on

On Mon, 27 Jun 2022, 20:19 hqas, @.***> wrote:

TL:DR: Trinket starts switch in RCM but won't inject the payload

Hey, I had my trinket working without any problems for over a year. But because of some random issues with my joycons I did a fresh switch setup. I also updated my trinket. But now it only lights up the red power led when starting the switch. The multicolour LED stays off all the time. My switch ends up in RCM mode but the payload isnt pushed (I dont see the SD card missing/ Fusee_Suite bootscreen). I also reflashed the trinket multiple times by pressing the reset button when the switch is booted. I can upload both the first and the second uf2 without any issues. Yet I am unable to get the trinket working. Am I missing something? Or might it be that my trinket has gone defective?

Would appreciate any help or pointers what to try

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZCOWVW72NEJVQDPLT3VRH5E3ANCNFSM5Z7RDV7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mattytrog commented 2 years ago

I must add that if you are flashing a new part 1, you need to flash a new part 2 as the flash is overwritten.

You can however flash a new part 2 without flashing part 1 again.

Cheers Matty

On Mon, 27 Jun 2022, 20:19 hqas, @.***> wrote:

TL:DR: Trinket starts switch in RCM but won't inject the payload

Hey, I had my trinket working without any problems for over a year. But because of some random issues with my joycons I did a fresh switch setup. I also updated my trinket. But now it only lights up the red power led when starting the switch. The multicolour LED stays off all the time. My switch ends up in RCM mode but the payload isnt pushed (I dont see the SD card missing/ Fusee_Suite bootscreen). I also reflashed the trinket multiple times by pressing the reset button when the switch is booted. I can upload both the first and the second uf2 without any issues. Yet I am unable to get the trinket working. Am I missing something? Or might it be that my trinket has gone defective?

Would appreciate any help or pointers what to try

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZCOWVW72NEJVQDPLT3VRH5E3ANCNFSM5Z7RDV7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ghost commented 2 years ago

Thank you for your fast response. Unfortunately I did flash part 1 first and after the drive reappeared I flashed part 2. INFO_UF2 inside the "FUSEE" drive also matches the part 1 UF2 Bootloader c40fc1c SFHWRO Model: Trinket M0 Board-ID: SAMD21E18A-Trinket-v0 But still only the power LED briefly flashes and the switch ends up in RCM.

Should I try a specific old version? Unfortunately I am unaware which Version I previously used

mattytrog commented 2 years ago

You have the Fusee drive. Brilliant. Now you need to choose a part 2.

If you have already drag and dropped a part 2, all you need to do is power the switch down.

The Fusee drive opens up out of courtesy in case you want to flash a "settings.uf2" file, upon a successful part 2 flash.

Kind regards Matty

On Mon, 27 Jun 2022, 20:38 hqas, @.***> wrote:

Thank you for your fast response. Unfortunately I did flash part 1 first and after the drive reappeared I flashed part 2. INFO_UF2 inside the "FUSEE" drive also matches the part 1 UF2 Bootloader c40fc1c SFHWRO Model: Trinket M0 Board-ID: SAMD21E18A-Trinket-v0 But still only the power LED briefly flashes and the switch ends up in RCM.

Should I try a specific old version? Unfortunately I am unaware which Version I previously used

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5#issuecomment-1167800584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZCF4B56P6UKPKMRILTVRH7KXANCNFSM5Z7RDV7A . You are receiving this because you commented.Message ID: @.***>

mattytrog commented 2 years ago

Also... You have unplugged from pc usb haven't you?

It cannot push a payload while connected to pc, as the pc "kidnaps" the port. Disconnect and try booting

On Mon, 27 Jun 2022, 20:38 hqas, @.***> wrote:

Thank you for your fast response. Unfortunately I did flash part 1 first and after the drive reappeared I flashed part 2. INFO_UF2 inside the "FUSEE" drive also matches the part 1 UF2 Bootloader c40fc1c SFHWRO Model: Trinket M0 Board-ID: SAMD21E18A-Trinket-v0 But still only the power LED briefly flashes and the switch ends up in RCM.

Should I try a specific old version? Unfortunately I am unaware which Version I previously used

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5#issuecomment-1167800584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZCF4B56P6UKPKMRILTVRH7KXANCNFSM5Z7RDV7A . You are receiving this because you commented.Message ID: @.***>

mattytrog commented 2 years ago

Also also... Have a read on the main page about FailsafeRCM. If you have USB strap fitted, that is.

ghost commented 2 years ago

Yeah I did flash part 2 and disconnected the Switch before rebooting. But I just realized that I didnt resolder the optional USB Disconnect strap. Will connect it and report back

mattytrog commented 2 years ago

It isn't mandatory to have it fitted.

Your checklist should thus be:

ghost commented 2 years ago

I flashed part 1 Drive reopened and I flashed part 2 Drive reopened and I disconnected Turned off the switch Powered on and ended up in RCM. I dont see the Fusee main page. Even if I remove the SD Card. And the multicolour LED stays off all the time.

(I then connect it to my pc and inject the payload via TegraRCM to exit RCM and start my switch)

mattytrog commented 2 years ago

OK... If you boot into the Switch console, you double-press the back cover, does it go into UF2(Fusee) mode?

Or hold VOL+ down for about 20 seconds... Any LEDS flashing after 4 seconds or so?

mattytrog commented 2 years ago

The only time I have seen something like this, is when there has been an issue with the USB D+ and D- wires (connected wrong way round). Though Fusee opened - so this cannot be the case.

Part 1 is working, because you are entering RCM. If part 1 wasn't working, RCM wouldnt activate. You don't have autoRCM installed do you from Hekate? This isn't required.

mattytrog commented 2 years ago

If you can boot your Switch (by however means - push payload or whatever) and you can access Fusee drive, I'd just drag and drop part 2 again.

ghost commented 2 years ago

Yes when i double press it see the fusee drive. I just held down volume up. After around 5 seconds it starts a few short flashes followed by a longer flash (All in green). I held it for a few seconds and the pattern repeated itself. But afterwards the power LED stayed on.

After a reboot it isnt still working, but I just realized that both the Power LED and the multiclour LED do a short red flash.

Auto RCM is not activated. I also checked and the switch wont go into RCM when the trinket is disconnected. Also after powering down the switch it is not in RCM. Only once i press the power button it enters RCM

ghost commented 2 years ago

I also tried just reuploading part 2 but the issue persists. And ive redone the soldering at least one time so I am quite sure its not a connection issue (especially because all the Straps for RCM work. And as I can access the FUSEE drive the Data straps should also work

mattytrog commented 2 years ago

Goes into RCM... Brilliant.

A short red flash. Brilliant.

Green flashes... Brilliant.

That means part 2 is successfully flashed. The only problem remaining is why the Switch is not getting the payload. The RED little flash signals "push failure". Its green if successful

If you are in RCM, are disconnected from PC, are seeing the red flash... And seeing green if you hold VOL, your Trinket is working normally.

That leaves the USB D+ and D- wires or pads. Nothing else it can be. Are they good solder joints? Can you get back into Fusee drive if booted to Switch lock screen(then putting screen to sleep?)

ghost commented 2 years ago

Yes I can get back into Fusee drive if booted to the lockscreen and putting the screen to sleep. This worked every time without any issue (Did at least 10 reflashes)

Solder joints also looked fine to me. Data Straps are approx 2 cm long. I already resoldered them before but I can give it another shot. (Still I am confused why they would work when the Switch is booted but dont work when the trinket is trying to inject the payload)

mattytrog commented 2 years ago

Ok... Ill investigate this further. In meantime flash an old part 2 if you like. See if any boot. They should all work

On Mon, 27 Jun 2022, 21:43 hqas, @.***> wrote:

Yes I can get back into Fusee drive if booted to the lockscreen and putting the screen to sleep. This worked every time without any issue (Did at least 10 reflashes)

Solder joints also looked fine to me. Data Straps are approx 2 cm long. I already resoldered them before but I can give it another shot. (Still I am confused why they would work when the Switch is booted but dont work when the trinket is trying to inject the payload)

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5#issuecomment-1167869681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZE3BF7D5IEDFCHZOVLVRIG75ANCNFSM5Z7RDV7A . You are receiving this because you commented.Message ID: @.***>

mattytrog commented 2 years ago

I'm going to commit a possible fix. I think it might be injecting too fast for certain units. I'll be home in next half hour and will do a testing trinket build this evening.

On Mon, 27 Jun 2022, 21:43 hqas, @.***> wrote:

Yes I can get back into Fusee drive if booted to the lockscreen and putting the screen to sleep. This worked every time without any issue (Did at least 10 reflashes)

Solder joints also looked fine to me. Data Straps are approx 2 cm long. I already resoldered them before but I can give it another shot. (Still I am confused why they would work when the Switch is booted but dont work when the trinket is trying to inject the payload)

— Reply to this email directly, view it on GitHub https://github.com/mattytrog/FUSEE_SUITE/issues/5#issuecomment-1167869681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ26VZE3BF7D5IEDFCHZOVLVRIG75ANCNFSM5Z7RDV7A . You are receiving this because you commented.Message ID: @.***>

ghost commented 2 years ago

I just flashed the Part_1_TRINKET_PERMA_CFW_Latest.uf2 followed by TRINKET.UF2 in your MODCHIP_LATEST Repo. Now I get the LED flashing when trying to boot that I was used to. But I still end up in RCM. Because even these old files arent working with my switch it seems to me that it is indeed a problem with my switch/soldering and not the code. (I also tried it without a SD Card)

On another note, with this old version if I press vol up after my switch gets stuck in RCM the multiclolour LED blinks red. Am I right to assume that the trinket is trying to reinject the payload but keeps failing? That would mean that it isnt a timing issue either

mattytrog commented 2 years ago

Yes. Red = failure. The failure is either finding RCM(99.999999% likely) or actually pushing the payload. I have changed the RCM seek time to 1 second in this build. Can you try this please? TRINKET.zip

ghost commented 2 years ago

Which part1 should I use? Just the latest one ?

mattytrog commented 2 years ago

yes please

ghost commented 2 years ago

Unfortunately no luck. Still end up in RCM. But now the multicolour LED didnt flash red (just the power LED)

mattytrog commented 2 years ago

OK... Power the unit off and try once more, unless you have tried this. Can you try another version for me?

ghost commented 2 years ago

Already tried it twice but I can try it another time. Also happy to test any other files Edit: Tried it two more times. Same behaviour. Now only the Power LED blinks once

mattytrog commented 2 years ago

Thank-you. I cannot replicate the problem you see... OK Test number 2 [TRINKET_TEST2.zip] << Broken

ghost commented 2 years ago

I dont know if its relevant but after I flashed the UF2 from Trinket.zip the FUSEE drive didnt show up again autmatically. Gonna try the new file now

mattytrog commented 2 years ago

Hang on... I discovered problem... Test 3 coming. Oops.. TRINKET_TEST3.zip .

ghost commented 2 years ago

Okay v2 was the same as v1(from my perspective) With v3 at least the multicolour LED is flashing again. Flashing at the same time as the power LED. But I still end up in RCM (Tested twice)

mattytrog commented 2 years ago

Is it going green at all when you first boot up?

ghost commented 2 years ago

When I press the power button? Then it is just flashing red at the same time as the power LED. Or should I retry holding vol up with the switch booted?

mattytrog commented 2 years ago

Yes please. Also, if you can push a payload via PC (tegraRCMsmash or whatever)... Can you push this and tell me if it works? testpayload.zip

ghost commented 2 years ago

I tried holding vol up 2 times. The first time it did the fast green flashes followed by a single longer green flash. There also was a short red flash after. The second time I tried it I got the same green flashes followed by the same pattern in red

ghost commented 2 years ago

And now it just booted into the stock fw. Did I just disable Chip_RCM?

mattytrog commented 2 years ago

Yes. Thats what the green hold vol+ flashes do

mattytrog commented 2 years ago

just hold vol+ again until the first flash, let go, to trigger ChipRCM

mattytrog commented 2 years ago

Are you able to push the payload I uploaded(testpayload) above?

mattytrog commented 2 years ago

When you disabled ChipRCM, you put your console into dual-boot mode. Its a toggle

ghost commented 2 years ago

I am unable to enable chiprcm When I stop holding vol up whilst it is flashing green it still flashes red afterwards. When I keep holding it it will just continue its green pattern, followed by the red pattern whenever i let go

ghost commented 2 years ago

But whatever gonna try to inject the payload first

ghost commented 2 years ago

Injecting the payload worked. Saw the red Fusee_Suite screen and ended up in hekate

mattytrog commented 2 years ago

OK... In OFW mode, you should be able to get into the FUSEE drive... If you can, flash this... This will re-enable ChipRCM SETTINGS_B_JVU_B1_2_LP.zip

mattytrog commented 2 years ago

And stand by. I'm building another test. I've never ever seen a problem like this before...

ghost commented 2 years ago

ChipRcm is now reenabled. Actually I am just highly confused why it isnt working. Tbh I doubt it is a software bug as it worked before. But I am also confused why rcm, power and file transfer works but the trinket cant push the payload. I just cant wrap my head around it

mattytrog commented 2 years ago

Me neither. Try this. I have removed the vendor ID check in case it has a different vendor ID

TEST_4_TRINKET.zip

mattytrog commented 2 years ago

You are getting the Fusee drive... RCM is being triggered... The switch is unpatched. The LED is blinking red (one blink) - that means it isn't seeing RCM from the Trinket.

ghost commented 2 years ago

Still the same :( I guess I am just out of luck

mattytrog commented 2 years ago

OK... Nuclear option. I'm going to try a build without the RCM check... Stand by...

mattytrog commented 2 years ago

Try this... TEST_5_TRINKET.zip

ghost commented 2 years ago

Still no difference