Skip to the content
2 layers75 × 40 mmPulse shaping extension v1.1, the printed circuit board in 3D

Pulse shaping extension v1.1

MKesenheimer/fault-injection-library218

Python library to perform fault-injection attacks on microcontrollers

Size
75 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
86
Nets
61
Pads
252
Tracks, vias
595, 136
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
15 May 2024
Updated
21 Oct 2026

Overview

Pulse shaping extension v1.1 is an open-source printed circuit board by MKesenheimer, from the MKesenheimer/fault-injection-library repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 75 × 40 mm with 86 parts on 61 nets, routed with 595 tracks and 136 vias.

It is built around the AD9102BCPZRL7, ADA4817-1ACP and THS3091DDAR, with the OB3225125MLDB6SI-00 among its other parts. Its parts include 31 capacitors, 23 resistors, 7 connectors, 4 ICs and 3 diodes.

Main components

4

README

README.md

Usage with examples

Findus (aka the fault-injection-library) is a toolchain to perform fault-injection attacks on microcontrollers and other targets. This library offers an easy entry point to carry out fault-injection attacks against microcontrollers, SoCs and MCUs. With the provided and easy to use functions and classes, fault-injection projects can be realized quickly with cheap and available hardware.

Findus supports the ChipWhisperer Pro, the ChipWhisperer Husky and the Pico Glitcher.

More information about the fault-injection-library and the Pico Glitcher can be found on https://fault-injection-library.readthedocs.io/en/latest/.

Table of contents

Purchasing the Pico Glitcher

Only a Raspberry Pi Pico and a few other components are required to use this software. However, in order to achieve the best results, a circuit board was developed that was adapted directly for the fault-injection-library.

The board consists of a Raspberry Pi Pico, two level shifters for in- and outputs with any voltage, and glitching transistors that can switch up to 66 amps. A multiplexing stage to quickly switch between up to four different voltage levels was added in revision 2.

There are several connection options for different voltage sources, from 1.8V, 3.3V to 5V. The Pico Glitcher can also be supplied with any external voltage via VCC_EXTERN. To power the target board, it is supplied with power via the VTARGET connection. The output of this voltage source can be controlled via software, i.e. the target can be completely disconnected from power by executing the power_cycle_target() command. This allows a cold start of the target to be carried out in the event of error states that cannot be eliminated by a reset.

Assembled Pico Glitcher v1

The Pico Glitcher can be purchased from the faultyhardware online store. If you have questions or special requests, please feel free to contact me.

Documentation

The documentation of the source code and how to use the library and the hardware can be found on https://fault-injection-library.readthedocs.io/.

Installing findus

If you just want to get started quickly and don't want to bother with the source code of findus, findus can be installed via pip. The findus library can be found on https://pypi.org/project/findus/ and can be installed locally in a Python environment using the following command:

bash
mkdir my-fi-project && cd my-fi-project
python -m venv .venv
source .venv/bin/activate
pip install findus

Install the optional RD6006 python bindings if you have a RK6006 or a RD6006 power supply from Riden:

bash
pip install rd6006

This external power supply can be used optionally to supply the target with power. It is possible to control the RD6006 power supply via the findus library using the power supply's USB interface. Suitable functions for this are implemented in the findus library. Don't worry if you don't have this power supply. The Pico Glitcher can also supply the target with voltage.

Now you can use findus:

bash
python
>>> from findus import Database, PicoGlitcher
...

The next step is to copy an existing glitching script and to adapt it to your needs. Start by copying https://github.com/MKesenheimer/fault-injection-library/blob/master/example/pico-glitcher.py. More example projects are located at https://github.com/MKesenheimer/fault-injection-library/tree/master/projects.

See examples for more information how to use findus and the Pico Glitcher.

Updating the Pico Glitcher firmware

Your Pico Glitcher should come with the latest firmware already installed. If not, follow the following procedure to update the software on the Pico Glitcher.

Step 1: MicroPython firmware

Download the MicroPython firmware from https://micropython.org/download/RPI_PICO/. Unplug the Pico Glitcher from your computer, press and hold the 'BOOTSEL' button on the Raspberry Pi Pico and connect it back to your computer. The Raspberry Pi Pico should come up as a flash-storage device. Copy the MicroPython firmware ('RPI_PICO-xxxxxxxx-vx.xx.x.uf2') to this drive and wait until the Raspberry Pi Pico disconnects automatically. More information about setting up the Raspberry Pi Pico can be found here.

Step 2: Install the findus library

Skip this step, if you already installed findus previously.

If you want to make sure that the libraries to be installed do not collide with your local Python environment, use a virtual environment. Set it up by generating a new virtual environment and by activating it:

