hla newtap is apparently the command to run, to request a JTAG tap be set up
[libresoc-litex.git] / openocd_stlinkv2.cfg
1 interface hla
2 hla_layout stlink
3 hla_device_desc "ST-LINK"
4 hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b
5 transport select hla_jtag
6 #jtag_rclk 300
7 adapter_khz 25
8
9 # this should be irlen=4
10 hla newtap libresoc tap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff
11
12 #hla newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff
13
14 #set _TARGETNAME libresoc.tap
15 #target create $_TARGETNAME.0 ppc64 -chain-position $_TARGETNAME -rtos hwthread
16
17 # Configure work area in on-chip SRAM
18 #$_TARGETNAME.0 configure -work-area-phys 0x80000000 \
19 # -work-area-size 1000 -work-area-backup 0
20