Memory section problem

12 views (last 30 days)
Balazs
Balazs on 30 May 2011
[EDIT: 20110530 14:06 CDT - reformat - WDR]
We're working with a Texas TMS320LF28335 DSP (C2000), with the Matlab version below and CodeComposer Studio v4.
The program is written to the Flash but for faster execution we load some functions to the RAM using the RAMFUNCS pragma option. The ramfuncs section is allocated in the RAMM0 section by default. Everything works fine as far as our program fits in that memory section. As it got bigger, we tried to set the ramfuncs section to another memory section through the "Target preferences" GUI, eg. RAML4L7. But the generated .cmd file still shows the RAMM0 section set for the ramfuncs. Every other section (eg. .text, .const, .reset...) can be associated to any place, except for the ramfuncs.
Correcting the .cmd file (RAMM0 --> RAML4L7) our program works fine, but we would like to avoid manual intervention.
Is it a bug, or do we miss something?
Thanks,
Balázs
Output of ver: MATLAB Version 7.11.1.866 (R2010b) Service Pack 1
MATLAB License Number: ########### [SCd censored License Number]
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.11.1 (R2010bSP1)
Simulink Version 7.6.1 (R2010bSP1)
Control System Toolbox Version 9.0 (R2010bSP1)
Embedded IDE Link Version 4.2 (R2010bSP1)
Fixed-Point Toolbox Version 3.2 (R2010bSP1)
MATLAB Report Generator Version 3.9 (R2010bSP1)
Real-Time Workshop Version 7.6.1 (R2010bSP1)
Real-Time Workshop Embedded Coder Version 5.6.1 (R2010bSP1)
Signal Processing Toolbox Version 6.14 (R2010bSP1)
SimPowerSystems Version 5.3 (R2010bSP1)
Simscape Version 3.4 (R2010bSP1)
Simulink Control Design Version 3.2 (R2010bSP1)
Simulink Design Verifier Version 1.7.1 (R2010bSP1)
Simulink Fixed Point Version 6.4 (R2010bSP1)
Simulink Report Generator Version 3.9 (R2010bSP1)
Simulink Verification and Validation Version 3.0.1 (R2010bSP1)
Stateflow Version 7.6.1 (R2010bSP1)
Stateflow Coder Version 7.6.1 (R2010bSP1)
Target Support Package Version 4.2 (R2010bSP1)
  1 Comment
Kaustubha Govind
Kaustubha Govind on 1 Jun 2011
If you don't receive a response here, I would recommend contact Tech Support about this.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!