Port Connect

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Port Connect

Introduction

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:

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

This action opens the Connect dialog box.

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.

The length can be any C expression.

To identify this page . . .	  Use this value as the page parameter . . .
Program memory	                  Prog
Data memory	                  Data

This action displays the Open Port File window.


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:

This action activates the Disconnect button.

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

Additional Information

Port Connect Recording

Supported Simulators

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox