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: Altering memory allocation for .ebss section

Part Number: TMS320F28035


Hi everyone,

I have to store data on arrays with large size and type float in TMS320F28035. While compiling a error "program doesnt fit into memory" occurs. The .ebss section is linked to RAML2 at page 1.

 .ebss            : > RAML2,     PAGE = 1

and

PAGE 1 :

   BOOT_RSVD   : origin = 0x000002, length = 0x00004E     /* Part of M0, BOOT rom will use this for stack */
   RAMM1       : origin = 0x000480, length = 0x000380     /* on-chip RAM block M1 */
   RAML2       : origin = 0x008D00, length = 0x000300
   RAML3       : origin = 0x009000, length = 0x001000

I observed RAML3 is not used so altered/swapped the size of RAML2 and RAML3 as below:

PAGE 1 :

   BOOT_RSVD   : origin = 0x000002, length = 0x00004E     /* Part of M0, BOOT rom will use this for stack */
   RAMM1       : origin = 0x000480, length = 0x000380     /* on-chip RAM block M1 */
   RAML2       : origin = 0x008D00, length = 0x001000
   RAML3       : origin = 0x009D00, length = 0x000300

Now the program can be compiled and is working. But will this incur any issue? Furthermore, i need to further increase memory for .ebss section. What could be the best alternative?

Thank you

Best Regards

Samir