bash
python -m venv .venv
source .venv/bin/activate

After these steps we have to install findus (aka fault-injection-library). Make sure to have pip installed.

bash
pip install findus

Step 3: Update the firmware of your Pico Glitcher

If everything went well, you should have the update-fw script available for execution in your command-line environment. Connect the Pico Glitcher to your computer and check which serial device comes up:

bash
ls /dev/tty*

Take note of the device path. Next update the Pico Glitcher firmware and the specific configuration for your Pico Glitcher hardware version via the following command:

bash
update-fw --port /dev/<rpi-tty-port> --version <pico-glitcher-version>

Your Pico Glitcher should now be ready to perform fault-injection attacks.

Installing from source

If you want to get involved in the development or to have access to all the resources of this repository, clone the findus library:

bash
git clone --depth 1 --recurse-submodules \ 
    https://github.com/MKesenheimer/fault-injection-library.git

Install the findus and the optional rd6006 library:

bash
cd fault-injection-library
pip install .
cd rd6006
pip install .
update-fw --port /dev/<rpi-tty-port> --version <pico-glitcher-version>

The next step is to copy an existing glitching script and to adapt it to your needs. Start by copying fault-injection-library/example/pico-glitcher.py. More example projects are located at fault-injection-library/projects.

Test the functionality of your Pico Glitcher

The following setup can be used to test the Pico Glitcher.

  • Connect 'TRIGGER' input with 'RESET'.
  • Between 'GLITCH' and 'VTARGET', connect a 10 Ohm resistor (this is the test target in this case).
  • Optionally connect channel 1 of an oscilloscope to 'RESET' and channel 2 to 'GLITCH'.

Example setup

Next, run the test script pico-glitcher.py located in fault-injection-library/example:

bash
cd example
python pico-glitcher.py --rpico /dev/<rpi-tty-port> --delay 1000 1000 --length 100 100

You should now be able to observe the glitches with an oscilloscope on the 10 Ohm resistor. Measure the expected delay and glitch length with the oscilloscope.

UART Trigger

  • Connect 'TRIGGER' input to 'RX' and 'TX' of a USB-to-UART adapter
  • Between 'GLITCH' and 'VTARGET', connect a 10 Ohm resistor (this is the test target in this case).
  • Optionally connect channel 1 of an oscilloscope to 'RESET' and channel 2 to 'GLITCH'.

Example setup

Next, run the test script pico-glitcher-uart.py located in fault-injection-library/example:

bash
cd example
python pico-glitcher-uart.py --rpico /dev/<rpi-tty-port> --target /dev/<target-tty-port> --delay 1000 1000 --length 100 100

You should now be able to observe the glitches with an oscilloscope on the 10 Ohm resistor. Measure the expected delay and glitch length with the oscilloscope.

More Examples

More examples can be found on https://fault-injection-library.readthedocs.io/en/latest/examples/# or under fault-injection-library/projects.

Analyzer

During your glitching campaign, run the analyzer script in a separate terminal window:

bash
analyzer --directory databases

This spins up a local web application on http://127.0.0.1:8080 which can be used to observe the current progress.

Parameter space web application

Parts

