Ansem-SoD / Picofly

Information and firmware related to the rp2040-zero based chip for the nx
867 stars 122 forks source link

error code Short Long Long #10

Closed M007P closed 1 year ago

M007P commented 1 year ago

on fw 2.73 showing Short Long Long Green led, loading OFW, switch Lite . RPI Zero x2 chips. is this FW issue or RPI zero, no information about this error code, any info.

Ansem-SoD commented 1 year ago

Firmware 2.70+ Changelog

-- Updated to 2.73 (sorry guys I was away for the weekend)

now it's only 3 colours: blue (glitching), white (flashing), yellow (error code). This was made to make possible pi pico debugging + get rid of RGB/GRB issues Error codes list (= is long pulse, * is short pulse): = USB flashing done

** RST is not connected = CMD is not connected = D0 is not connected == CLK is not connected

=** eMMC init failure during glitch process == CPU never reach BCT check, should not happen == CPU always reach BCT check (no glitch reaction, check mosfet) === Glitch attempt limit reached, cannot glitch

=** eMMC init failure == eMMC write failure - comparison failed == eMMC write failure - write failed === eMMC test failure - read failed == eMMC read failed during firmware update === BCT copy failed - write failure === BCT copy failed - comparison failure ==== BCT copy failed - read failure

The second major feature is CPU downvoltage. This might be useful when your MOSFET (or the wire) is not strong enough for the glitch. (do you remember the case where you press "RESET" on the rp2040 when joycon logo appears to make it working? that's it, system lowers CPU voltage) Therefore you can solder two additional wires to the chip so it could lower the CPU voltage making the glitch easier. This is optional! only if you really need.

Waveshare rp2040: SDA=12, SCL=13 Pi Pico: SDA = 19, SCL = 20 XIAO 2040: SDA=3, SCL=4 ItayBitsy 2040: SDA = 18, SCL = 19

in chagelog.md

will link in the readme

M007P commented 1 year ago

so we need to use 0.2mm,0.254 (awg30) wire on cpu mosfet to gnd, for wire point to rp2040 same size or smaller gauge ? thanks