board: arc: accommodate upstream OpenOCD for ARC
In newer OpenOCD version from Zephyr's SDK v0.12, there are some changes in OpenOCD scripts: JTAG probe interface (AKA "adapter") setup, see http://openocd.zylin.com/#/c/5784/ And so we need to change OpenOCD scripts accordingly to match newer OpenOCD version from Zephyr's SDK v0.12. Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
This commit is contained in:
parent
b4b5098264
commit
77e1d4d710
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
# Configure JTAG cable
|
||||
# EM Starter Kit has built-in FT2232 chip, which is similar to Digilent HS-1.
|
||||
interface ftdi
|
||||
adapter driver ftdi
|
||||
ftdi_vid_pid 0x0403 0x6010
|
||||
# channel 1 does not have any functionality
|
||||
ftdi_channel 0
|
||||
|
@ -15,7 +15,7 @@ if { [info exists _ZEPHYR_BOARD_SERIAL] } {
|
|||
}
|
||||
|
||||
# EM11D reportedly requires 5 MHz. Other cores and board can work faster.
|
||||
adapter_khz 5000
|
||||
adapter speed 5000
|
||||
|
||||
# ARCs support only JTAG.
|
||||
transport select jtag
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Configure JTAG cable
|
||||
# EM SDP has built-in FT2232 chip, which is similiar to Digilent HS-1.
|
||||
interface ftdi
|
||||
adapter driver ftdi
|
||||
|
||||
# Only specify FTDI serial number if it is specified via
|
||||
# "set _ZEPHYR_BOARD_SERIAL 12345" before reading this script
|
||||
|
@ -22,7 +22,7 @@ ftdi_channel 0
|
|||
|
||||
|
||||
# EM11D requires 10 MHz.
|
||||
adapter_khz 10000
|
||||
adapter speed 10000
|
||||
|
||||
# ARCs support only JTAG.
|
||||
transport select jtag
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Configure JTAG cable
|
||||
# IoT DK has built-in FT2232 chip, which is similar to Digilent HS-1.
|
||||
interface ftdi
|
||||
adapter driver ftdi
|
||||
|
||||
# Only specify FTDI serial number if it is specified via
|
||||
# "set _ZEPHYR_BOARD_SERIAL 12345" before reading this script
|
||||
|
@ -22,7 +22,7 @@ ftdi_channel 1
|
|||
|
||||
|
||||
# EM9D requires 8 MHz.
|
||||
adapter_khz 8000
|
||||
adapter speed 8000
|
||||
|
||||
# ARCs support only JTAG.
|
||||
transport select jtag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue