Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

Port Connect

From Texas Instruments Wiki
Jump to: navigation, search

Port Connect


You can use the Port Connect tool to access a file through a memory address. Then, by connecting to the memory (port) address, you can read data in from a file, and/or write data out to a file.

Connecting a File

To connect a memory (port) address to a data file, follow these steps:

  • From the Tools menu, select Port Connect.

This action displays the Port Connect window and starts the Port Connect tool.

  • Click the Connect button.

This action opens the Connect dialog box.

  • In the Port Address field, enter the memory address.

This parameter can be an absolute address, any C expression, the name of a C function, or an assembly language label. If you want to specify a hex address, be sure to prefix the address number with 0x; otherwise, Code Composer Studio treats the number as a decimal address.

  • In the Length field, enter the length of the memory range.

The length can be any C expression.

  • In the Page field, choose type of memory (program or data) that the address occupies:
To identify this page . . .	  Use this value as the page parameter . . .
Program memory	                  Prog
Data memory	                  Data
  • In the Type field, select the Write or Read radio button.
  • Click OK.

This action displays the Open Port File window.

  • Select the data file to which you want to connect and click Open.

The file is accessed during an assembly language read or write of the associated memory address. Any memory address can be connected to a file. A maximum of one input and one output file can be connected to a single memory address; multiple addresses can be connected to a single file.

Disconnecting a File

Before you can delete from the memory map a memory address that you have connected to a file, you must disconnect the address. To disconnect a memory address from a data file, follow these steps:

  • Select the line that contains the file and port address you want to disconnect.

This action activates the Disconnect button.

  • Press the Disconnect button or double click the port address.

This action disconnects the memory address from the data file and removes that information from the Port Connect window.

Additional Information

  • Training presentation on Port Connect - link.

Port Connect Recording

  • Port connect presentation recording on CCSv4 - link

Supported Simulators

  • Supported on all C6000 Device Simulator only