| Target Support Package™ TC2 | ![]() |
c2000tgtpreflib in Target Support Package TC2 software
Options on this block dialog box let you set features of code generation for your F28335 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 F28335 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.
Note This block must be in your model at the top level and not in a subsystem. It does not connect to any other blocks, but stands alone to set the Target Preferences for the model. Simulink returns an error when your model does not include a Target Preferences block or has more than one. |
The processor and target options you specify on this block are:
Processor and board information
Memory mapping and layout
Allocation of the various code sections, such as compiler and custom sections
Operating parameters for peripherals on F28335 eZdsp hardware
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 F28335 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 F28335 eZdsp Target Preferences, refer to the Target Preferences block in the Embedded IDE Link CC documentation.
Real-Time Workshop software provides the ability to generate code from a selected subsystem in a model. To generate code for a F28335 eZdsp from a subsystem, the subsystem model must include a Target Preferences block.
C280x/C28x3x ADC, C280x/C28x3x eCAN Receive, C280x/C28x3x eCAN Transmit, C280x/C28x3x ePWM, C280x/C28x3x eQEP, C280x/C28x3x Hardware Interrupt, Idle Task
![]() | F2812 eZdsp Stand alone code using Flash Memory | F28335 eZdsp Stand alone code using Flash Memory | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |