![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Rhapsody & VxWorks Topic Summary: Created On: 18-Oct-2006 14:20 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
sorry, but that's the extent of my knowledge on this matter. I think you'll have to talk to their support.
|
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Rhapsody & VxWorks
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.