aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent LEMELE <laurent.lemele@st.com>2020-02-14 17:01:04 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-04-05 14:12:26 +0100
commitd14eac569c761b3026d32b4977edb371fa6b8fbe (patch)
tree92cf3f2b48c7c94bee702c12a2adaa713421dca8 /src
parent56ff1ecddb4302ba53b6eed3581b0ca2a4e23d78 (diff)
downloadriscv-openocd-d14eac569c761b3026d32b4977edb371fa6b8fbe.zip
riscv-openocd-d14eac569c761b3026d32b4977edb371fa6b8fbe.tar.gz
riscv-openocd-d14eac569c761b3026d32b4977edb371fa6b8fbe.tar.bz2
stlink: remove 18 MHz jtag freq for stlink v2
While stlink v2 allows setting the jtag clock frequency till a max of 18 MHz, the firmware seams unstable and not properly working. Remove the entry for 18 MHz, at least until a fix get available. Change-Id: I503e1b6a5709b5fbf1f1147fd3b5f34a0c5ee98c Signed-off-by: Laurent LEMELE <laurent.lemele@st.com> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5465 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/stlink_usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c
index d630c19..3f9ce37 100644
--- a/src/jtag/drivers/stlink_usb.c
+++ b/src/jtag/drivers/stlink_usb.c
@@ -347,7 +347,6 @@ static const struct speed_map stlink_khz_to_speed_map_swd[] = {
/* JTAG clock speed */
static const struct speed_map stlink_khz_to_speed_map_jtag[] = {
- {18000, 2},
{9000, 4},
{4500, 8},
{2250, 16},