“Tera Term” sample application output (Windows): Mac Once you have found out the serial port number, open “Tera Term” and specifiy the port number and Baud rate via “Setup” > “Serial port…”: The correct USB modem COM port can be determined in the Windows “Control Panel” > “Device Manager” from the “Ports (COM & LPT)” entry: Two parameters are required to use the Virtual COM connection on the host: This serial communication is forwarded to the host by the ST-Link debugger via a USB Virtual COM connection and can be used with a terminal program. To allow serial print debugging, the target serial wires ( CN3, PA2+PA15) are connected to the ST-Link debugger. Connect target serial UART to host terminal If LD1 is lit red, no target connection could be established. LD1 quickly flashes for a few seconds and switches to green (connected). Completed setupĪfter all modifications have been done to the Nucleo board, according to the instructions above, the target board can be connected via the 8-pin adapter cable: Load firmware to targetĭrag and drop the “.bin” file containing the firmware to the Nucleo USB drive (“NODE_L476RG”): The ST-Link LD1 should light up, and the USB drive “NODE_L476RG” is mounted on the desktop. Connect the USB port to the ST-Link interface.When the ST-Link cable is connected to the target application, continue as follows: Another option is to break off the ST-Link part (see white dotted line in the Nucleo board figure above). Using the RX/TX/RST/SWO lines between a remote target and the Nucleo board ST-Link interface requires desoldering the 0 Ω bridges on the underside of the Nucleo board (see figure below). Preparation and connection of the adapter cableĪn 8-pin adapter cable acts as an ST-Link cable and is required to connect the Nucleo board to the target: Signalĭebug connector, VDD is not needed and may result in reverse current, therefore leave it open Open CN2 jumpers (2 x, this enables ST-Link for remote application debugging).Short JP4 via jumper (enables RX/TX signals on CN3).Solder in JP4 pin header (not factory fitted).Open JP6 jumper (3.3 V power of the Nucleo MCU, to avoid MCU signals).Do the following to connect the Nucleo board to the target (see figure of Nucleo board below): Use a standard Nucleo board which includes an ST-Link interface. Preparation of Nucleo board for remote target connection Use the “STLinkUpgrade” utility for updating the Nucleo L4 ST-Link firmware.Ensure that the Nucleo ST-Link firmware version is V2J29M18 or higher (otherwise the STML433 MCU does not work correctly):.Recommended STM manuals: UM1724, User manual, STM32 Nucleo boards. ![]() “Tera Term” or similar can be used as a Virtual COM terminal. the Mbed “.bin” files) can be copied to the Nucleo USB drive, which the Nucleo board will then flash into the target. The Nucleo board is connected via USB to a host (Mac, Windows, or Linux), the debugging and serial wires are connected to the target. This document describes how to use a Nucleo STM32L476RG board to connect to a target STM MCU for firmware downloading, debugging and serial terminal connection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |