forked from openhwgroup/cva6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openhwgroup#167 from msfschaffner/master
Switch JTAG from PMOD to FTDI chip, update OpenPiton file list and OpenOCD cfg files.
- Loading branch information
Showing
7 changed files
with
102 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
adapter_khz 1000 | ||
|
||
interface ftdi | ||
# ftdi_device_desc "Olimex Ltd. ARM-USB-OCD-H JTAG+RS232" | ||
ftdi_vid_pid 0x15ba 0x002b | ||
|
||
ftdi_layout_init 0x0808 0x0a1b | ||
ftdi_layout_signal nSRST -oe 0x0200 | ||
ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100 | ||
ftdi_layout_signal LED -data 0x0800 | ||
|
||
set _CHIPNAME riscv | ||
jtag newtap $_CHIPNAME cpu -irlen 5 | ||
|
||
set _TARGETNAME $_CHIPNAME.cpu | ||
# select the HART to debug with the coreid switch | ||
target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid 0 | ||
|
||
gdb_report_data_abort enable | ||
gdb_report_register_access_error enable | ||
|
||
riscv set_reset_timeout_sec 120 | ||
riscv set_command_timeout_sec 120 | ||
|
||
# prefer to use sba for system bus access | ||
riscv set_prefer_sba off | ||
|
||
init | ||
halt | ||
echo "Ready for Remote Connections" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters