tools:openocd: add flash band for tinyriscv
Signed-off-by: liangkangnan <liangkangnan@163.com>verilator
parent
da19d3ebe5
commit
6c6f6cf7af
Binary file not shown.
Binary file not shown.
|
@ -19,6 +19,10 @@ riscv set_command_timeout_sec 10
|
||||||
riscv set_mem_access sysbus
|
riscv set_mem_access sysbus
|
||||||
riscv set_enable_virt2phys off
|
riscv set_enable_virt2phys off
|
||||||
|
|
||||||
|
# flash size will be probed
|
||||||
|
set _FLASHNAME $_CHIPNAME.flash
|
||||||
|
flash bank $_FLASHNAME tinyriscv 0x02000000 0x400000 0x1000 0x100 $_TARGETNAME
|
||||||
|
|
||||||
init
|
init
|
||||||
|
|
||||||
halt
|
halt
|
||||||
|
|
Loading…
Reference in New Issue