stlink: remove 18 MHz jtag freq for stlink v2
authorLaurent LEMELE <laurent.lemele@st.com>
Fri, 14 Feb 2020 16:01:04 +0000 (17:01 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 5 Apr 2020 13:12:26 +0000 (14:12 +0100)
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>
src/jtag/drivers/stlink_usb.c

index d630c1962a6929eb3993997e7238461d0fa62e32..3f9ce37a9d1e06c2c3d5b3f79114addac3ec3978 100644 (file)
@@ -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},