14.8.1. Sending information to the target

To use the Comms Channel view to send information to the target:

  1. To see how the Comms Channel view works:

    1. Build the inchan.axf image. See the readme.txt file in install_directory\RVDS\Examples\...\windows\dcc.

    2. Connect to your target.

  2. Select Comms Channel from the View menu to display the Comms Channel view. Figure 14.26 shows an example.

    Figure 14.26. Comms Channel view

    Comms Channel view

  3. Load the required image.

    For this example, load the image:

    install_directory\RVDS\Examples\...\windows\dcc\inchan.axf

  4. Specify the information to be sent.

    To enter information directly in the Comms Channel view:

    1. Type the required information in the Data entry field.

      For example, type And goodbye!.

    2. Click Send.

      The data is sent to the target, and is also displayed as grey text in the Data log pane.

    To load information from a text file:

    1. Right-click in the Data log pane to display the context menu.

    2. Select Read Input from File... from the context menu. The Choose File to Read Input From dialog box is displayed.

    3. Locate the file containing the information to be sent. In this example, locate the file:

      install_directory\RVDS\Examples\...\windows\dcc\input

    4. Click Open.

  5. Select Memory from the View menu to display the Memory view. Figure 14.27 shows an example.

    Figure 14.27. Memory view

    Memory view

  6. In the inchan.s tab of the Source view, double-click on the indata label.

  7. Copy and paste the indata label into the Start Address field of the Memory view, then press Enter. The memory at the address of indata shows that defined by the image. Figure 14.28 shows an example.

    Figure 14.28. Data defined for indata in image

    Data defined for indata in image

  8. Click Run to start execution.

    The data at the address of indata changes to that shown in Figure 14.29.

    Figure 14.29. Data sent to indata location

    Data sent to indata location

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential