Skip to content

STM32 Nucleo L432KC I2C EC debugger


This document describes the process of configuring, connecting and using an STM32 based Dasharo EC debugger.


To make use of this debugger, you will need:

  • STM32 Nucleo L432KC board
  • USB Type micro-B (to Type A or C) cable for connecting to host
  • A DUT (Device Under Test) with the required debugging wires installed
  • Some jumper wires
  • minicom installed on the host system

To build the required Nucleo firmware, you'll also need to:


To build and flash the required Nucleo firmware:

  1. Build the I2C to UART relay firmware:

    $ west init -m --mr master
    $ west update
    $ west build --board nucleo_l432kc zephyr-i2c-to-uart/app/
  2. Connect the Nucleo to your host system via USB

  3. Flash the firmware to the board:

    $ west flash


Make the following connections:

  • Laptop SCL to Nucleo pin D1/TX
  • Laptop SDA to Nucleo pin D0/RX
  • Laptop ground to any of the GND pins on the Nucleo


Verify that the UART relay is working correctly:

  • Enable Serial Console Redirection in the UEFI Setup menu on the DUT
  • Connect the Nucleo to your host system
  • Run the following command:

    $ minicom -D /dev/ttyACM0

You should see the UEFI console in your minicom window.

Only input (capturing logs) is supported at this moment. Output (control of the DUT) is currently unimplemented.