Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging Eclipse and Spìke simulator of Riscv(RISCV)
Debugging Eclipse and Spìke simulator of Riscv [message #1857494] Fri, 10 February 2023 09:29 Go to next message
Alberto Gomez is currently offline Alberto GomezFriend
Messages: 2
Registered: February 2023
Junior Member
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 Go to previous message
Madhan Muruganantham is currently offline Madhan MurugananthamFriend
Messages: 1
Registered: June 2023
Junior Member
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
Previous Topic:New to Eclipse for Embedded c/C++, trouble importing cmake projects
Next Topic:Argument list too long
Goto Forum:
  


Current Time: Wed Feb 05 14:59:46 GMT 2025

Powered by FUDForum. Page generated in 0.02950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top