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.

TMS320F28377D-EP: CLAscratch vs .scratchpad.

Part Number: TMS320F28377D-EP

Hello,

I am using the CLA on the above mentioned DSP.

  1. After reading blogs and datasheets, my understanding is that CLAscratch is a legacy section and the linker is now using .scratchpad.
  2. It is not necessary to specify a size for the .scratchpad section.

Therefore, I can get rid of the following lines in my linker:

CLA_SCRATCHPAD_SIZE = 0x100;
--undef_sym=__cla_scratchpad_end
--undef_sym=__cla_scratchpad_start

CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 0

and keep

.scratchpad      : > RAMLS1,       PAGE = 0

Am I correct? Are those true statements?

(It's a bit confusing and not very well documented, I think!)

Laurent