86
QtyValueFootprintReferences
160.1uFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C6, C8, C9, C11, C13, C15, C17, C21, C23, C27, C29, C30
9100pFCapacitor_SMD:C_0603_1608MetricC5, C7, C10, C12, C14, C16, C18, C22, C24
410KResistor_SMD:R_0603_1608MetricR13, R15, R16, R17
3150Resistor_SMD:R_0603_1608MetricR8, R9, R10
34.7kResistor_SMD:R_0603_1608MetricR1, R2, R3
3Conn_CoaxialConnector_Coaxial:SMA_Amphenol_901-144_VerticalJ2, J3, J7
21.5pFCapacitor_SMD:C_0603_1608MetricC25, C26
21uFCapacitor_SMD:C_0805_2012MetricC19, C20
22.2uFCapacitor_SMD:C_0805_2012MetricC28, C31
249.9Resistor_SMD:R_0603_1608MetricR18, R21
2500Resistor_SMD:R_0603_1608MetricR19, R22
26.8kResistor_SMD:R_0603_1608MetricR5, R7
2Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4, J5
2MountingHoleMountingHole:MountingHole_3mmH1, H2
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP3
2TP_IOUTPTestPoint:TestPoint_Pad_D1.0mmTP9, TP10
11Resistor_SMD:R_2512_6332MetricR23
110Resistor_SMD:R_2512_6332MetricR20
1100Resistor_SMD:R_0603_1608MetricR4
110kResistor_SMD:R_0603_1608MetricR14
1120Resistor_SMD:R_0603_1608MetricR12
11kPotentiometer_SMD:Potentiometer_Bourns_TC33X_VerticalRV1
11kResistor_SMD:R_0603_1608MetricR6
1560Resistor_SMD:R_0603_1608MetricR11
1AD9102BCPZRL7footprints:CP-32-12_ADIU1
1ADA4817-1ACPPackage_CSP:LFCSP-8-1EP_3x3mm_P0.5mm_EP1.45x1.74mmU3
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6
1Conn_02x10_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ1
1LED_BLUE_TRIGLED_SMD:LED_0603_1608MetricD3
1LED_GREEN_RESETLED_SMD:LED_0603_1608MetricD2
1LED_RED_3.3VLED_SMD:LED_0603_1608MetricD1
1OB3225125MLDB6SI-00Oscillator:Oscillator_SMD_SiTime_PQFD-6L_3.2x2.5mmX1
1THS3091DDARfootprints:VREG_LM5017MR_NOPBU4
1TP_-5VTestPoint:TestPoint_Pad_D1.0mmTP8
1TP_3.3VTestPoint:TestPoint_Pad_D1.0mmTP3
1TP_5VTestPoint:TestPoint_Pad_D1.0mmTP4
1TP_GNDTestPoint:TestPoint_Pad_D1.0mmTP2
1TP_INTERMTestPoint:TestPoint_Pad_D1.0mmTP11
1TP_OUTTestPoint:TestPoint_Pad_D1.0mmTP12
1TP_REFIOTestPoint:TestPoint_Pad_D1.0mmTP1
1TP_RSTTestPoint:TestPoint_Pad_D1.0mmTP7
1TP_TRIGTestPoint:TestPoint_Pad_D1.0mmTP6
1TP_VCCTestPoint:TestPoint_Pad_D1.0mmTP5
1~Package_TO_SOT_SMD:SOT-363_SC-70-6U5

More from MKesenheimer/fault-injection-library

1
  • 2 layers57 × 25.5 mmStm8s target v1.1, the printed circuit board in 3D

    Stm8s target v1.1

    MKesenheimer/fault-injection-library

    Python library to perform fault-injection attacks on microcontrollers

    42 parts218GPL-3.0

Similar boards

  • 2 layers69.6 × 56 mmDDR4, the printed circuit board in 3D

    DDR4

    mohamad337/kicad_kentix7_XC7K160T

    kicad pcb for SOM kentix 7 XC7K160T

    149 parts
  • 4 layers86 × 96 mmFsorx, the printed circuit board in 3D

    Fsorx

    haunma/fieldmill

    Hardware and software for an electrostatic field mill

    161 parts1CC-BY-SA-4.0
  • 6 layers76.8 × 160.6 mmScopefun v3, the printed circuit board in 3D

    Scopefun v3

    J1DDERY/data_sampling

    405 parts
  • 2 layers160 × 99.1 mmFM VCO, the printed circuit board in 3D

    FM VCO

    mimeiners/ans

    HSB B.Eng. ET M 6.10 ANS

    104 partsApache-2.0
  • 4 layers160 × 170 mmAnalog matrix 4x4 3d, the printed circuit board in 3D

    Analog matrix 4x4 3d

    tim4431/analog_programmable_matrix

    DC-coupled 4x4 programmable analog matrix: signed gains, 1 MHz target, BNC I/O, Pico control, KiCad PCB and enclosure CAD.

    434 parts
  • 4 layers100 × 100 mmDIY AWG V1.1, the printed circuit board in 3D

    DIY AWG V1.1

    Xpeditor15/DIY_AWG_V1.0

    235 parts
  • 4 layers110 × 70 mmAD4030-Voltage, the printed circuit board in 3D

    AD4030-Voltage

    BehrensG/ARTY_Z7

    Repository with test projects to learn Zynq 7000 SoC.

    192 parts1
  • 2 layers162.2 × 126.5 mmRedox rev1, the printed circuit board in 3D

    Redox rev1

    mattdibi/redox-keyboard

    Ergonomic split mechanical keyboard

    86 parts2kMIT

Questions

How big is the Pulse shaping extension v1.1 PCB?

It measures 75 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pulse shaping extension v1.1 use?

86 parts, built around the AD9102BCPZRL7, ADA4817-1ACP, THS3091DDAR and OB3225125MLDB6SI-00. 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 Pulse shaping extension v1.1 KiCad files?

From the MKesenheimer/fault-injection-library repository on GitHub, at the commit this page was made from: the board is schematics/kicad/pulse-shaping-extension-v1.1/pulse-shaping-extension-v1.1.kicad_pcb and its schematic schematics/kicad/pulse-shaping-extension-v1.1/pulse-shaping-extension-v1.1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pulse shaping extension v1.1 design in my own project?

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).