Memory section problem

조회 수: 1 (최근 30일)
Balazs
Balazs 2011년 5월 30일
[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
Kaustubha Govind
Kaustubha Govind 2011년 6월 1일
If you don't receive a response here, I would recommend contact Tech Support about this.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by