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/TMS320F28069M: errors encountered during linking; "Example_F2802xEPwmDeadBand.out" not built

Part Number: TMS320F28069M
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

**** Build of configuration RAM for project Example_F2802xEPwmDeadBand2 ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all
 
Building target: "Example_F2802xEPwmDeadBand.out"
Invoking: C2000 Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt -g --define=_DEBUG --define=LARGE_MODEL --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 -z --stack_size=0x400 -m"Example_F2802xEPwmDeadBand.map" --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" -i"C:/Users/shad/Documents/moco_0.1v" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/lib" -i"C:/ti/C2000Ware_1_00_05_00_Software/libraries/math/IQmath/c28/lib" --reread_libs --verbose_diagnostics --issue_remarks --xml_link_info="Example_F2802xEPwmDeadBand_linkInfo.xml" --entry_point=code_start --rom_model -o "Example_F2802xEPwmDeadBand.out" "./Example_2802xEPwmDeadBand.obj" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/headers/cmd/F2802x_Headers_nonBIOS.cmd" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/ccs/Debug/driverlib.lib"  -l"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/cmd/F2802x_generic_ram.cmd" -lrts2800_ml.lib -lIQmath.lib
 
>> Compilation failure
makefile:137: recipe for target 'Example_F2802xEPwmDeadBand.out' failed
"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/cmd/F2802x_generic_ram.cmd", line 142: error:
   program will not fit into available memory.  placement with
   alignment/blocking fails for section ".text" size 0xdc2 page 0.  Available
   memory ranges:
   RAMM0        size: 0x3b0        unused: 0x0          max hole: 0x0
   RAML0        size: 0x800        unused: 0x0          max hole: 0x0      
   .text            : >> RAMM0 | RAML0,      PAGE = 0
"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/cmd/F2802x_generic_ram.cmd", line 150: error:
   program will not fit into available memory.  placement with
   alignment/blocking fails for section ".econst" size 0x100 page 1.  Available
   memory ranges:
   RAMM1        size: 0x400        unused: 0x0          max hole: 0x0      
   .econst          : > RAMM1,     PAGE = 1
"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/cmd/F2802x_generic_ram.cmd", line 149: error:
   program will not fit into available memory.  run placement with
   alignment/blocking fails for section ".ebss" size 0x39 page 1.  Available
   memory ranges:
   RAMM1        size: 0x400        unused: 0x0          max hole: 0x0      
   .ebss            : > RAMM1,     PAGE = 1
"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2802x/common/cmd/F2802x_generic_ram.cmd", line 143: error:
   program will not fit into available memory.  placement with
   alignment/blocking fails for section ".cinit" size 0x1a page 0.  Available
   memory ranges:
   RAMM0        size: 0x3b0        unused: 0x0          max hole: 0x0
   RAML0        size: 0x800        unused: 0x0          max hole: 0x0      
   .cinit           : >  RAMM0 | RAML0,      PAGE = 0
error: errors encountered during linking; "Example_F2802xEPwmDeadBand.out" not
   built
gmake: *** [Example_F2802xEPwmDeadBand.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
what can I do   ??????
  • Hi Aash Mohd,

    What changes have you made to this example? It seems your program won't fit in the RAM that has been allocated in the linker command file. You will need to allocate more memory for the sections that are having issues.

    Refer to the datasheet memory map for available memory sizes/addresses.

    Best,
    Kevin
  • hello sir,

    I just copy this example and paste in different location.

    when I build this it shows this error

    whats the solution???
  • Hi Aash Mohd,

    If you import the project into CCS from C2000ware (Project --> Import CCS Projects...) does it build OK on your side?

    I don't have any issues building this after importing on my end. Might be related to how you copied the project. Also, what CCS version are you using?

    Best,
    Kevin
  • im using v8
    so plz me tell how to copy project??

    also tell me how to create new project and add all important files???
  • Hi Aash Mohd,

    I'm sorry for the late response! The project you're building is for F2802x ("Example_F2802xEPwmDeadBand.out") and not F2806x, so that might be the root problem.

    OK, that's good. The best way to start a new project is by importing a C2000ware project into Code Composer Studio (CCS) so that all the proper files are included/linked. Please follow the below for your example:

    1. At the top of CCS select "Project" --> then "Import CCS Project"

    2. Click Browse and go to the C2000ware project directory location:

    C:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2806x\examples\c28\epwm_deadband

    3. Select OK then Finish to import it into the workspace. You can then build and debug it within CCS

    Hope this helps,

    Kevin