A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stlink-org/stlink/commit/32e8dcc8b5dbed7b6412e7838ea1b2c41f0247fd below:

Access to the UART via a virtual COM port · stlink-org/stlink@32e8dcc · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+12

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+12

-1

lines changed Original file line number Diff line number Diff line change

@@ -43,7 +43,7 @@ The stlink-gui offers the following features:

43 43 44 44

Within the GUI main window tooltips explain the available user elements.

45 45 46 -

## Solutions to common problems

46 +

## HowTos & solutions to common problems

47 47 48 48

### a) Verify if udev rules are set correctly (by Dave Hylands)

49 49

@@ -164,6 +164,17 @@ However the external bus can be *RAM* or *ROM* depending on design.

164 164

The STM32H735-DK has external FLASH at address 0x90000000. As a result, because the entire external memory range is `ram` as it could be either,

165 165

software breakpoints (Z0) get sent when a breakpoint is created and they never get tripped as the memory area is read only.

166 166 167 +

### f) UART-Access via a virtual COM port

168 + 169 +

Access to the Universal Asynchronous Receiver Transmitter (UART) via a virtual COM port is not related to the stlink toolset itself. It is an independent feature that should natively be available on UNIX-based operating systems. Windows operating systems require the installation of a virtual COM device driver. The appropriate device driver is downloaded and installed automatically via Windows Update in the background as soon as the device is plugged-in for the first time. A connected ST-LINK programmer with UART functionality is detected as a CDC (ACM) USB device. After each reset the device will be reloaded and will pop up as `/dev/ttyACM0` or `/dev/ttyACM1` depending on the specific design.

170 + 171 +

UART connections to the interface are typically initiated with a serial terminal. For UNIX operating systems we recommend to use either [minicom](https://en.wikipedia.org/wiki/Minicom) (terminal-based) or [cutecom](https://cutecom.sourceforge.net/) (GUI-based). Windows users should have a look at [Teraterm](https://github.com/TeraTermProject/teraterm).

172 + 173 +

Most common and established settings for the interface are 115200 or 9600 baud together with the `8-N-1` configuration, standing for (8) data bits, no parity bit (N) and (1) stop bit. Please refer to relevant literature on the UART interface for more detailed technical information and limitations.

174 + 175 +

Note: On some debian-based UNIX-based systems the `modemmanager` package is installed by default. In has been reported that this tool unfortunately may delay the release of the serial port to applications which is handled by the operating system in the background. Subseqently the CDC/ACM device is also delayed after each reset. This typically includes not only the connection itself, but also some programming operations (at least those using the mass storage emulation). However one can not predict the behaviour exactly - in some cases the boards may be essentially useless or even working fairly well.

176 +

Proper determined functionality can be achieved by uninstalling the `modemmanager` package or by setting an appropriate `udev` device rule.

177 + 167 178

---

168 179 169 180

( Content below is currently unrevised and may be outdated as of Mar 2021. )

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4