fresh openocd
This commit is contained in:
parent
e9a88c18f6
commit
976e889ce1
|
@ -10,6 +10,17 @@ proc mrw {reg} {
|
|||
add_usage_text mrw "address"
|
||||
add_help_text mrw "Returns value of word in memory."
|
||||
|
||||
# mrh: "memory read halfword", returns value of $reg
|
||||
proc mrh {reg} {
|
||||
set value ""
|
||||
mem2array value 16 $reg 1
|
||||
return $value(0)
|
||||
}
|
||||
|
||||
add_usage_text mrh "address"
|
||||
add_help_text mrh "Returns value of halfword in memory."
|
||||
|
||||
# mrb: "memory read byte", returns value of $reg
|
||||
proc mrb {reg} {
|
||||
set value ""
|
||||
mem2array value 8 $reg 1
|
||||
|
|
Binary file not shown.
|
@ -1,12 +1,12 @@
|
|||
#
|
||||
# STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1 in-circuit
|
||||
# STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 in-circuit
|
||||
# debugger/programmer
|
||||
#
|
||||
|
||||
interface hla
|
||||
hla_layout stlink
|
||||
hla_device_desc "ST-LINK"
|
||||
hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b
|
||||
hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue