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 size for F28335

Hello TI,

I receive the following error when attempting to build my project:

"../28335_RAM_lnk.cmd", line 125: error: placement fails for object ".text",

size 0x100c (page 0). Available ranges:

RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000

error: errors encountered during linking; "Lab8_1.out" not built

This must mean that I have run out of memory for this location.  What is the simplest solution to increase the size of memory?  I don't understand all that memory mapping and stuff.  Sorry for not knowing this stuff and asking such a trivial question.

Thank you

Glen

 

  • Glen Crowder62593 said:

    Hello TI,

    I receive the following error when attempting to build my project:

    "../28335_RAM_lnk.cmd", line 125: error: placement fails for object ".text",

    size 0x100c (page 0). Available ranges:

    RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000

    error: errors encountered during linking; "Lab8_1.out" not built

    This must mean that I have run out of memory for this location.  What is the simplest solution to increase the size of memory?  I don't understand all that memory mapping and stuff.  Sorry for not knowing this stuff and asking such a trivial question.

    Thank you

    Glen

     

    Hi Glen,

    Take a look at this wiki - it idescribes the linking process and how to define and allocate the memory.  

    http://processors.wiki.ti.com/index.php/C28x_Compiler_-_Understanding_Linking

    Regards

    Lori

  • Hello Lori,

     

    Thanks for the reply.

    My original code looked like this:

    .text : > RAML1, PAGE = 0

    changed it to:

    .text:{ *(.text) } >> RAML1 | RAML2 PAGE = 0

    Is this correct?

    Glen