Thanks for your input. From the limited testing that we did, we can probably say that the sequence it waits on the CMD pin is most likely six times emmc "CMD63", this is a OEM reserved command per emmc specification and thus we don't exactly know what it does.-They have a 1 second watchdog timeout, and if the watchdog triggers they set the LED colour to red(?) and reset the SOC.
-Before this it (I think) waits up to 300ms for a sequence on the CMD/gpio27 pin. It has a bunch of other logic involving the time since startup that would probably make more sense if I knew how the hwfly worked. It's here that it sets the LED colour to blue which represents "glitching".
This might be inaccurate though, the guy that had the test setup with a rp2040 and the ubuntu fw didn't have a proper logic analyzer so we used another Pico set up as a logic analyzer with sigrok and it isn't always 100% accurate.
We basically analyzed the boot 2 times, both times it looked like the emmc got initialized and then CMD63 gets issued six times, with the CPU pin going HIGH after the 6th CMD63 got sent.
Post automatically merged:
Do you mean they set the whole RP2040's clock speed to 333Mhz directly upon booting? Also, do you really mean Mhz or did you mean kHz?-They do seem to be changing the clock speed to 333Mhz and setting the SOC voltage to 1.30 volts. I can't exactly tell what it's doing due to the abundance of divmod_u32u32 calls that I don't want to sift through.