Embedded IDE Link CC Pane

Embedded IDE Link CC Overview

Options on this pane configure the generated projects and code for Texas Instruments processors. They also enable PIL block generation and provide real-time task execution and stack use profiling.

Export IDE link handle to base workspace

Directs the software to export the ticcs object to your MATLAB workspace.

Settings

Default: On

On

Directs the build process to export the ticcs object created to your MATLAB workspace. The new object appears in the workspace browser. Selecting this option enables the IDE link handle name option.

Off

prevents the build process from exporting the ticcs object to your MATLAB software workspace.

Dependency

This parameter enables IDE link handle name.

Command-Line Information

Parameter: exportIDEObj
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

IDE link handle name

specifies the name of the ticcs object that the build process creates.

Settings

Default: CCS_Obj

Dependency

This parameter is enabled by Export IDE link handle to base workspace.

Command-Line Information

Parameter: ideObjName
Type: string
Value:
Default: CCS_Obj

Recommended Settings

ApplicationSetting
DebuggingEnter any valid C program variable name, without spaces
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Profile real-time execution

enables real-time execution profiling in the generated code by adding instrumentation for task functions or atomic subsystems.

Settings

Default: Off

On

Adds instrumentation to the generated code to support execution profiling and generate the profiling report.

Off

Does not instrument the generated code to produce the profile report.

Dependencies

This parameter adds Number of profiling samples to collect and Profile by.

Selecting this parameter disables Export ID link handle to base workspace.

Setting Build action to Archive_library or Create_processor_in_the_loop project removes this parameter.

Command-Line Information

Parameter: ProfileGenCode
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

For more information about using profiling, refer to profile, and Real-Time Execution Profiling.

Profile by

Defines which execution profiling technique to use.

Settings

Default: Task

Task

Profiles model execution by the tasks in the model.

Atomic subsystem

Profiles model execution by the atomic subsystems in the model.

Dependencies

Selecting Real-time execution profiling enables this parameter.

Command-Line Information

Parameter: profileBy
Type: string
Value: Task | Atomic subsystem
Default: Task

Recommended Settings

ApplicationSetting
DebuggingTask or Atomic subsystem
TraceabilityArchive_library
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

For more information about PIL, refer to Using Processor in the Loop.

For more information about enabling profiling, refer to profile, and Real-Time Execution Profiling

Number of profiling samples to collect

Specifies the number of profiling samples to collect. Collection stops when the buffer for profiling data is full.

Settings

Default: 100

Minimum: 1

Maximum: Buffer capacity in samples

Tips

Dependencies

This parameter is enabled by Profile real-time task execution.

Command-Line Information

Parameter:ProfileNumSamples
Type: int
Value: Positive integer
Default: 100

Recommended Settings

ApplicationSetting
Debugging100
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Inline run-time library functions

Marks run-time library functions generated by the Signal Processing Toolbox and Video and Image Processing Blockset™ block algorithms. These functions as marked with the inline keyword.

Settings

Default: On

On

Adds the keyword inline to each instance of an algorithm generated from blocks in the Signal Processing Blockset software and Video and Image Processing Blockset software.

Off

Does not mark the algorithms with the keyword.

Tips

The following list shows cases where inlining run-time library functions may not be appropriate:

Command-Line Information

Parameter: InlineDSPBlks
Type: string
Value: 'on' | 'off'
Default: on

Recommended Settings

ApplicationSetting
DebuggingOff
TraceabilityOn
EfficiencyOn
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Project options

Sets the project options for building your project from the model.

Settings

Default: Custom

Custom

Applies a custom project configuration that provides a specialized combination of build and optimization settings.

The default settings are the same as the Release project configuration in CCS, except for the compiler and memory options. For the compiler options, Custom uses the Function(-o2) compiler setting. For memory configuration, Custom specifies the -ml1 memory model that uses near functions and data.

Debug

Applies the Debug project options defined by Code Composer Studio software to the generated project and code.

Release

Applies the Release project configuration defined by Code Composer Studio software to the generated project and code.

Dependencies

Selecting Custom disables the reset options for Compiler options string and Linker options string.

Command-Line Information

Parameter: projectOptions
Type: string
Value: Custom | Debug | Release
Default: Custom

Recommended Settings

ApplicationSetting
DebuggingCustom or Debug
TraceabilityCustom, Debug, Release
EfficiencyRelease
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Compiler options string

Lets you enter a string of compiler options to define your project configuration.

Settings

Default: No default

Tips

Command-Line Information

Parameter: compilerOptionsStr
Type: string
Value: Custom | Debug | Release
Default: Custom

Recommended Settings

ApplicationSetting
DebuggingCustom
TraceabilityCustom
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Linker options string

Enables you to specify linker command options that determine how to link your project when you build your project.

Settings

Default: No default

Tips

Dependencies

