Part Number:TMS320F2810
Tool/software: TI C/C++ Compiler
While migrating the project to CCS7.1 from CCS3.3 , I am getting"error #10099-D: program will not fit into available memory" Linker Error.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"f2810_flash.cmd", line 102: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section
"SciaRegsFile" size 0x10 page 1. Available memory ranges: SCIA size: 0x10 unused: 0x10 max hole: 0x10
SciaRegsFile : > SCIA, PAGE = 1
"f2810_flash.cmd", line 103: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section
"ScibRegsFile" size 0x10 page 1. Available memory ranges: SCIB size: 0x1f unused: 0x1f max hole: 0x1f
ScibRegsFile : > SCIB, PAGE = 1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
.cmd file
PAGE 1: /* Data Memory */
/* RAM/FLASH/OTP blocks can be moved to PAGE0 for program allocation */
RAMM0M1 : origin = 0x000000, length = 0x000800
RAMH0 : origin = 0x3F8000, length = 0x002000
CSM_PWL : origin = 0x3F7FF8, length = 0x000008
SCIA : origin = 0x007050, length = 0x000040 /* SCI-A registers */
SCIB : origin = 0x007750, length = 0x000040 /* SCI-B registers */
}
------ If the length is increased to 40 in the .cmd file the linker error goes away and
------ in the map file size remains same at 0x10 and unused: 0x30 for SCIA and SCIB
MAP File
- The Map file shows origin as 00007080 instead of 00007050 for _SciaRegs
- The Map file shows origin as 00007780 instead of 00007750 for _ScibRegs
- when ofd2000 --obj_display=none,sections ls.out was executed the memory align shows 64
-
- the align section information shows 64
- OBJECT FILE: ls.out
- Section Information
id name page load addr run addr size align alloc
-- ---- ---- --------- -------- ---- ----- -----
10 SciaRegsFile 1 0x00007080 0x00007080 0x10 64 Y
11 ScibRegsFile 1 0x00007780 0x00007780 0x10 64 Y
Please help to resolve
Eshwaran