Skip to content

Commit c94d978

Browse files
committed
SoC: Fix fespi not rerouted to nuspi in openocd 2023.10
see #8 Signed-off-by: Huaqi Fang <[email protected]>
1 parent 0e0e908 commit c94d978

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

SoC/hbird/Board/hbird_eval/openocd_hbird.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ target create $_TARGETNAME riscv -chain-position $_TARGETNAME
2222
$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
2323

2424
set _FLASHNAME $_CHIPNAME.flash
25-
flash bank $_FLASHNAME fespi 0x20000000 0 0 0 $_TARGETNAME
25+
flash bank $_FLASHNAME nuspi 0x20000000 0 0 0 $_TARGETNAME
2626
# Set the ILM space also as flash, to make sure it can be add breakpoint with hardware trigger
27-
#flash bank onboard_ilm fespi 0x80000000 0 0 0 $_TARGETNAME
27+
#flash bank onboard_ilm nuspi 0x80000000 0 0 0 $_TARGETNAME
2828

2929
# Expose Nuclei self-defined CSRS range 770-800,835-850,1984-2032,2064-2070
3030
# See https://github.com/riscv/riscv-gnu-toolchain/issues/319#issuecomment-358397306
3131
# Then user can view the csr register value in gdb using: info reg csr775 for CSR MTVT(0x307)
32-
riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
32+
#riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
3333

3434
init
3535
#reset

SoC/hbirdv2/Board/ddr200t/openocd_hbirdv2.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ target create $_TARGETNAME riscv -chain-position $_TARGETNAME
2222
$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
2323

2424
set _FLASHNAME $_CHIPNAME.flash
25-
flash bank $_FLASHNAME fespi 0x20000000 0 0 0 $_TARGETNAME
25+
flash bank $_FLASHNAME nuspi 0x20000000 0 0 0 $_TARGETNAME
2626
# Set the ILM space also as flash, to make sure it can be add breakpoint with hardware trigger
27-
#flash bank onboard_ilm fespi 0x80000000 0 0 0 $_TARGETNAME
27+
#flash bank onboard_ilm nuspi 0x80000000 0 0 0 $_TARGETNAME
2828

2929
# Expose Nuclei self-defined CSRS range 770-800,835-850,1984-2032,2064-2070
3030
# See https://github.com/riscv/riscv-gnu-toolchain/issues/319#issuecomment-358397306
3131
# Then user can view the csr register value in gdb using: info reg csr775 for CSR MTVT(0x307)
32-
riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
32+
#riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
3333

3434
init
3535
#reset

SoC/hbirdv2/Board/mcu200t/openocd_hbirdv2.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ target create $_TARGETNAME riscv -chain-position $_TARGETNAME
2222
$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
2323

2424
set _FLASHNAME $_CHIPNAME.flash
25-
flash bank $_FLASHNAME fespi 0x20000000 0 0 0 $_TARGETNAME
25+
flash bank $_FLASHNAME nuspi 0x20000000 0 0 0 $_TARGETNAME
2626
# Set the ILM space also as flash, to make sure it can be add breakpoint with hardware trigger
27-
#flash bank onboard_ilm fespi 0x80000000 0 0 0 $_TARGETNAME
27+
#flash bank onboard_ilm nuspi 0x80000000 0 0 0 $_TARGETNAME
2828

2929
# Expose Nuclei self-defined CSRS range 770-800,835-850,1984-2032,2064-2070
3030
# See https://github.com/riscv/riscv-gnu-toolchain/issues/319#issuecomment-358397306
3131
# Then user can view the csr register value in gdb using: info reg csr775 for CSR MTVT(0x307)
32-
riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
32+
#riscv expose_csrs 770-800,835-850,1984-2032,2064-2070
3333

3434
init
3535
#reset

0 commit comments

Comments
 (0)