
So8
florolf/spi-flasher
USB-C-to-SPI-flash adapter with level shifting, stm32-vserprog compatible

USB-C-to-SPI-flash adapter with level shifting, stm32-vserprog compatible
Spiflash is an open-source printed circuit board by florolf, from the florolf/spi-flasher repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 35 × 22 mm with 46 parts on 60 nets, routed with 279 tracks and 52 vias.
It is built around the STM32F103C8T6, SN74LVC1T45DBV and SRV05-4-P-T7, with the XC6206-2.8V among its other parts. Its parts include 19 capacitors, 10 resistors, 7 ICs, 5 connectors and 1 diode. It belongs with the interfaces and adapters boards and the STM32 boards of this library.


This repository contains an USB-C-to-SPI-flash adapter that is compatible with stm32-vserprog and also has integrated level-shifters towards the SPI flash. This was created mainly to try out the JLCPCB assembly service and because there is no convenient way to program 1.8V flash chips with the "Bluepill + mess of wires" setup I was using before. The pinout is arranged such that it matches the common flash test clips.
Furthermore, there is a simple breakout board that flash chips can be directly soldered onto if space in the target device is too tight to use such a clip (this is mainly useful when reverse-engineering third-party hardware).
The respective fab directories contain fabrication data (and in the case of
the adapter, JLCPCB-style assembly data) for the boards. As JLCPCB cannot
populate connectors at this time, those had to be assembled manually:
The way the target is powered can be selected through the pin header above the USB port: The target can be self-powered (no jumper), powered from the internal 3.3V rail (jumper between 3.3 and Vt) or powered externally (supply power between G and Vt).
The TRST/GND connector was meant as an extension that could be used (given a
modified version of stm32-vserprog) to keep a target device in reset while
accessing the flash to prevent interference. However, this does not really work
out mechanically, so it was never used.
Build stm32-vserprog using BOARD=stm32-jz01v20 and flash the firmware via
the TagConnect connector.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 100n | Capacitor_SMD:C_0402_1005Metric | C4, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19 |
| 4 | 33R | Resistor_SMD:R_0402_1005Metric | R4, R5, R9, R10 |
| 4 | SN74LVC1T45DBV | Package_TO_SOT_SMD:SOT-23-6 | U5, U6, U7, U8 |
| 3 | 1u | Capacitor_SMD:C_0603_1608Metric | C1, C5, C7 |
| 3 | TestPoint | TestPoint:TestPoint_Pad_D1.5mm | TP1, TP2, TP3 |
| 2 | 1k | Resistor_SMD:R_0402_1005Metric | R7, R8 |
| 2 | 20p | Capacitor_SMD:C_0402_1005Metric | C3, C6 |
| 2 | 5k1 | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 1k5 | Resistor_SMD:R_0402_1005Metric | R6 |
| 1 | 220R | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | 8MHz | Crystal:Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Clip | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J5 |
| 1 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | SRV05-4-P-T7 | Package_TO_SOT_SMD:SOT-23-6 | U2 |
| 1 | STM32F103C8T6 | Package_QFP:LQFP-48_7x7mm_P0.5mm | U4 |
| 1 | Tag-Connect | Connector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_Vertical | J2 |
| 1 | USB_C_Receptacle_USB2.0 | footprints:USB-C_16Pin | J1 |
| 1 | XC6206 | Package_TO_SOT_SMD:SOT-23 | U1 |
| 1 | green | LED_SMD:LED_0603_1608Metric | D1 |

florolf/spi-flasher
USB-C-to-SPI-flash adapter with level shifting, stm32-vserprog compatible



zakariyavkhan/allez-keyboard
Hardware and firmware files for the allez! mechanical keyboard

OpenSourceNeuro/Spikeling
A hardware implementation of spiking neurons for neuroscience teaching and outreach

OpenLogicEFI/Hardware
Hardware is based off an open source project called Speeduino by Josh Stewart.

OpenhimerLab/CareLite-GPIB
CareLite is an open-source, tiny, small USB-GPIB adaptor based on STM32 with temperature sensors.


It measures 35 × 22 mm and has 2 copper layers, 1.6 mm thick.
46 parts, built around the STM32F103C8T6, SN74LVC1T45DBV, SRV05-4-P-T7 and XC6206-2.8V. 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 florolf/spi-flasher repository on GitHub, at the commit this page was made from: the board is adapter/spiflash.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CC-BY-SA-4.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).