Why do I receive an error in the CCS project setup process when generating code from a model that contains a DM642 EVM Video Capture and Video Display blocks in Simulink 6.2 (R14SP2)?
1 view (last 30 days)
Show older comments
When I build a model that contains the DM642 EVM Video Capture and Video Display blocks in Simulink 6.2 (R14SP2), I receive the following error in the Code Composer Studio IDE during the compilation process of the project as follows:
offset too large
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The default memory model for TI C6000 Embedded targets is "Near_Calls_and_Data" as indicated in the TI C6000 compiler settings in the Real-Time Workshop Configuration Parameters dialog. For an algorithm only model, this provides the most efficient code execution. However, for DM642 EVM, addition of Video ADC / DAC blocks causes a link error with the default settings. Documentation on the Embedded Target for TI C6000 is missing information on setting the memory model configuration for models with DM642 EVM video capture and video display blocks.
Here is additional information:
When building a model with DM642 EVM Video Capture and Video Display blocks, this memory model should be set to "Far_Calls_and_Data" as follows:
1. Go to "Simulation -> Configuration Parameters -> Real-Time Workshop"
2. Select the TI C6000 Compiler option
3. Change the Memory Model to "Far_Calls_and_Data"
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!