tools:openocd: add flash band for tinyriscv

Signed-off-by: liangkangnan <liangkangnan@163.com>
verilator
liangkangnan 2023-04-01 15:23:09 +08:00
parent da19d3ebe5
commit 6c6f6cf7af
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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