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.

TMS320F28035: TMS320F28035 increasing stack size

Part Number: TMS320F28035

I am developing a code for TMS320F28035.  Currently working on the F28035 Piccolo Experimenter's Kit.  I changed the stack size to 0x500 and  updated the comand file with following lines  - 

      .stack              : >> RAMM1 | RAMM0,   PAGE = 1

However the linker throws an error

split run placement for this section is not permitted
.stack : >> RAMM1 | RAMM0, PAGE = 1
"../F28035.cmd", line 168: error: program will not fit into available memory,

Does this mean the stack size cannot be increased beyond 0x400?

Regards,

Ramesh

  • Hi Ramesh,

    The linker cannot split the .stack section. Since RAMM0 and RAMM1 are continuous, you can resolve the issue by combining these 2 blocks to form a larger memory block.

    Eg:

    //RAMM0 : origin = 0x00000128, length = 0x000002D8
    //RAMM1 : origin = 0x00000400, length = 0x000003F8

    RAMM01 : origin = 128, length = 6D0

    .stack : > RAMM01

    Regards,

    Veena