From: Luke Kenneth Casson Leighton Date: Mon, 5 Apr 2021 11:57:31 +0000 (+0100) Subject: hla newtap is apparently the command to run, to request a JTAG tap be set up X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b685c4cf938fc563eabf5f8d6c02b626907bedcf;p=libresoc-litex.git hla newtap is apparently the command to run, to request a JTAG tap be set up --- diff --git a/openocd_stlinkv2.cfg b/openocd_stlinkv2.cfg index f3e5e1d..8958565 100644 --- a/openocd_stlinkv2.cfg +++ b/openocd_stlinkv2.cfg @@ -3,9 +3,13 @@ hla_layout stlink hla_device_desc "ST-LINK" hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b transport select hla_jtag +#jtag_rclk 300 +adapter_khz 25 # this should be irlen=4 -jtag newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff +hla newtap libresoc tap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff + +#hla newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff #set _TARGETNAME libresoc.tap #target create $_TARGETNAME.0 ppc64 -chain-position $_TARGETNAME -rtos hwthread