Setting Build action to Archive_library removes this parameter.

Command-Line Information

Parameter: linkerOptionsStr
Type: string
Value: any valid compiler option
Default: none

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

System stack size (MAUs)

Allocates memory for the system stack on the processor.

Settings

Default: 8192

Minimum: 0

Maximum: Available memory

Dependencies

Setting Build action to Archive_library removes this parameter.

Command-Line Information

Parameter: systemStackSize
Type: int
Default: 8192

Recommended Settings

ApplicationSetting
Debuggingint
Traceabilityint
Efficiencyint
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Build action

Defines how Real-Time Workshop software responds when you press Ctrl+B to build your model.

Settings

Default: Build_and_execute

Build_and_execute

Builds your model, generates code from the model, and then compiles and links the code. After the software links your compiled code, the build process downloads and runs the executable on the processor.

Create_project

Directs Real-Time Workshop software to create a new project in the IDE.

Archive_library

Invokes the CCS Archiver to build and compile your project, but It does not run the linker to create an executable project. Instead, the result is a library project.

Build

Builds a project from your model. Compiles and links the code. Does not download and run the executable on the processor.

Create_processor_in_the_loop_project

Directs the Real-Time Workshop code generation process to create PIL algorithm object code as part of the project build.

Dependencies

Selecting Archive_library removes the following parameters:

Selecting Create_processor_in_the_loop_project removes the following parameters:

Command-Line Information

Parameter: buildAction
Type: string
Value: Build | Build_and_execute | Create_project Archive_library | Create_processor_in_the_loop_project
Default: Build_and_execute

Recommended Settings

ApplicationSetting
DebuggingBuild_and_execute
TraceabilityArchive_library
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

For more information about PIL, refer to Using Processor in the Loop.

Interrupt overrun notification method

Specifies how your program responds to overrun conditions during execution.

Settings

Default: None

None

Your program does not notify you when it encounters an overrun condition.

Print_message

Your program prints a message to standard output when it encounters an overrun condition.

Call_custom_function

When your program encounters an overrun condition, it executes a function that you specify in Interrupt overrun notification function.

Tips

Dependencies

Selecting Call_custom_function enables the Interrupt overrun notification function parameter.

Setting this parameter to Call_custom_function enables the Interrupt overrun notification function parameter.

Command-Line Information

Parameter: overrunNotificationMethod
Type: string
Value: None | Print_message | Call_custom_function
Default: None

Recommended Settings

ApplicationSetting
DebuggingPrint_message or Call_custom_function
TraceabilityPrint_message
EfficiencyNone
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Interrupt overrun notification function

Specifies the name of a custom function your code runs when it encounters an overrun condition during execution.

Settings

No Default

Tips

Specify a function that exists in your current working directory.

Dependencies

This parameter is enabled by setting Interrupt overrun notification method to Call_custom_function.

Command-Line Information

Parameter: overrunNotificationFcn
Type: string
Value: no default
Default: no default

Recommended Settings

ApplicationSetting
DebuggingString
TraceabilityString
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

PIL block action

Specifies whether Real-Time Workshop software builds the PIL block and downloads the block to the processor

Settings

Default: Create_PIL_block_and_download

Create_PIL_block_build_and_download

Builds and downloads the PIL application to the processor after creating the PIL block. Adds PIL interface code that exchanges data with Simulink.

Create_PIL_block

Creates a PIL block, places the block in a new model, and then stops without building or downloading the block. The resulting project will not compile in the IDE.

None

Configures model to generate a CCS project that contains the PIL algorithm code. Does not build the PIL object code or block. The new project will not compile in the IDE.

Tips

Dependency

Enable this parameter by setting Build action to Create_processor_in_the_loop_project.

Command-Line Information

Parameter: configPILBlockAction
Type: string
Value: None | Create_PIL_block | Create_PIL_block_build_and_download
Default: Create_PIL_block

Recommended Settings

ApplicationSetting
DebuggingCreate_PIL_block_build_and_download
TraceabilityCreate_PIL_block_build_and_download
EfficiencyNone
Safety precautionNo impact

See Also

For more information, refer to Using Processor in the Loop.

Maximum time allowed to build project (s)

Specifies how long, in seconds, the software waits for the project build process to return a completion message.

Settings

Default: 1000

Minimum: 1

Maximum: No limit

Tips

Dependency

This parameter is disabled when you set Build action to Create_project.

Command-Line Information

Parameter:TBD
Type: int
Value: Integer greater than 0
Default: 100

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

Maximum time to complete IDE operations (s)

specifies how long the software waits for IDE functions, such as read or write, to return completion messages.

Settings

Default: 10

Minimum: 1

Maximum: No limit

Tips

Command-Line Information

Parameter:TBD
Type: int
Value:
Default: 10

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

For more information, refer to Embedded IDE Link CC Pane Parameters.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS
 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS