From: Mathias K Date: Mon, 23 Jan 2012 19:06:01 +0000 (+0100) Subject: STLINK: add stlink v1 configuration X-Git-Tag: v0.6.0-rc1~277 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fce4ac57140d4312dd229c7d5f149a340c92cda1;p=openocd STLINK: add stlink v1 configuration Change-Id: I6b9de16879ff928d60e3c4a64731449275291cc2 Signed-off-by: Mathias K Reviewed-on: http://openocd.zylin.com/397 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg index 33bcaa61..98125e17 100644 --- a/tcl/board/stm32f4discovery.cfg +++ b/tcl/board/stm32f4discovery.cfg @@ -1,6 +1,6 @@ # This is an STM32F4 discovery board with a single STM32F407VGT6 chip. # http://www.st.com/internet/evalboard/product/252419.jsp -source [find interface/stlink-usb.cfg] +source [find interface/stlink-v2.cfg] source [find target/stm32f4x_stlink.cfg] diff --git a/tcl/interface/stlink-usb.cfg b/tcl/interface/stlink-usb.cfg deleted file mode 100644 index 2757a334..00000000 --- a/tcl/interface/stlink-usb.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# -# STMicroelectronics ST-LINK/V2 in-circuit debugger/programmer -# - -interface stlink -stlink_layout usb -stlink_device_desc "ST-LINK/V2" -stlink_vid_pid 0x0483 0x3748 -# -# dummy values, not really needed -# -adapter_khz 1 -reset_config trst_and_srst \ No newline at end of file diff --git a/tcl/interface/stlink-v1.cfg b/tcl/interface/stlink-v1.cfg new file mode 100644 index 00000000..d351324c --- /dev/null +++ b/tcl/interface/stlink-v1.cfg @@ -0,0 +1,13 @@ +# +# STMicroelectronics ST-LINK/V1 in-circuit debugger/programmer +# + +interface stlink +stlink_layout sg +stlink_device_desc "ST-LINK/V1" +stlink_vid_pid 0x0483 0x3744 +# +# dummy values, not really needed +# +adapter_khz 1 +reset_config trst_and_srst diff --git a/tcl/interface/stlink-v2.cfg b/tcl/interface/stlink-v2.cfg new file mode 100644 index 00000000..2757a334 --- /dev/null +++ b/tcl/interface/stlink-v2.cfg @@ -0,0 +1,13 @@ +# +# STMicroelectronics ST-LINK/V2 in-circuit debugger/programmer +# + +interface stlink +stlink_layout usb +stlink_device_desc "ST-LINK/V2" +stlink_vid_pid 0x0483 0x3748 +# +# dummy values, not really needed +# +adapter_khz 1 +reset_config trst_and_srst \ No newline at end of file