| Target Support Package™ TC2 | ![]() |
Configure Target Preferences for F2808 eZdsp stand alone code using Flash memory
c2000tgtpreflib in Target Support Package™ TC2 software
This block saves the generated code to nonvolatile flash memory for reuse. Saving the code in Flash, directly on the chip, allows the chip to be unplugged and reused at a different time. 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.
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 F2808 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 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.
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.
C280x/C2833x ADC, C280x/C2833x eCAN Receive, C280x/C2833x eCAN Transmit, C280x/C2833x ePWM, C280x/C2833x eQEP, C280x/C2833x Hardware Interrupt, Idle Task
![]() | F2808 eZdsp | F2812 eZdsp | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |