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/TMS320F28379D: TMS320F28379D

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I am getting some errors related to memory size. The error message is written below

F2837xD_Headers_nonBIOS_cpu1.cmd", line 220: error #10099-D: program will not fit into available memory

  • hi ,

    Are you getting this error in the F2837xD_Headers_nonBIOS_cpu1.cmd or the 2837xD_RAM_lnk_cpu1.cmd?

    Could you check the console window in CCS for more details?

    what updates were made to the example or project when you see this error ?

    Regards.

  • Console window error is mentioned below
    error #10056: symbol "_InitEPwm" redefined: first defined in "./EPwm.obj"; redefined in "./F2837xD_GlobalVariableDefs.obj"
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 222: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm10RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM10 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 223: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm11RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM11 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 224: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm12RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM12 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 213: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm1RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM1 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 214: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm2RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM2 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 215: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm3RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM3 size: 0x100 unused: 0x100 max hole: 0x100
  • Console window is showing this message.

    error #10056: symbol "_InitEPwm" redefined: first defined in "./EPwm.obj"; redefined in "./F2837xD_GlobalVariableDefs.obj"
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 222: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm10RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM10 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 223: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm11RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM11 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 224: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm12RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM12 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 213: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm1RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM1 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 214: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm2RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM2 size: 0x100 unused: 0x100 max hole: 0x100
    "../F2837xD_Headers_nonBIOS_cpu1.cmd", line 215: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section "EPwm3RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM3 size: 0x100 unused: 0x100 max hole: 0x100

  • hi Anup,

    Could you details on what were you trying to compile when you get this error ?

    It seems that that the EPWM registers need 0x102 words but the allocated memory is 0x100 words.

    "EPwm1RegsFile" size 0x102 page 1. Available memory ranges:
    EPWM1 size: 0x100 unused: 0x100 max hole: 0x100

    Are you using the symbol _InitEPwm in epwm.c and in F2837xD_GlobalVariableDefs.c ?

    error #10056: symbol "_InitEPwm" redefined: first defined in "./EPwm.obj"; redefined in "./F2837xD_GlobalVariableDefs.obj"

    Regards.