Debugging Eclipse and Spìke simulator of Riscv [message #1857494] |
Fri, 10 February 2023 09:29  |
Eclipse User |
|
|
|
Hello,
I am trying debugging using Eclipse as IDE, openOCD and GDB to connect with Spike simulator of Riscv(which simulate a riscv HW).
I configure the set up of eclipse, referencing the path of my .cfg file, linkerscript file and openocd executable. Besides, I stablish de comunication port with spike through this command:
spike --rbb-port=9824 -m0x10110000:0x20000 [file].elf (where the memory location s set on .ld file).
Theoricaly, following this steps it is as if I where working with the real HW and I could debug my code...
Does anyone know if I am doing anything bad?
Thanks in advance.
|
|
|
Re: Debugging Eclipse and Spìke simulator of Riscv [message #1859788 is a reply to message #1857494] |
Tue, 27 June 2023 11:05  |
Eclipse User |
|
|
|
Hi, did you get this working? I am trying to do the same. Any pointers will be helpful.
I got the Spike-OpenOCD-GDB approach working with the rot13 file tutorial found online. I am now trying to see if I can add a GUI on top of it and hoping Eclipse supports this.
Thanks is advance
|
|
|
Powered by
FUDForum. Page generated in 0.26180 seconds