Integration With QNX - IBM

IBM Rational Rhapsody

Integration With QNX

Manish Kumar April 2, 2010

Page 1 of 28 "IBM Rational Rhapsody Integration With QNX"

IBM Rational Rhapsody

INTRODUCTION

3

OVERVIEW OF THE TOPIC

4

CREATE A VIRTUAL QNX NEUTRINO TARGET WITH VMWARE

5

PREPARING THE TARGET

15

ADAPTING IBM RATIONAL RHAPSODY TO USE QNX 18

TESTING THE ENVIRONMENT WITH "HELLO WORLD" EXAMPLE

22

REFERENCES

27

Page 2 of 28 "IBM Rational Rhapsody Integration With QNX"

IBM Rational Rhapsody

1 Introduction

The purpose of this document is to describe the integration between IBM Rational Rhapsody and QNX. The document explains the concepts used in setting up the integration and provides step by step guidance in performing installation of QNX on VMWare as host, installing the adapters to rebuild IBM Rational Rhapsody framework followed with a small "Hello World" example. Adapters are a set of .cpp/.h files which implement the system call specific to the environment, along with the makefile required to build the IBM Rational Rhapsody framework. This document also explains how to install QNX on a VMWare image if you do not have a target.

Page 3 of 28 "IBM Rational Rhapsody Integration With QNX"

IBM Rational Rhapsody

2 Overview of the Integration

CREATE A VIRTUAL QNX NEUTRINO TARGET WITH VMWARE

? If you do not have a Real Target available you can easily use Vmware to create a virtual X86 target running on your host machine.

? In this document we are going to install the QNX Neutrino as target operating system on VMware.

? The intended use of this target is in conjunction with the QNX adapter to build a well integrated environment to demonstrate the QNX Momentics IDE with IBM Rational Rhapsody

INSTALLATION OF THE ADAPTERS

? Adapters are needed to compile IBM Rational Rhapsody framework to generate libraries specific to the platform.

? Installation of Adapters means addition of few OS, framework related files collected in a common "Share" directory to build IBM Rational Rhapsody framework

? The "Share" directory also contains environment specific framework and PRP files ? Use the .bat files to rebuild the framework and generate the libraries.

PREPARING THE TARGET

? You will need a QNX target to run the application that you are going to build with IBM Rational Rhapsody

? For this, you need VMWare or the free VMWare player installed on the machine. ? Setting up the network ? Booting up the Target ? Pinging the Target

TESTING THE ENVIRONMENT WITH "HELLO WORLD" EXAMPLE

? Design a small application in IBM Rational Rhapsody with output "Hello World" ? Connect to the Target ? Download and run the executable to the target.

Page 4 of 28 "IBM Rational Rhapsody Integration With QNX"

IBM Rational Rhapsody

3 Create a virtual QNX Neutrino Target with VMware

If you do not have a real target, you can use Vmware to create a virtual X86 target. Below are the steps to create a virtual target machine:

? Open VMware Workstation and select New -> Virtual Machine

? In the welcome wizard press Next>

Page 5 of 28 "IBM Rational Rhapsody Integration With QNX"

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download