This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

running a C program on ECLIPSE

Note: This was originally posted on 9th December 2011 at http://forums.arm.com

hi all,
i stuck up with running a C program(project) on eclipse IDE,with out debugging.
i can able to debug with ARM cortexA8 RTSM,but unable to run it.
can anyone give detailed procedure for running the same.
by searching in the internet,all i get is for running cpp projects..using make file.
that procedure is not working for c projects.
it will be also helpful,if u explain make file and target building stuff related to c projects.
Parents
  • Note: This was originally posted on 10th December 2011 at http://forums.arm.com

    i am using DS-5,
    thanks for the information provided..
    could you expain about building target and all that stuff

    ARM provides a number of Eclipse-based toolchains, including RealView Development Suite (RVDS) and Development Studio 5 (DS-5). Which one are you using?

    In DS-5, there is no specific menu entry to run without debugging. Instead the procedure is to use a debug launch configuration and disable the debug features. In the Debug Configurations dialog, the important settings relating to debug are on the Debugger tab. One way is to configure the connection as "Connect only"; this connects without enabling any debug features (such as breakpoints) and also doesn't load any images; you'll then need to write a script or add commands to stop the processor (if necessary), load your image and set it running. Another way is to use "Debug from entry point"; this stops the processor (if necessary) and loads your image ready to run; however, breakpoints will be enabled, so if you don't want these, either delete them all in the debugger first, or write a script or add commands to disable all the breakpoints. In both cases, you can also add a command to run your image once connection is complete. To determine the commands to load images, disable breakpoints or start running, the easiest way is to start a debug session, perform these actions in the GUI and see the commands that are echoed to the Commands view.
Reply
  • Note: This was originally posted on 10th December 2011 at http://forums.arm.com

    i am using DS-5,
    thanks for the information provided..
    could you expain about building target and all that stuff

    ARM provides a number of Eclipse-based toolchains, including RealView Development Suite (RVDS) and Development Studio 5 (DS-5). Which one are you using?

    In DS-5, there is no specific menu entry to run without debugging. Instead the procedure is to use a debug launch configuration and disable the debug features. In the Debug Configurations dialog, the important settings relating to debug are on the Debugger tab. One way is to configure the connection as "Connect only"; this connects without enabling any debug features (such as breakpoints) and also doesn't load any images; you'll then need to write a script or add commands to stop the processor (if necessary), load your image and set it running. Another way is to use "Debug from entry point"; this stops the processor (if necessary) and loads your image ready to run; however, breakpoints will be enabled, so if you don't want these, either delete them all in the debugger first, or write a script or add commands to disable all the breakpoints. In both cases, you can also add a command to run your image once connection is complete. To determine the commands to load images, disable breakpoints or start running, the easiest way is to start a debug session, perform these actions in the GUI and see the commands that are echoed to the Commands view.
Children
No data