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

Simulator Based C project (Non OS)

Note: This was originally posted on 11th June 2013 at http://forums.arm.com

Hello,

I am trying to create a couple of trivial C & ARM 7/9 assembly example projects on DS-5 to run using Simulation mode like I used to be able to do in RVDS without having to connect the host pc to a hardware. Nor do I want to involve linux for these trivial examples. To that extent these are bare-metal examples but only that I wont be connecting to any hardware. I think in Real View it used to be called a connection to RVISS  or something like that. I used to be able to teh  choose the ARM processor I was targeting inside that. I assume such programming is with  DS-5 too. When I look into debug configuration, I dont see an explicit ISS or simulator sounding name as target.

Can someone point me along the right direction for creating a clean, simple, simulator based C and Assembly projects in DS-5 professional edition?

Thanks.
Parents
  • Note: This was originally posted on 12th June 2013 at http://forums.arm.com


    But when I right click on project name and try to run as stand alone C/C++ application it gives an error saying Binary not found.

    Unfortunately the "Run as..." and "Debug as..." are Eclipse features for native host apps.  Using the Debug Configurations... dialog is the right thing for DS-5.  There is no running without debug in DS-5 (although you can do much the same by executing a 'continue' command automatically.


    I am able to connect to the target under DS-5 debug perspective and even single step the code after loading it but it still wont show me an STDIO window.

    Semihosting output should appear in the "App Console" view.  Semihosting is usually enabled automatically based on the symbols the image contains (if you're using armcc) but you can check the status with 'info semihosting'

    Note also that there are various bare-metal examples (e.g. fireworks) that are supplied with DS-5 that you can import.
Reply
  • Note: This was originally posted on 12th June 2013 at http://forums.arm.com


    But when I right click on project name and try to run as stand alone C/C++ application it gives an error saying Binary not found.

    Unfortunately the "Run as..." and "Debug as..." are Eclipse features for native host apps.  Using the Debug Configurations... dialog is the right thing for DS-5.  There is no running without debug in DS-5 (although you can do much the same by executing a 'continue' command automatically.


    I am able to connect to the target under DS-5 debug perspective and even single step the code after loading it but it still wont show me an STDIO window.

    Semihosting output should appear in the "App Console" view.  Semihosting is usually enabled automatically based on the symbols the image contains (if you're using armcc) but you can check the status with 'info semihosting'

    Note also that there are various bare-metal examples (e.g. fireworks) that are supplied with DS-5 that you can import.
Children
No data