Skip to content

Commit 94c70d3

Browse files
marnovandermaasHU90m
authored andcommitted
OpenOCD: resolve deprecated command warnings
The FTDI commands have changed and the ones used here were deprecated.
1 parent 9f54c2d commit 94c70d3

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

util/arty-a7-openocd-cfg.tcl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@
55
adapter driver ftdi
66
transport 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 0
11+
ftdi layout_init 0x0088 0x008b
12+
1213
reset_config none
1314

1415
# Configure JTAG chain and the target processor
1516
set _CHIPNAME riscv
1617

1718
# Configure JTAG expected ID
1819
# arty-a7-35t
19-
set _EXPECTED_ID 0x0362D093
20+
set _EXPECTED_ID 0x0362D093
2021
# arty-a7-100t
21-
# set _EXPECTED_ID 0x13631093
22+
# set _EXPECTED_ID 0x13631093
2223

2324
jtag newtap $_CHIPNAME cpu -irlen 6 -expected-id $_EXPECTED_ID -ignore-version
2425
set _TARGETNAME $_CHIPNAME.cpu

util/sonata-openocd-cfg.tcl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
adapter driver ftdi
66
transport select jtag
77

8-
ftdi_vid_pid 0x0403 0x6011
9-
ftdi_channel 1
10-
ftdi_layout_init 0x0088 0x008b
8+
ftdi vid_pid 0x0403 0x6011
9+
ftdi channel 1
10+
ftdi layout_init 0x0088 0x008b
11+
1112
reset_config none
1213

1314
# Configure JTAG chain and the target processor

0 commit comments

Comments
 (0)