diff options
author | Miklós Márton <martonmiklosqdev@gmail.com> | 2019-08-01 19:14:10 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-12-31 17:25:41 +0000 |
commit | 324929c3d725ce264b2390525dbc9070f6029cc4 (patch) | |
tree | 73ee656c8bc1933329e4239214e4b0eaaadb36f8 /flashrom.8.tmpl | |
parent | 728062f7ff7c2dca31bc99fe45eb5cacd7cf2d53 (diff) | |
download | flashrom-324929c3d725ce264b2390525dbc9070f6029cc4.tar.gz flashrom-324929c3d725ce264b2390525dbc9070f6029cc4.tar.bz2 flashrom-324929c3d725ce264b2390525dbc9070f6029cc4.zip |
Add support for STLINK V3 debugger/programmer via its SPI bridge
Change-Id: Icffab87ac8f2c570187ed753ec70f054541873a4
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/34661
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r-- | flashrom.8.tmpl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl index 8ef2cbf01..aa5bcd457 100644 --- a/flashrom.8.tmpl +++ b/flashrom.8.tmpl @@ -343,6 +343,8 @@ bitbanging adapter) .sp .BR "* ni845x_spi" " (for SPI flash ROMs attached to National Instruments USB-8451 or USB-8452)" .sp +.BR "* stlinkv3_spi" " (for SPI flash ROMs attached to STMicroelectronics STLINK V3 devices)" +.sp Some programmers have optional or mandatory parameters which are described in detail in the .B PROGRAMMER-SPECIFIC INFORMATION @@ -1260,6 +1262,31 @@ The SPI speed can be selected by using the syntax where \fBfrequency\fP is the SPI clock frequency in kHz. The maximum speed depends on the device in use. .SS +.BR "stlinkv3_spi " programmer +.IP +This module supports SPI flash programming through the STMicroelectronics +STLINK V3 programmer/debugger's SPI bridge interface +.sp +.B " flashrom \-p stlinkv3_spi" +.sp +If there is more than one compatible device connected, you can select which one +should be used by specifying its serial number with the +.sp +.B " flashrom \-p stlinkv3_spi:serial=number" +.sp +syntax where +.B number +is the serial number of the device (which can be found for example in the +output of lsusb -v). +.sp +The SPI speed can be selected by using the +.sp +.B " flashrom \-p stlinkv3_spi:spispeed=frequency" +.sp +syntax where \fBfrequency\fP is the SPI clock frequency in kHz. +If the passed frequency is not supported by the adapter the nearest lower +supported frequency will be used. +.SS .SH EXAMPLES To back up and update your BIOS, run |