NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Port Connect

From Texas Instruments Wiki
Jump to: navigation, search

Port Connect[edit]

Introduction[edit]

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[edit]

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[edit]

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[edit]

  • Training presentation on Port Connect - link.

Port Connect Recording[edit]

  • Port connect presentation recording on CCSv4 - link

Supported Simulators[edit]

  • Supported on all C6000 Device Simulator only
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Port Connect here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Port Connect here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Port Connect here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Port Connect here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Port Connect here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Port Connect here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Port Connect here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Port Connect here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Port Connect here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity