![]() ![]() ![]() Please see Hardware versions to check for the connection details.Ĥ To go further 4.1 Updating embedded firmware Īll information given in the STSW-LINK007 software package in st.com. Pins are available on the ST-LINK to connect the Rx/Tx and GND signals. USB device is mounted on the host PC, and ready to be used. UART serial port is available from the USB link provided by the ST-LINK. 3.3 Connecting UART port (from ST-LINK/V2-1) JTAG: please ensure these signals are connected to the JTAG/ SWD connector: VCC, JTDI, JTMS, JCLK, JRCLK, JTDO, NRST and GDN - SWD: please ensure these signals are connected to the JTAG/ SWD connector (on some ST-LINK hardware version, a dedicated SWD port can be available also): VCC, SWCLK, SWDIO, NRST, SWO and GND. Please see Hardware versions to check for the connection details. Pins are available on the ST-LINK to connect the JTAG/ SWD signals. JTAG/ SWD link is available from the USB link provided by the ST-LINK. It is then necessary to add rules into /etc/udev/rules.d.Īll information and files for installing the udev rules are provided in the STSW-LINK007 package in st.com (see stsw-link007\AllPlatforms\StlinkRulesFilesForLinux\Readme.txt file).ģ.2 Connecting JTAG/ SWD for debug Users must be granted with rights for accessing the ST-Link USB devices. ![]() The driver is automatically installed by the toolsets supporting ST-LINK. Serial communication port is using standard CDC ACM USB Class, which is usually present by default on all PC operating system.Ībout USB driver for the debugger, this could differ depending of the PC operating system:Ī driver must be installed before connecting ST-LINK to a Windows® 7, Windows 8, or Windows® 10 PC via the USB. To check for the ST-LINK version which is embedded in ST boards, you have to refer to the Getting started with ST boards page, and then select your current HW board.ģ Getting started 3.1 Installing USB driver ĭepending of the ST-LINK version, two USB drivers are associated: one for the debugger itself, and one for the serial communication port from ( ST-LINK/V2-1). įor details about different versions, please refer to the technical note of ST-LINK derivatives. Several versions of ST-LINK exists: ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-A, ST-LINK/V2-B, ST-LINK/V2-1 and STLINK-V3SET. SWD/ JTAG: debug protocol for STM32 microcontrollers and microprocessors.SWIM: debug protocol for STM8 microcontrollers.It can be either embedded on ST boards or provided as standalone dongle.ĭepending on the version of the ST-LINK hardware and on the version of its embedded firmware, it can support different debug protocols: ST-LINK is a USB device and has to be connected to a PC host. The ST-LINK is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families. 3.3 Connecting UART port (from ST-LINK/V2-1).I think there is no way to use two programs twice without doing instalation of the proper driver for each program. Or you can also do: Device Manager > select device (right click) > Update Driver > Browse my PC for drivers > Choose from a list of available drivers > Choose STMicroelectronics STLink dongle. You can do this by reverting to the previous driver in Device Manager > select device > Driver. However, the programmer of the STM32CubeIDE does not work, you should go back to the previous version of the driver for it to work again. Using this program, I selected the ST-LINK Debug device and replaced the driver. To make it recognize, I had to load the libusb-win32 (v1.2.6.0) driver that comes by default to install with the Zadig program ( ). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |