Skip to the content
2 layers132.5 × 38 mmEmfi, the printed circuit board in 3D

SiliconToaster is an open-source hardware electromagnetic fault injection device, designed for hardware security research. It has the following features:

Size
132.5 × 38 mm
Copper layers
2
Thickness
1.6 mm
Parts
81
Nets
95
Pads
292
Tracks, vias
377, 331
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20231007)
Created
4 Jun 2023
Updated
3 Dec 2025

Overview

Emfi is an open-source printed circuit board by Ledger-Donjon, from the Ledger-Donjon/silicon-toaster repository on GitHub, published under the LGPL-3.0 licence. It is a 2-layer board of 132.5 × 38 mm with 81 parts on 95 nets, routed with 377 tracks and 331 vias.

It is built around the IKW40N120H3FKSA1, FT232RL and MCP1407-E/SN, with the 74LVC1G32Z, SCS-200LD and MBRM140T3 among its other parts. Its parts include 42 capacitors, 11 resistors, 9 diodes, 8 ICs and 6 connectors. It belongs with the STM32 boards of this library.

Main components

7

README

README.md

SiliconToaster

SiliconToaster

SiliconToaster is an open-source hardware electromagnetic fault injection device, designed for hardware security research. It has the following features:

  • Software programmable voltage, from 0 V to 1000 V.
  • Stored energy: 1 J at 1000 V.
  • Capable of multiple fault injection.
  • Dual socket coil mounting, for polarity selection.
  • USB-only powered.

Warning: this device is experimental and for research purpose only. High-voltage is exposed on the PCB, which can present electrical hazard. Use with caution and at your own risk. Beware that the coil body is connected to the high potential, NOT at the ground. Also, the exposed capacitor bank stores an important amount of energy.

Building the firmware

To build the firmware, rust shall be installed on your system (see instructions for installation).

The rust toolchain for Armv6-M Thumb must be installed:

text
rustup target add thumbv6m-none-eabi

The firmware can then be compiled using cargo:

text
cd firmware
cargo objcopy --release --bin silicontoaster -- -O binary silicontoaster.bin

To flash the device, stm32flash utility is required. The MCU bootloader can be enabled by shorting the header close to the USB connector using a jumper, before connecting the PCB on USB. Then the following command will flash the MCU (replace /dev/ttyUSB0 with the serial device in your situation):

text
stm32flash -w silicontoaster.bin -v -g 0 /dev/ttyUSB0

Alternatively, a makefile can run those steps:

text
cd firmware
make all
make flash

To enable device recognition, the FTDI USB-serial converter must be flashed using ftdi_eeprom tool. Warning: be sure no other FTDI device is connected before running this command!

text
cd ftdi
bash flash.sh

Running the software

To use the device, run python3 silicontoaster/tool.py. This will run a graphical interface that allows setting the operating voltage and display in real-time the voltage in the capacitors bank.

When running for the first time, configure the charge pump PID settings to Kp, Ki and Kd to 1. Be sure to have the jumper J5 installed (position closest to the USB).

The provided calibration values should work fine by default, it is not necessary to calibrate the device by yourself unless you want more accurate measurements.

Publication

This work was published in our Paper and presented during Hardwear.io 2020 conference.

Licensing

SiliconToaster is released under GNU Lesser General Public License version 3 (LGPLv3). See LICENSE and LICENSE.LESSER for license detail.

Parts

81
QtyValueFootprintReferences
20100nCapacitor_SMD:C_2225_5664Metric_Pad1.80x6.60mm_HandSolderC22, C23, C24, C25, C26, C27, C28, C29, C30, C31, C32, C33, C34, C35, C36, C37 +4
10100nCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5, C8, C9, C16, C17, C42
72.2µCapacitor_SMD:C_0603_1608MetricC6, C7, C10, C11, C12, C13, C14
6US1K-E3/61TDiode_SMD:D_SMA_HandsolderingD1, D2, D3, D4, D6, D9
410kResistor_SMD:R_0603_1608MetricR1, R3, R4, R7
4150nCapacitor_SMD:C_2225_5664Metric_Pad1.80x6.60mm_HandSolderC18, C19, C20, C21
3Conn_Coaxialmykicadlibs:SAMTEC_SMA_J_P_H_ST_EM3J2, J3, J6
210MResistor_SMD:R_0603_1608MetricR2, R11
264.9Resistor_SMD:R_0603_1608MetricR8, R10
2LD1117S33TR_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U4, U5
110µInductor_SMD:L_1812_4532MetricL2
122.1kResistor_SMD:R_0603_1608MetricR5
122uCapacitor_SMD:C_0805_2012MetricC15
12kResistor_SMD:R_0603_1608MetricR6
14.99Resistor_SMD:R_0603_1608MetricR9
174LVC1G32Package_TO_SOT_SMD:SOT-353_SC-70-5U8
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1DUNGEON_LOGOmykicadlibs:donjon-2000LOGO1
1FT232RLPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU2
1Ferrite_Bead_SmallInductor_SMD:L_0603_1608MetricL1
1IKW40N120H3FKSA1mykicadlibs:TO-247-3_Horizontal_TabDown_NoTabDrillQ2
1MBRM140T3Diode_SMD:D_Powermite_AKD5
1MCP1407-E/SNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU6
1MIC2288Package_TO_SOT_SMD:SOT-23-5U3
1SCS-200LDmykicadlibs:SCS-200LU7
1STM32F205RETxPackage_QFP:LQFP-64_10x10mm_P0.5mmU1
1STT6N3LLH6Package_TO_SOT_SMD:SOT-23-6Q1
1USB_B_MicroConnector_USB:USB_Micro-B_Wuerth_629105150521J1
1greenDiode_SMD:D_0603_1608MetricD8
1redDiode_SMD:D_0603_1608MetricD7

Similar boards

  • 2 layers30 × 43 mmHayashi light control, the printed circuit board in 3D

    Hayashi light control

    Ledger-Donjon/hayashi-light-remote

    USB remote control dongle for Hayashi LA-150CE halogen lamp

    34 parts2
  • 2 layers354 × 295.1 mmSV PWM card R01, the printed circuit board in 3D

    SV PWM card R01

    mariusenglund/three-phase-inverter

    Materials for enhancing the DC-to-AC converter that was designed as part of our bachelor's thesis in the spring of 2023.

    257 parts2GPL-3.0
  • 4 layers225.5 × 111.5 mmConsole Controller, the printed circuit board in 3D

    Console Controller

    guatek/KiCAD-BUM-2.0

    KiCAD design for BUM 2.0 custom electronics

    237 parts
  • 4 layers82 × 55 mmSpark, the printed circuit board in 3D

    Spark

    ratmuds/spark

    The PCB files for this project. The gerber and other PCBA files are in the production folder.

    202 parts1
  • 4 layers120.1 × 59.2 mmTEACar motor controller, the printed circuit board in 3D

    TEACar motor controller

    TEALab-UF/bldc_esc_pcb

    This repo contains the KiCAD files of the schematic and PCB layout for the TEACar BLDC motor controller

    145 parts1
  • 2 layers101.4 × 60 mmAtmega328p Spot welder, the printed circuit board in 3D

    Atmega328p Spot welder

    ANSHUMANDOCX/Spot-Welder-with-MCU

    this is a spot welder for 18650 batteries made using mosfets along with a atemga328p and rotary encoder along with a display and a 12v lead acid battery

    100 parts
  • 2 layers86 × 56.9 mmVoiture RC, the printed circuit board in 3D

    Voiture RC

    taillepierret/Voiture_RC

    28 parts

Questions

How big is the Emfi PCB?

It measures 132.5 × 38 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Emfi use?

81 parts, built around the IKW40N120H3FKSA1, FT232RL, MCP1407-E/SN and 74LVC1G32Z. 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 Emfi KiCad files?

From the Ledger-Donjon/silicon-toaster repository on GitHub, at the commit this page was made from: the board is hardware/emfi.kicad_pcb and its schematic hardware/analog.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Emfi design in my own project?

Its repository publishes it under the LGPL-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).