Last active
June 3, 2021 03:19
-
-
Save a4lg/a38928f8bdeac6dddc75c759c9e575bb to your computer and use it in GitHub Desktop.
HiFive Unmatched + OpenOCD configuration (one S7 core only; no flash configured)
This file contains hidden or 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
adapter speed 10000 | |
adapter driver ftdi | |
ftdi_device_desc "Dual RS232-HS" | |
ftdi_vid_pid 0x0403 0x6010 | |
ftdi_layout_init 0x0008 0x001b | |
ftdi_layout_signal nSRST -oe 0x0020 -data 0x0020 | |
set _CHIPNAME riscv | |
transport select jtag | |
jtag newtap $_CHIPNAME cpu -irlen 5 | |
# Target: S7 (coreid 0) | |
target create $_CHIPNAME.cpu0 riscv -chain-position $_CHIPNAME.cpu -coreid 0 -rtos hwthread | |
#$_CHIPNAME.cpu0 configure -work-area-phys 0x80180000 -work-area-size 0x10000 -work-area-backup 1 | |
init | |
halt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment