Skip to content

Commit

Permalink
Change DTM IDCODE from SiFive HiFive1's 0x10e31913 to Spike's 0xdeadb…
Browse files Browse the repository at this point in the history
…eef (#565)
  • Loading branch information
TommyMurphyTM1234 authored Jun 27, 2024
1 parent 74c9c14 commit b0eb63a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion debug/targets/RISC-V/spike-1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ remote_bitbang host $::env(REMOTE_BITBANG_HOST)
remote_bitbang port $::env(REMOTE_BITBANG_PORT)

set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0xdeadbeef

set _TARGETNAME $_CHIPNAME.cpu
if {$::env(USE_FREERTOS)} {
Expand Down
2 changes: 1 addition & 1 deletion debug/targets/RISC-V/spike-2-hwthread.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ remote_bitbang host $::env(REMOTE_BITBANG_HOST)
remote_bitbang port $::env(REMOTE_BITBANG_PORT)

set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0xdeadbeef

set _TARGETNAME_0 $_CHIPNAME.cpu0
set _TARGETNAME_1 $_CHIPNAME.cpu1
Expand Down
2 changes: 1 addition & 1 deletion debug/targets/RISC-V/spike-2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ remote_bitbang host $::env(REMOTE_BITBANG_HOST)
remote_bitbang port $::env(REMOTE_BITBANG_PORT)

set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0xdeadbeef

set _TARGETNAME_0 $_CHIPNAME.cpu0
set _TARGETNAME_1 $_CHIPNAME.cpu1
Expand Down
4 changes: 2 additions & 2 deletions debug/targets/RISC-V/spike-multi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ adapter driver remote_bitbang
remote_bitbang host $::env(REMOTE_BITBANG_HOST)
remote_bitbang port $::env(REMOTE_BITBANG_PORT)

jtag newtap riscv.0 cpu -irlen 5 -expected-id 0x10e31913
jtag newtap riscv.1 cpu -irlen 5 -expected-id 0x10e31913
jtag newtap riscv.0 cpu -irlen 5 -expected-id 0xdeadbeef
jtag newtap riscv.1 cpu -irlen 5 -expected-id 0xdeadbeef

target create riscv.0.cpu0 riscv -chain-position riscv.0.cpu -coreid 0
target create riscv.0.cpu1 riscv -chain-position riscv.0.cpu -coreid 1
Expand Down

0 comments on commit b0eb63a

Please sign in to comment.