F2808 eZdsp - Configure Target Preferences for F2808 eZdsp DSK

Library

c2000tgtpreflib in Target Support Package TC2 software

Description

Options on this block dialog box let you set features of code generation for your F2808 eZdsp target. Adding this block to your Simulink model provides access to the processor hardware settings you need to configure when you generate a project from a Simulink model or you generate code from Real-Time Workshop software to run on your board.

Any model that you use to generate a project or that you target to F2808 eZdsp hardware should include this block or the Target Preferences block from the Embedded IDE Link CC software. Simulink or Real-Time Workshop software returns an error message if your model does not include a Target Preferences block when you try to generate projects or code.

The processor and target options you specify on this block are:

By setting the options included in this dialog box, you identify your target to Real-Time Workshop software, Target Support Package TC2 software, and Simulink, and configure the memory map for your target. Both steps are essential for targeting any F2808 eZdsp.

Unlike most other blocks, you cannot open the block dialog box for this block until you add the block to a model. When you try to open the block, the block attempts to connect to your target. It cannot make the connection when the block is in the library and returns an error message. Also, if you do not have Code Composer Studio installed, you cannot open this block.

For details about the options for the F2808 eZdsp Target Preferences, refer to the Target Preferences block in the Embedded IDE Link CC documentation.

Generating Code from Model Subsystems

Real-Time Workshop software provides the ability to generate code from a selected subsystem in a model. To generate code for a F2808 eZdsp from a subsystem, the subsystem model must include a Target Preferences block.

See Also

C280x/C28x3x ADC, C280x/C28x3x eCAN Receive, C280x/C28x3x eCAN Transmit, C280x/C28x3x ePWM, C280x/C28x3x eQEP, C280x/C28x3x Hardware Interrupt, Idle Task

  


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