Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: DS5 - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DS5 DS5 - Run Issue Rate Topic: -----

#1 User is offline   RAM 

  • Member
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 24-January 11

Posted 31 January 2011 - 06:30 AM

Hi,
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?
0

#2 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 207
  • Joined: 05-October 06

Posted 31 January 2011 - 05:49 PM

It sounds like you might accidentally be using a host Debug configuration instead of one "DS-5 Debugger". Are you using one of the DS-5 examples? Can you be more specific about the steps you're taking to start the debug session including what the settings are in the debug configuration? It would also be useful to know what version of DS-5 you're using.
0

#3 User is offline   RAM 

  • Member
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 24-January 11

Posted 01 February 2011 - 05:05 AM

View PostFrom 31 January 2011 - 05:49 PM:

It sounds like you might accidentally be using a host Debug configuration instead of one "DS-5 Debugger". Are you using one of the DS-5 examples? Can you be more specific about the steps you're taking to start the debug session including what the settings are in the debug configuration? It would also be useful to know what version of DS-5 you're using.


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
0

#4 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 207
  • Joined: 05-October 06

Posted 01 February 2011 - 09:12 AM

Is you code in the form of a Linux application or are you expecting it to run without any OS (bare-metal)?
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>.

View PostRAM, on 01 February 2011 - 05:05 AM, said:

DS5 Details:
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.
0

#5 User is offline   RAM 

  • Member
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 24-January 11

Posted 01 February 2011 - 02:00 PM

View Postscott, on 01 February 2011 - 09:12 AM, said:

Is you code in the form of a Linux application or are you expecting it to run without any OS (bare-metal)?
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.
0

#6 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 207
  • Joined: 05-October 06

Posted 01 February 2011 - 05:25 PM

DS-5 v5.3 doesn't have any way to run bare-metal code on Cortex-A9 yet. It can run a linux app either on it's RTSM (Real Time System Model) which is Cortex-A8 or on a real target (which could be on a Cortex-A9). It can run bare-metal code using JTAG debug (and DSTREAM or RVI) on some other supported targets see <http://www.arm.com/products/tools/software-tools/ds-5/supported-platforms.php>.

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.
0

#7 User is offline   RAM 

  • Member
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 24-January 11

Posted 11 February 2011 - 06:24 AM

Hi Scott,

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.

View Postscott, on 01 February 2011 - 05:25 PM, said:

DS-5 v5.3 doesn't have any way to run bare-metal code on Cortex-A9 yet. It can run a linux app either on it's RTSM (Real Time System Model) which is Cortex-A8 or on a real target (which could be on a Cortex-A9). It can run bare-metal code using JTAG debug (and DSTREAM or RVI) on some other supported targets see <http://www.arm.com/products/tools/software-tools/ds-5/supported-platforms.php>.

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.

0

#8 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 207
  • Joined: 05-October 06

Posted 11 February 2011 - 12:38 PM

View PostRAM, on 11 February 2011 - 06:24 AM, said:

Is there any other version of DS5 which can be used as a simulator to run basic codes?


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).
0

#9 User is offline   RAM 

  • Member
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 24-January 11

Posted 11 February 2011 - 01:33 PM

Hi Scott,

Thanks for your reply.....
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic