Hallo, everyone:
I have a big Problem to ask here and i need your help:
We use the Altera Cyclone V SOC(Cortex A9) Chip in our project.
Wenn we work under DS-5. with Debug directly in DS-5 there is no Problem, but i want with DS-5 Command Prompt using "debugger" command to debug our Chip, so i have found some info:
-> debugger --target --script ...
so what should i do with th targt Option? i have tryed with our gdbserver(127.0.0.1:3010), but it do not worked, then i must use a RVC file or what(how can i get the RVC file)? Could someone help me?
Thanks a lot, Guys!
MfG!
wenguo hu
Hi Wenguo Hu,
Have you tried the docs about running the debugger from the command line? http://ds.arm.com/developer-resources/ds-5-documentation/arm-ds-5-debugger-user-guide/headless-command-line-debugger-options
There are some example configurations listed in the docs such as:
debugger --cdb-entry "beagleboard.org::OMAP 3530::Linux Application Debug::gdbserver (TCP)::Connect to already running gdbserver" --cdb-entry-param "Address=TCP:TestFarm-Beagle-A8-Android" --cdb-entry-param "Port=5350"
The configuration for the Cycle V should look very similar. My tip to get the full path correct is to look in the DS-5 GUI, yours should be something like this:
"Altera::Cycle V SoC (Single Core)::Linux Application Debug::Connect to already running gdbserver"
Finally, you need to add the address and port.
Hope this helps,
Joe
Hallo, Joe:
Thank u very very much!
And now i want to cerate a .rvc file, which descript the connection about the Target Board, do u konw how can i do that and then i woud use this file in -> Debugger --target=***.rvc -s=***.ds to start the debug process.
Thank u Guys!
Wenguo Hu
You can use the Target Configuration Editor to create the .rvc file. An example scenario can be found here: ARM DS-5 Debugger User Guide | Scenario demonstrating how to create a new target configuration file | ARM DS-5 Developm…
Thanks,