File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ RUN tar -C / -xf openfpgaloader.tar.gz --strip-components=1
5959# Build OpenOCD
6060RUN git clone https://github.com/openocd-org/openocd.git \
6161 && cd openocd \
62- && git checkout v0.11 .0 \
62+ && git checkout v0.12 .0 \
6363 && ./bootstrap \
6464 && ./configure \
6565 && make \
Original file line number Diff line number Diff line change @@ -42,5 +42,6 @@ targets:
4242 filesets:
4343 - files_src
4444 - tool_verilator ? (files_verilator)
45- - "use_bscane_tap ? (files_xilinx_bscane_tap)"
46- - "!use_bscane_tap ? (files_jtag_tap)"
45+ - files_xilinx_bscane_tap
46+ # - "use_bscane_tap ? (files_xilinx_bscane_tap)"
47+ # - "!use_bscane_tap ? (files_jtag_tap)"
Original file line number Diff line number Diff line change 55adapter driver ftdi
66transport select jtag
77
8- ftdi_device_desc " Digilent USB Device"
9- ftdi_vid_pid 0x0403 0x6010
10- ftdi_channel 0
11- ftdi_layout_init 0x0088 0x008b
8+ ftdi device_desc " Digilent USB Device"
9+ ftdi vid_pid 0x0403 0x6010
10+ ftdi channel 1
11+ ftdi layout_init 0x0088 0x008b
1212reset_config none
1313
1414# Configure JTAG chain and the target processor
1515set _CHIPNAME riscv
1616
1717# Configure JTAG expected ID
18- # arty-a7-35t
19- set _EXPECTED_ID 0x0362D093
2018# arty-a7-100t
21- # set _EXPECTED_ID 0x13631093
19+ set _EXPECTED_ID 0x13631093
2220
2321jtag newtap $_CHIPNAME cpu -irlen 6 -expected-id $_EXPECTED_ID -ignore-version
2422set _TARGETNAME $_CHIPNAME .cpu
@@ -30,7 +28,7 @@ riscv set_ir dmi 0x23
3028
3129adapter speed 10000
3230
33- riscv set_prefer_sba on
31+ # riscv set_prefer_sba on # LB: Commented out for git issue #116
3432gdb_report_data_abort enable
3533gdb_report_register_access_error enable
3634gdb_breakpoint_override hard
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [ $1 = "run" ]; then
3535 EXIT_CMD=' -c "exit"'
3636fi
3737
38- openocd -f $TCL_FILE -c " load_image $2 0x0" \
38+ /tools/openocd/src/ openocd -f $TCL_FILE -c " load_image $2 0x0" \
3939 -c " verify_image $2 0x0" \
4040 -c " echo \" Doing reset\" " \
4141 -c " reset $1 " \
You can’t perform that action at this time.
0 commit comments