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.

memory allocation error

Other Parts Discussed in Thread: TMS320F28335

Hi there,

I encountered a memory allocation error problem.

I've searched similar problem in FAQ and  read the recommended solution but I couldn't fix this error.

My linking error shows:    placement fails for object "csmpasswds"

Could you suppose something suspicious things in my project?

Here's my development environment:    

    1) CCS v3.3 for TMS320F28335,   

    2) used cmd file : F28335.cmd (Yes, I'd like to execute my code from FLASH)

    3) DSP2833x_CSMPasswords.asm was used

And, generated map file shows that :

SECTION ALLOCATION MAP

 output                                  attributes/
section   page    origin      length       input sections
--------  ----  ----------  ----------   ----------------
.pinit     0    00338000    00000000     UNINITIALIZED

csmpasswds
*          0    00000000    00000008     FAILED TO ALLOCATE
ramfuncs   0    00320000    0000001b     RUN ADDR = 00008000

F28335.cmd file shows that :

   CSM_PWL     : origin = 0x33FFF8, length = 0x000008     /* Part of FLASHA.  CSM password locations in FLASHA */

   (omit)

   csmpasswds          : > CSM_PWL     PAGE = 0