
90deg Flat HDMI to FFC
dmcke5/ZenDeck
This is the second revision of my Mini PC based handheld Gaming PC! It is designed for a Beelink SER 5 Mini PC but could be adapted to other systems by changing the mounting brackets and outlet plate.

VMK recovery tool for SPI-based TPM 2.0 chips.
Pico tpm spider is an open-source printed circuit board by decrazyo, from the decrazyo/pico-tpm-spider repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 25 × 73 mm with 4 parts on 51 nets, routed with 25 tracks and 0 vias.
It is built around the CF31201D0R0-05-NH. Its parts include 2 connectors and 1 IC. It belongs with the RP2040 boards of this library.
Pico TPM SPIder is a Volume Master Key (VMK) recovery tool for SPI-based TPM 2.0 chips, built on Raspberry Pi Pico hardware. It passively monitors SPI communication with a discrete TPM 2.0 chip and parses transactions in real time to extract the VMK. This project specifically targets the STMicroelectronics ST33TPHF2XSPI used in several Dell laptops, though other devices and TPM 2.0 chips may be compatible.
Pico TPM SPIder is designed to capture TPM SPI traffic clocked at 10MHz to 50MHz with or without the use of a chip select signal. Lower frequencies can be supported by modifying sniffer.pio. Higher frequencies may be supported through overclocking.
The following devices have been tested.
| device | working | bus voltage | chip select | notes |
|---|---|---|---|---|
| Dell Latitude 5320 | yes | 3.3V | inaccessible | SPI flash memory, unpopulated SPI connector |
| Dell Latitude 5430 | yes | ? | ? | Tested by volttest-jpg |
| Dell Latitude 5431 | yes | 3.3V | inaccessible | SPI flash memory |
| Dell Precision 3490 | yes | 1.8V | inaccessible | SPI flash memory |
| HP EliteBook 645 G10 | yes | 3.3V | inaccessible | SPI flash memory, use a shorter sniffer timeout (~30ns) |
| HP Elitebook 840 G10 | yes | ? | ? | Tested by volttest-jpg |
[!CAUTION] Check the voltage of your target device's SPI bus! The Raspberry Pi Pico is only designed to work with 3.3V logic. A converter should be used to interface with other bus voltages. The TXS0108E has been proven to work for this.
The following methods of connecting to the SPI bus have been tested.
All of the tested devices have a SPI flash memory chip, presumably the BIOS/UEFI, on the same bus as the TPM chip. A WSON8 probe can be used to connect to the SPI bus via the flash chip. This is by far the easiest way to connect to the SPI bus.

A custom PCB, inspired by stacksmashing's design, is provided in the hardware directory and simplifies connecting to the SPI bus on Dell Latitude 5320 laptops via an unpopulated connector.
The PCB provides two methods for interfacing with the connector.

Pogo Pins (hard to solder, easy to use)
The board includes footprints for pogo pins that align with the Latitude 5320's unpopulated connector.
Flat Flex Ribbon (easy to solder, hard to use)
The board accommodates a flat flex ribbon connector.
A flat flex ribbon can be connected to the PCB and then pressed against the Latitude 5320's unpopulated connector.
Since the unpopulated connector does not include a chip select (CS) signal, the PCB grounds the Pi Pico's CS input (GPIO 3) by default.
Cutting jumper JP1 will disconnect the CS input from GND.
| description | part number |
|---|---|
| Pogo Pins | P50-B1-16mm |
| Flat Flex Ribbon | 0982660209 |
| Flat Flex Ribbon Connector | CF31201D0R0-05-NH |
Needle probes can be used to connect to any exposed part of the SPI bus. Such a setup can be precarious so soldering may be a better option if you have some 30 gauge wire and a steady hand.
[!NOTE] Interference can cause various issues including failure to boot, entering Dell's "manufacturing mode", BIOS/UEFI corruption, and failure to recover the VMK. Keep your SPI wires short, away from sources of interference, and preferably shielded to avoid those issues.
Download the Raspberry Pi Pico SDK.
Install dependencies specified by the Raspberry Pi Pico SDK documentation.
Build the project.
git clone https://github.com/decrazyo/pico-tpm-spider.git
cd pico-tpm-spider
export PICO_SDK_PATH=/path/to/your/Pico-SDK
mkdir build
cd build
cmake ..
make[!NOTE] Built on Debian 12.
Press and hold the BOOTSEL button while plugging in the Pi Pico to make it appear as a mass storage device.
Install the Pico TPM SPIder firmware by copying pico-tpm-spider/build/pico-tpm-spider.uf2 to the Pi Pico's mass storage device.
Connect the Pi Pico's pins to your TPM chip according to the following table.
| pico pin | spi signal |
|---|---|
| GPIO 0 | MOSI |
| GPIO 1 | MISO |
| GND | GND |
| GPIO 2 | CLK |
| GPIO 3 | CS or GND |
[!NOTE] The use of a chip select (CS) signal is optional but recommenced since it significantly reduces the amount of data that the Pi Pico needs to parse.
[!IMPORTANT] If you're not providing the Pi Pico with the TPM's CS signal then GPIO 3 must be grounded! GPIO 3 is grounded by default on the provided PCB.
Connect to the Pi Pico with your serial terminal of choice and boot the target system.
picocom -q /dev/ttyACM0 -b 115200You should see output similar to this.
Capturing SPI traffic into 12 16384-byte buffers.
Press any key to finalize the capture and reboot.
VMK: DEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DE
[!NOTE] If the VMK does not automatically appear by the time the system has booted then press a key to finalize the capture. This will cause the Pi Pico to parse any data remaining in its buffer and may recover the VMK.
The recovered VMK can be used with the dislocker utility to decrypt the target system's hard drive.
echo DEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DE | xxd -r -p > vmk.bin
mkdir /mnt/dislocker
mkdir /mnt/drive_c
dislocker -K vmk.bin /dev/sdb3 /mnt/dislocker
mount -t ntfs-3g -o remove_hiberfile,recover /mnt/dislocker/dislocker-file /mnt/drive_c
ls /mnt/drive_c/| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | CF31201D0R0-05-NH | footprints:CONN_CF31201D0R0-05-NH_CVI | J2 |
| 1 | Conn_01x06 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J1 |
| 1 | GND CS | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1 |
| 1 | Pico | MCU_RaspberryPi_and_Boards:RPi_Pico_SMD_TH | U1 |

dmcke5/ZenDeck
This is the second revision of my Mini PC based handheld Gaming PC! It is designed for a Beelink SER 5 Mini PC but could be adapted to other systems by changing the mounting brackets and outlet plate.

joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.


hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

drandyhaas/KiCadRoutingTools
A set of Python/Rust tools to aid routing in KiCad

osy/XG_Mobile_Station
Open source eGPU dock for ROG Ally and ROG Flow

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
It measures 25 × 73 mm and has 2 copper layers, 1.6 mm thick.
4 parts, built around the CF31201D0R0-05-NH. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the decrazyo/pico-tpm-spider repository on GitHub, at the commit this page was made from: the board is hardware/pico-tpm-spider.kicad_pcb and its schematic hardware/pico-tpm-spider.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).