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

Help Regarding RVISS

Note: This was originally posted on 16th September 2009 at http://forums.arm.com

I have an ARM11 based application running on RVISS. I want to send a message from this application (running on RVISS) to another application running on host computer (windows : on which this RVISS is running). How to do it?
  • Note: This was originally posted on 16th September 2009 at http://forums.arm.com

    You could write a peripheral model for RVISS, the implementation of which opened a port for communication.  I played around with writing RVISS models a couple of years ago - it's not trivial!

    If you needs are more basic, you could write out the output of the image running on RVISS to a file using semihosting.  Then read the file from the app running on the host machine.


    We tried the second approach i.e writing to a file from the application running on RVISS using fopen() and fwrite() functions. But that file is not visible in windows file system. (However, we are able to access the contents of that file from RVISS. It seems RVISS is not writing it into window file system but still the contents of the file remains persistent even if we restart the RVISS). Now as the file is not apprearing in windows file system, our host application is not able to read it.

    Secondly, can we communicate with underlying host O.S (windows in our case, on which RVDS is running) via peripheral model approach e.g by opening a port or socket which is visible in windows.
  • Note: This was originally posted on 22nd October 2009 at http://forums.arm.com

    Mr. TTFN,

    I'm new to ARM RVISS model. From your reply I think you must have rich experience and hope you could help me for below questions.

    I've read the ISS user guide, and I plan to use the timer model for my code which is running in RVISS. I'm confused how to use the Timer API in my code. Shall I add the timer.c in my makefile and call the function defined in timer.c? But as I learn from the user guide, the timer.dll is automaticly loaded by RVISS. I haven't find any document to describe how to call timer API. I'm really appreciated if you can give me some clue!
  • Note: This was originally posted on 16th September 2009 at http://forums.arm.com

    You could write a peripheral model for RVISS, the implementation of which opened a port for communication.  I played around with writing RVISS models a couple of years ago - it's not trivial!

    If you needs are more basic, you could write out the output of the image running on RVISS to a file using semihosting.  Then read the file from the app running on the host machine.
  • Note: This was originally posted on 17th September 2009 at http://forums.arm.com

    I have not had problems with file IO and RVISS.  And that the values are persistent does suggest the file is being written.  Have you tried specifying an absolute path for the file to be openned?
  • Note: This was originally posted on 22nd October 2009 at http://forums.arm.com

    What are you trying to do?  Make use of the timer from your code running on the ARM core?