User Tools

Site Tools




This Wiki page contains additional information for the Modtronix PGM-NUCLEO product. Please feel free to register and improve this page - user contributions are greatly appreciated!

This board enables programming and debugging of STM32 boards. It also provides a USB CDC Virtual serial port for debugging the target STM32 board. When connecting this board to the USB port of your PC, it creates 3 USB interfaces:

  • ST-LINK/V2-1 Programmer and Debugger
  • A USB MSD(Mass Storage Device) enabling programming target device by drag and drop of bin file
  • A USB CDC Virtual Serial port (virtual com port)


All ST Nucleo development boards consists out of 2 parts, joined by PCB tabs. The main board with the target STM32 processor, and a second small board for programming a debugging. The PGM-NUCLEO is this small board that has been separated from the main board.

The small PGM6NC board has been added to it. It has a 6 pin connector, with the SWD pins (for programming STM32), reset pin and UART transmit and receive pins.

Connecting to STM32 Target

Connecting to the target is very simple. For programming, the following pins have to be connected:

  • SWCLK: Connect this to the SWD clock (SWCLK) pin of the target STM32. It is normally pin PA14 of the CPU
  • SWDIO: Connect this to the SWD data input/output(SWDIO) pin of the target STM32. It is normally pin PA13 of the CPU
  • RST: Connect this to the RESET of target STM32.
  • 0V: Connect this to the ground or 0V signal of the target STM32

In addition to programming, this board can also be connected to a UART of the target STM32 board:

  • RX: This is the receive pin of the programmer, connect to UART transmit of target STM32.
  • TX: This is the transmit pin of the programmer, connect to UART receive of target STM32.

USB Virtual Serial Port

When connecting this device to the USB port of your pc, it creates a USB virtual serial port. To use the USB CDC Virtual serial port, connect the TX pin of this board to the UART Receive, and RX pin to the UART Transmit of the target board. A standard serial port terminal application (like HyperTerminal) can be used to communicate with the STM32 UART. For example, writing debug information to the UART of the STM32 will be displayed in the terminal application on your PC. This is a very useful feature, specially during development and debugging of a new STM32 code.

Additional Information

For additional information, and help on installing required drivers, please see documentation provided by ST. See the Getting started with STM32 Nucleo board software development tools and User Manual for STM32 Nucleo boards for additional information. Section 5.2.4(Using ST-LINK/V2-1 to program/debug an external STM32 application) of UM1724 provided information on using programming external targets using the ST-LINK/V2-1 present on the Nucleo boards.

products/programmers/pgm-nucleo.txt · Last modified: 2015/07/20 22:05 by djhosken