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.

CCS/TMS320F28335: Locating Code & Data on FLASH and RAM

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I am developing application in MATLAB/Simulink environment and integrate generated code onto F28335 device.

I am facing problem with location code and data onto FLASH and RAM.

My previous software had following code and data sections.

.text = 22759

.cint = 2351

.econst = 538

.ebss = 2918

I located these sections onto FLASHA(.text, .cint, .econst) and RAML4(.ebss).

After i have done changes to some application files, code and data looks like this:

.text = 23109

.cint = 10224

.econst = 538

.ebss = 10726

Now using linker command file i located .text, .econst sections on FLASHA and .cint on FLASHB. 

RAM on device is L0-L7(4k x 16 each) & i can only use L4-L7. In order to fit 10726 bytes into RAM, i combined RAML4 RAML5 RAML6  with name "RAML4" as one section as follows in linker command file:

RAML4       : origin = 0x00C000, length = 0x003000

And then located .ebss on RAML4

My question:

1) Can sections of (.text, .cint, .econst) be located on different FLASH blocks? As they were located on the same block earlier.

2) Is if this way of combing the RAM is allowed and does this have any implication in run time performance?

Thank you!