Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Rhapsody & VxWorks
Topic Summary:
Created On: 18-Oct-2006 14:20
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Oct-2006 14:20
User is offline View Users Profile Print this message


Jingyi Shi

Posts: 3
Joined: 11-May-2006

Hallo!

I wish to simulate program, which I created in Rhapsody on my destination hardware (PPC405). I've compiled the OXF with help of Tornado tools and after this compilation several *.a files was created. These *.a files include *.o files, which I joined in Tornado to create a VxWorks imagefile. So now I have got a Vxworks imagefile which include the OXF.
When I run vxworks on my destination hardware and download my program, that I created in Rhapsody (for downloading I use the Rhapsody menu option), and I'm trying to start it then I receive on the output an error:

Could not connect the host ....
Rhapsody may not be running on host or animation is not....

(I'm sorry for dots, but I post this message at home and I don't remember this error exactly)

The program starts to run and it looks like the OXF initialization fails.

Do anyone know is this a good way to run my program, which was in Rhapsody created, on a destination hardware and animate it?

I will be very appreciated for any help.

Regards
Damian
Report this to a Moderator Report this to a Moderator
 18-Oct-2006 23:09
User is offline View Users Profile Print this message


Jan Diep

Posts: 18
Joined: 31-May-2005

You can't animate the program and run it without Rhapsody. In order to run it on another platform, you'll have to create a version without the animation (since you can't see the animation data anyways, you shouldn't need it on the other platform). What I've done in the past is keep 2 component-configurations, one with animation for debugging, and one without it to run on my other platform. You'll also have to copy over some files (vcl60.bpl and rtl60.bpl I think) in order for it to run properly.
Report this to a Moderator Report this to a Moderator
 21-Oct-2006 16:31
User is offline View Users Profile Print this message


Jingyi Shi

Posts: 3
Joined: 11-May-2006

Hallo and thank you for answer!

Ok. I can make 2 components configuration. One with animation that works on PC (so I must choose "Microsoft" for compiler settings) and second that will work on my destination hardware with compiler settings "VxWorks" and no animation.
The question is: what if I use in my project some hardware specify software modules (for example CAN driver), then my project will not compile with "Microsoft" settings?

What I want to have is to compile my project for VxWorks with animation. Run it on destination hardware and control the program with rhapsody installed on the PC. A PC and the PPC (where the Vxworks works) are connected via ethernet.

Is it possible?

Regards
Damian
Report this to a Moderator Report this to a Moderator
 23-Oct-2006 23:52
User is offline View Users Profile Print this message


Jan Diep

Posts: 18
Joined: 31-May-2005

did you include the libs:
..aomanim.lib
..omComAppl.lib
..oxfinst.lib

where .. is the name of the compiler? Look under ..\Share\LangCpp\Lib for the appropriate files.
Report this to a Moderator Report this to a Moderator
 1-Nov-2006 16:58
User is offline View Users Profile Print this message


Jingyi Shi

Posts: 3
Joined: 11-May-2006

Yes, I did.

As far as I know, when I choose "Rhapsody in C", then the code will be generated in C. So I need the C versions of these libraries, which I can find under ..\Share\LangC\Lib.

In my case I've included the following files:

vxaomanimPPC405.a
vxomcomapplPPC405.a
vxoxfinstPPC405.a
Report this to a Moderator Report this to a Moderator
 3-Nov-2006 20:52
User is offline View Users Profile Print this message


Jan Diep

Posts: 18
Joined: 31-May-2005

sorry, but that's the extent of my knowledge on this matter. I think you'll have to talk to their support.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.