X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Finterface%2Fstlink-v2.cfg;h=ae545a1187762bbdbb80e24913dbe746421310f5;hp=3eee7d9e9c09011d0a1dc6cb49e30e88d0f8777c;hb=bcaf775fc10d88d2c63c06bafada141895318b34;hpb=ff6c3dd13cf6d2cd25e55638ded3b1683958d752 diff --git a/tcl/interface/stlink-v2.cfg b/tcl/interface/stlink-v2.cfg index 3eee7d9e9c..ae545a1187 100644 --- a/tcl/interface/stlink-v2.cfg +++ b/tcl/interface/stlink-v2.cfg @@ -2,10 +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 +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" -# unused but set to disable warnings -adapter_khz 1000