

cheap and terrible voltage glitcher hardware/software
- Size
- 52.5 × 44.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 44
- Nets
- 36
- Pads
- 177
- Tracks, vias
- 446, 37
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 27 Dec 2019
- Updated
- 1 Jan 2020
Overview
Pmod2 is an open-source printed circuit board by noopwafel, from the noopwafel/iceglitch repository on GitHub. It is a 2-layer board of 52.5 × 44.3 mm with 44 parts on 36 nets, routed with 446 tracks and 37 vias.
It is built around the L272M, MAX4232AKA and MCP4822-E/P, with the THS4631DDA, MAX4619CPE+ and TS5A63157DCK among its other parts. Its parts include 13 capacitors, 9 ICs, 8 resistors, 7 connectors and 3 inductors.
Main components
6L272M
DIP8-300Dual Power Operational AmplifierSTMicroelectronicsUncategorisedMAX4232AKA
SOT-23-8-40℃~+125℃ 1.1mA 10V/us 2 200mA 3uV/℃ 50pA 50pA 70dB 850uV Rail-to-Rail Input, Rail-to-Rail Output SOT-23-8 Operational AmplifierMaxim Integrated (Analog Devices)Operational AmplifierMCP4822-E/P
PDIP-8-40℃~+125℃ 12 12LSB 2 2.7V~5.5V 20MHz 4.5us 415uA 50ppm/℃ Built-in Built-in SPI Voltage Buffer PDIP-8 Digital to Analog Converters (DAC) ROHSMicrochip TechnologyDigital To Analog Converters (DAC)THS4631DDA
SOIC-8-EP-15V~-5V、5V~15V -40℃~+85℃ 1000V/us 100pA 100pA 10V~30V 12.5mA 180mA 2.5uV/℃ 210MHz 500uV 7nV/√Hz@10kHz 95dB SOIC-8-EP FET Input Amplifiers ROHSTexas InstrumentsFET Input AmplifiersMAX4619CPE+
PDIP-160℃~+70℃ 10ns 10Ω 15ns 21pF 2:1 2V~5.5V 3 PDIP-16 Analog Switches, Multiplexers ROHSMaxim Integrated (Analog Devices)Analog Switches, MultiplexersTS5A63157DCK
SC-70-6-40℃~+85℃ 1 1.65V~5.5V 12Ω 3.8ns 5.7ns SPDT SC-70-6 Analog Switches, Multiplexers ROHSTexas InstrumentsAnalog Switches, Multiplexers
README
README.mdiceGLITCH
iceGLITCH is a cheap, fun and terrible voltage glitcher!
You can use it to inject faults in the voltage line of targets, making them do weird things.
You can control both the normal and glitch voltage levels, and if you squint and sort of wave your hands a lot, then you can pretend you get ~200ps of resolution for the glitch length (time that the voltage is changed from normal to glitch level). Accuracy, on the other hand, is left as an exercise for the reader..
Many people played with this at the 'Hardware Slackers' assembly at 36C3! We're still recovering and will update the repository once we've gotten a few days of good sleep.
This is what a typical setup looks like:

And this is an example of what a real-world attack looks like (from our 36C3 assembly):

Hardware
You can solder a good-enough (fun!) version of this glitcher using protoboard, but nowadays we use a PCB version (see the 'pcb' directory). You can solder several different combinations of components to get different glitcher designs, some of which make more sense than others; however, we guarantee that all combinations will be both terrible and fun.
You can use it with any ICE40HX FPGA board with a PMOD connector; we're using the cheap (~22eur) 'iCEstick'.
Also it turns out you don't have to solder it nicely, it'll work fine anyway:

Code
The 'TOE' directory contains code for some example targets.
The FPGA code (to be built using the open source yosys/nextpnr toolchain) is in the 'fpga' directory. We can't write verilog, there are no test cases, it is all terrible. We are sorry, our code is bad and we should feel bad. But it works :D
The (python) scripts are in the 'scripts' directory, including scripts to attack the example targets.
History/Context
We built a horrible, horrible 5eur "oscilloscope" for our 35C3 side channel analysis workshop: the HorrorScope. This glitcher is our attempt to build a similar cheap-and-cheerful workshop platform for voltage glitching.
Some of our friends used it at the HITB CyberWeek in October 2019, and we "released" it at 36C3 in December 2019.
Thanks to everyone who helped inspire or test our hacks, and thanks to @nedos in particular for making us realize we could just use a cheap analog switch rather than overcomplicating things!
Parts
44| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | C | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13 |
| 8 | R | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R1, R2, R3, R4, R5, R7, Rld1, Rld2 |
| 4 | 0 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | Rfb1, Rfb2, Rfb3, Rfb4 |
| 4 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J3, J4, J6, J7 |
| 2 | L | Inductor_SMD:L_1210_3225Metric_Pad1.42x2.65mm_HandSolder | L1, L2 |
| 2 | trigger | Package_TO_SOT_SMD:SOT-23-6 | U5, U6 |
| 1 | AP2210N-4.0 | Package_TO_SOT_SMD:TSOT-23 | U8 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J5 |
| 1 | Ferrite_Bead_Small | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder | L3 |
| 1 | L272M | Package_DIP:DIP-8_W7.62mm_LongPads | U1 |
| 1 | MAX4232 | Package_TO_SOT_SMD:SOT-23-8 | U7 |
| 1 | MAX4619 | Package_DIP:DIP-16_W7.62mm_LongPads | U2 |
| 1 | MCP4822 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | PMOD | Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_Vertical | J2 |
| 1 | THS4631DDA | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U9 |
| 1 | TS5A63157 | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | USB_B_Micro | custom:USB_Micro-B_Amphenol_hax | J1 |
Similar boards
- 4 layers120.6 × 72.4 mm

- 6 layers140.8 × 81.3 mm

- 2 layers76.2 × 49.5 mm

DS projekt
OipRDDinoSaric/Controlling-analogue-switches-on-a-PIC-microcontroller
Designing and soldering a PCB. Programming a PIC microcontroller using MP LAB X-IDE.
34 parts - 4 layers99 × 53.3 mm

PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io
199 parts1.7kApache-2.0 - 2 layers111.3 × 106.4 mm

Super Sixteen v1
matthewcieplak/super-sixteen
Code and schematics for the Super Sixteen Eurorack sequencer
141 parts171 - 2 layers83.8 × 72.4 mm

- 2 layers120 × 102.5 mm

- 2 layers50 × 142.5 mm

Triggerbox
strawlab/triggerbox
camera triggering for synchronized multi-camera setups
19 parts19Apache-2.0
Questions
How big is the Pmod2 PCB?
It measures 52.5 × 44.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pmod2 use?
44 parts, built around the L272M, MAX4232AKA, MCP4822-E/P and THS4631DDA. 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.
Where can I download the Pmod2 KiCad files?
From the noopwafel/iceglitch repository on GitHub, at the commit this page was made from: the board is pcb/pmod2/pmod2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pmod2 design in my own project?
Its repository states no licence, so its author keeps all rights: ask noopwafel before reusing the design.