kopia lustrzana https://github.com/stlink-org/stlink
doc: update doc to mention STLINK_DEVICE and --probe parameters if
applicable in all man filespull/934/head
rodzic
15f1c81b08
commit
ad0e52540e
|
@ -20,6 +20,9 @@ You can use this instead of st-util(1) if you prefer, but remember to use the
|
||||||
|
|
||||||
Use hexadecimal format for the *ADDR* and *SIZE*.
|
Use hexadecimal format for the *ADDR* and *SIZE*.
|
||||||
|
|
||||||
|
The STLink device to use can be specified using the --serial parameter, or via
|
||||||
|
the environment variable STLINK_DEVICE on the format <USB_BUS>:<USB_ADDR>.
|
||||||
|
|
||||||
# COMMANDS
|
# COMMANDS
|
||||||
|
|
||||||
write *FILE* *ADDR*
|
write *FILE* *ADDR*
|
||||||
|
|
|
@ -11,9 +11,12 @@ st-info - Provides information about connected STLink and STM32 devices
|
||||||
|
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
Provides information about connected STLink programmers and STM32 devices:
|
Provides information about connected STLink programmers and STM32 devices:
|
||||||
Serial code, OpenOCD hla-serial, flash, page size, sram, chipid, description.
|
Serial code, OpenOCD hla-serial, flash, page size, sram, chipid, description.
|
||||||
|
|
||||||
|
The STLink device to probe can be specified via the environment variable
|
||||||
|
STLINK_DEVICE on the format <USB_BUS>:<USB_ADDR>.
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,8 @@ If a port number is not specified using the **--listen_port** option, the
|
||||||
default **4242** port will be used.
|
default **4242** port will be used.
|
||||||
|
|
||||||
Stlink version 2 is used by default unless the option **--stlinkv1** is given.
|
Stlink version 2 is used by default unless the option **--stlinkv1** is given.
|
||||||
|
The STLink device to use can be specified using the --serial parameter, or via
|
||||||
The STLinkV2 device to use can be specified in the environment
|
the environment variable STLINK_DEVICE on the format <USB_BUS>:<USB_ADDR>.
|
||||||
variable STLINK_DEVICE on the format <USB_BUS>:<USB_ADDR>.
|
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
|
|
|
@ -285,8 +285,8 @@ There are a few options:
|
||||||
Do not reset board on connection.
|
Do not reset board on connection.
|
||||||
```
|
```
|
||||||
|
|
||||||
The STLINKv2 device to use can be specified in the environment
|
The STLink device to use can be specified using the --serial parameter, or via
|
||||||
variable `STLINK_DEVICE` in the format `<USB_BUS>:<USB_ADDR>`.
|
the environment variable STLINK_DEVICE on the format <USB_BUS>:<USB_ADDR>.
|
||||||
|
|
||||||
Then, in your project directory, someting like this...
|
Then, in your project directory, someting like this...
|
||||||
(remember, you need to run an _ARM_ gdb, not an x86 gdb)
|
(remember, you need to run an _ARM_ gdb, not an x86 gdb)
|
||||||
|
|
Ładowanie…
Reference in New Issue