| |||
| Home > Altering the Target Execution Environment > Communicating with a target over DCC > Sending information to the target | |||
To use the Comms Channel view to send information to the target:
To see how the Comms Channel view works:
Build the inchan.axf image. See
the readme.txt file in . install_directory\RVDS\Examples\...\main\dcc
Connect to your target.
Select Comms Channel from the View menu to display the Comms Channel view. Figure 14.26 shows an example:
Load the required image.
For this example, load the image:
install_directory\RVDS\Examples\...\main\dcc\inchan.axf
Specify the information to be sent.
To enter information directly in the Comms Channel view:
Type the required information in the Data entry field.
For example, type And goodbye!.
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:
Right-click in the Data log pane to display the context menu.
Select Read Input from File... from the context menu. The Choose File to Read Input From dialog box is displayed.
Locate the file containing the information to be sent. In this example, locate the file:
install_directory\RVDS\Examples\...\main\dcc\input
Click Open.
Select Memory from the View menu to display the Memory view. Figure 14.27 shows an example:
In the inchan.s tab of the
Source view, double-click on the indata label.
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:
Click Run to start execution.
The data at the address of indata changes
to that shown in Figure 14.29.
the chapter that describes the Debug Communications Channel in ARM® Compiler toolchain Developing Software for ARM® processors.