Part Number: TMS320F2811
Tool/software: Code Composer Studio
Dear sir,
I am using TMS320F2811 for inverter application. I arranged memory map file for RAM and FLASH memory for my functions and structure variables. I also transfer my functions from FLASH to RAM location for fast
execution.
1) I want to know how much minimum memory i have kept left for any memory bunch?
my CMD file and memory file like below.
///////////////////////////////////////////////////
.CMD file
PAGE 1 : /* Data Memory */
RAMH0 : origin = 0x3F8000, length = 0x002000 /* on-chip RAM block H0 */
.sysmem : > RAMH0 PAGE = 1
.esysmem : > RAMH0 PAGE = 1
some structure variable also in RAMH0
//////////////////////////////////
.map file
name origin length used attr fill
RAMH0 003f8000 00002000 00001e99 RWIX
remaining memory is 0x167 for RAMH0. is it fine?
2) my ram function setting are below.
ramfuncs : LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
PAGE = 0 /* Allocate uninitalized data sections: */
some structure variable also in RAML0.
.map file
name origin length used attr fill
RAML0 00008000 00001000 00000e91 RWIX
remaining memory is 0x16F for RAML0. is it fine?
Thank you