Integrating INTEGRITY application images with the kernel

About this task

To integrate the INTEGRITY application image with the kernel:

Procedure

  1. Open an application command window and change directory to the directory where the INTEGRITY application image was created.
  2. Enter the following command:

    C:>\...<path> <GreenDir>\intex -dbo
    - lang_7=<executable name>
    -kernel=<Target BSP path>\kernel
    -target=<Target BSP Path>\default.bsp OutputFileName

    In this command:

    1. <path> = The path to the application image
    2. <executable name> = Host
    3. <Target BSP Path> = <GreenDir>\mbx800
    4. OutputFileName = Dishwasher

      For example:

      C:\..\Dishwasher\EXE <GreenDir>\intex -dbo
      -lang_7=Dishwasher-
      kernel=<GreenDir>\mbx800\kernel
      -target=<GreenDir>\mbx800\default.bsp Dishwasher

  3. Invoke the ADAMULTI IDE.
  4. Select Remote > Connect to Target to open the Remote command window.

    Enter the following command:

    ocdserv lpt1 ppc800 -s <GreenDir>\mbx800\mbx800.ocd

    The execution of this command opens two windows - the Target window and the IN/OUT window.

  5. Select Debug > Debug Other and navigate to the path where your Integrity Application image was created, then click Debug. This selection opens the debug window.
  6. Click the toolbar button GO to start downloading your composite image of "Kernel+Application" on the board.
  7. Invoke another instance of the ADAMULTI IDE.
  8. Select Remote > Connect to Target to open the Remote command window.
  9. Enter the following command:

    rtserv -port udp@<hostname>

    In this command, hostname is the IP address of the target board. For example:

    rtserv -port udp@194.90.28.151

    The execution of this command invokes three windows - the rtserv Target window, IN/OUT window, and Task window. In the Task window, you can view the kernel space tasks and the virtual address space task (Initial).

  10. Double-click the Initial Task to open its debug window. You can see the debug arrow pointing at the main function of the application. Ensure that the same application is opened in IBM® Rational® Rhapsody®.

Feedback