Quick Links
DS5 DS5 - Run Issue
#1
Posted 31 January 2011 - 06:30 AM
I am facing an issue while i try to run a sample code in DS5.
The below mentioned error is being displayed.
"Cannnot run program "gdb": Launching Failed"
Can anyone provide me a solution to fix it?
#2
Posted 31 January 2011 - 05:49 PM
#3
Posted 01 February 2011 - 05:05 AM
From 31 January 2011 - 05:49 PM:
Hi Scott,
Thanks for your response.
I am not using any example codes. It is just basic arithmetic operation i am doing.
After Build, i try to step through using the key F11.
While doing so i am getting the above mentioned error.
DS5 Details:
DS500-BN-00003-r5p0-02rel0.zip this i downloaded from net and installed in my pc.
Hope its version is 4.3
#4
Posted 01 February 2011 - 09:12 AM
What target are you wanting to run it on?
If it's a Linux application you should be able to run it on the RTSM. You might find starting with the hello example easier.
The manuals discuss how to create a debug configuration <http://infocenter.arm.com/help/topic/com.arm.doc.dui0446c/CJAGCEAB.html>.
RAM, on 01 February 2011 - 05:05 AM, said:
DS500-BN-00003-r5p0-02rel0.zip this i downloaded from net and installed in my pc.
Hope its version is 4.3
Unfortunately, I can't tell from just the .zip file name, but if you look inside and the first level has "d764" then it's v5.3 which the current latest, but soon to be superceeded, release.
You can also find the version number in Help > About ARM DS-5, or All Programs > ARM DS-5 > Release Notes.
#5
Posted 01 February 2011 - 02:00 PM
scott, on 01 February 2011 - 09:12 AM, said:
What target are you wanting to run it on?
If it's a Linux application you should be able to run it on the RTSM. You might find starting with the hello example easier.
The manuals discuss how to create a debug configuration <http://infocenter.arm.com/help/topic/com.arm.doc.dui0446c/CJAGCEAB.html>.
Unfortunately, I can't tell from just the .zip file name, but if you look inside and the first level has "d764" then it's v5.3 which the current latest, but soon to be superceeded, release.
You can also find the version number in Help > About ARM DS-5, or All Programs > ARM DS-5 > Release Notes.
Hi Scott,
I am not relying on any OS....
Target is ARM Cortex-A9
I will check the link you have provided.
The version is 5.3 only.
#6
Posted 01 February 2011 - 05:25 PM
Depending on what target you're trying to use and what you're trying to do, the easiest thing may be to put your code into the hello linux application example and run it on the Cortex-A8 RTSM.
#7
Posted 11 February 2011 - 06:24 AM
Thanks for your reply.
Is there any other version of DS5 which can be used as a simulator to run basic codes?
If so, please let me know the details.
scott, on 01 February 2011 - 05:25 PM, said:
Depending on what target you're trying to use and what you're trying to do, the easiest thing may be to put your code into the hello linux application example and run it on the Cortex-A8 RTSM.
#8
Posted 11 February 2011 - 12:38 PM
RAM, on 11 February 2011 - 06:24 AM, said:
It's not hard to add a bit of C (or C++ or asm) code to the hello example and run/debug that.
But to answer your question: no: DS-5 doesn't support debugging a model at the bare-metal level, yet. It is scheduled to be added later this year. Even when it does the models typically need some initialization code (like real processors do) -- but there should be some example initialization code included.
By the way, DS-5 v5.4 is out now http://www.arm.com/ds5 (still no bare-metal model support though).














