This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28044: placement fails for object ".text"

Hello!

I am using TMS320F28044 eZdsp and when attempting to compile the code on CCS V4.1 I get the following error code:

placement fails for object ".text", size 0x1d17
(page 0). Available ranges: RAML0 size:
0x1000 unused: 0xe77 max hole: 0xe77

The 28044_RAM_lnk_cmd file looks like this:

MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */

BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000002, length = 0x0003FE
RAML0 : origin = 0x008000, length = 0x001000
RESET : origin = 0x3FFFC0, length = 0x000002
BOOTROM : origin = 0x3FF000, length = 0x000FC0


PAGE 1 :

BOOT_RSVD : origin = 0x000400, length = 0x000080 /* Part of M1, BOOT rom will use this for stack */
RAMM1 : origin = 0x000480, length = 0x000380 /* on-chip RAM block M1 */
RAML1 : origin = 0x009000, length = 0x001000
}


SECTIONS
{
/* Setup for "boot to SARAM" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : > BEGIN, PAGE = 0
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0, PAGE = 0
.cinit : > RAMM0, PAGE = 0
.pinit : > RAMM0, PAGE = 0
.switch : > RAMM0, PAGE = 0
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */

.stack : > RAMM1, PAGE = 1
.cio : > RAML1, PAGE = 1
.ebss : > RAML1, PAGE = 1
.econst : > RAML1, PAGE = 1
.esysmem : > RAML1, PAGE = 1

IQmath : > RAML0, PAGE = 0
IQmathTables : > BOOTROM, type = NOLOAD, PAGE = 0


}

Can I allocate program code in flash memory and variables in RAM? If it is possible than how to do it? How to execute that code?