update README
[libresoc-litex.git] / openocd_stlink_usb.cfg
1 debug_level 4
2
3 adapter driver st-link
4 adapter speed 9
5 #jtag_rclk 300
6 transport select dapdirect_jtag
7 #st-link backend usb
8 st-link vid_pid 0x0483 0x3748
9
10 # this should be irlen=4
11 jtag newtap libresoc cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff
12
13 #hla newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff
14
15 #set _TARGETNAME libresoc.tap
16 #target create $_TARGETNAME.0 ppc64 -chain-position $_TARGETNAME -rtos hwthread
17
18 # Configure work area in on-chip SRAM
19 #$_TARGETNAME.0 configure -work-area-phys 0x80000000 \
20 # -work-area-size 1000 -work-area-backup 0
21