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/TMS320F28035: flash learning

Part Number: TMS320F28035

Tool/software: Code Composer Studio

hi

I am using this path code C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Enhanced_Sensorless_2803x

Actually I want to rewrite flash size that means I am assigning morethan 10 arrays(are int data type) with size 100 in the main file at globally

when I compile this file I am getting the error "program will" that error shows '.ebss' has exceeding the size limit(4096 bytes) then I read what is .ebss and I came to know that is for all globally declared variables.

Now how could I add more size to that .ebss without any address change of already declared variables.

please tell how to add flash size to a particular section

and also give me any flash adding example data without change the address of already declared variables.

thank you

  • You might change the .cmd file based on the controller, the Linker command file (.cmd) tells the linker how to place the software into the hardware, and is a memory map description of the MCU. You may refer to below two links to change the .cmd file according to your project.

    Chapter 8.5 Linker Command Files of TMS320C28x Assembly Language Tools v18.1.0.LTS, www.ti.com/lit/ug/spru513p/spru513p.pdf

    In addition, you may also find this wiki article helpful:
    processors.wiki.ti.com/.../C28x_Compiler_-_Understanding_Linking