X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Finterface%2Fstlink-v2.cfg;h=ae545a1187762bbdbb80e24913dbe746421310f5;hp=2757a334dc40b3bc6339da75ef339f5668d0c3f4;hb=2175bb149a01e83e7e0b87ebe82531350c951a61;hpb=fce4ac57140d4312dd229c7d5f149a340c92cda1 diff --git a/tcl/interface/stlink-v2.cfg b/tcl/interface/stlink-v2.cfg index 2757a334dc..ae545a1187 100644 --- a/tcl/interface/stlink-v2.cfg +++ b/tcl/interface/stlink-v2.cfg @@ -2,12 +2,15 @@ # 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 +interface hla +hla_layout stlink +hla_device_desc "ST-LINK/V2" +hla_vid_pid 0x0483 0x3748 + +# Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2 +# devices seem to have serial numbers with unreadable characters. ST-LINK/V2 +# firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial +# number reset issues. +# eg. +#hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f" +