-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi, recently I have been using your nax gen.scala file to generate a core with three axi interfaces, ibus,dbus,pbus, After connecting another axicrossbar to an axi system, the anchipram was set to 0 and the DDR address was 0x40000000. The following problem occurred during axi debugging:
- By loading the address of 0x0 through openocd+gdb, single step debugging can be successfully performed
- When loading the DDR address containing 0x40000000 through openocd+gdb, the following error message will appear
Loading section .init, size 0x6e lma 0x40000000
Loading section .text, size 0x16fc lma 0x40000070
Loading section .data, size 0x858 lma 0x4000176c
Start address 0x40000000, load size 8130
Transfer rate: 63 KB/sec, 2710 bytes/write.
(gdb) si
unable to resume hart 0
dmstatus =0x00430c82
was stepping, halting
unable to halt hart 0
dmcontrol=0x00000001
dmstatus =0x00430c82
Hart was not halted after single step!
unable to step rtos hart
By capturing the waveform signal, it can be preliminarily determined that IFetc failed at address 0x40000000

you can look at this picture
in the gen.scala, I set
def plugins = {
val l = Config1.plugins(
withRdTime = true,
aluCount = 2,
decodeCount = 2,
debugTriggers = 4,
withDedicatedLoadAgu = true,
withRvc = true,
withLoadStore = true,
withMmu = true,
withDebug = true,
withEmbeddedJtagTap = false,
jtagTunneled = false,
withFloat = false,
withDouble = false,
withLsu2 = true,
lqSize = 16,
sqSize = 16,
withCoherency = true,
ioRange = a => a(31 downto 28) === 0xf// || !a(12)//(a(5, 6 bits) ^ a(12, 6 bits)) === 51
)
May I ask which parameter caused the issue with this fetch,thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels