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:
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 the target is very simple. For programming, the following pins have to be connected:
In addition to programming, this board can also be connected to a UART of the target STM32 board:
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.
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.