mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
ariane.cfg: catch unavailable address translation option
This commit is contained in:
parent
b04066a245
commit
cb74091a0d
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ riscv set_command_timeout_sec 120
|
|||
|
||||
# prefer to use sba for system bus access
|
||||
riscv set_prefer_sba off
|
||||
riscv set_enable_virtual on
|
||||
|
||||
# Try enabling address translation (only works for newer versions)
|
||||
if { [catch {riscv set_enable_virtual on} ] } {
|
||||
echo "Warning: This version of OpenOCD does not support address translation. To debug on virtual addresses, please update to the latest version." }
|
||||
|
||||
init
|
||||
halt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue