update README
[libresoc-litex.git] / openocd_stlinkv2.cfg
1 debug_level 4
2
3 interface hla
4 hla_layout stlink
5 #hla_device_desc "ST-LINK"
6 hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b
7 #jtag_rclk 300
8 adapter speed 140
9 transport select hla_jtag
10
11 # this should be irlen=4
12 jtag newtap ls180 tap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff -enable
13
14 init
15
16 #hla newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff
17
18 #set _TARGETNAME libresoc.tap
19 #target create $_TARGETNAME.0 ppc64 -chain-position $_TARGETNAME -rtos hwthread
20
21 # Configure work area in on-chip SRAM
22 #$_TARGETNAME.0 configure -work-area-phys 0x80000000 \
23 # -work-area-size 1000 -work-area-backup 0
24