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.

TMS320F280037: .ebss size problem.

Part Number: TMS320F280037

Hi champs,

My customer used F2812 and CCS v3.3(CGT v3.07) for applications before, now he wants to migrate his project to F280037 and CCS v12(CGT v22.6.0.LTS), but he is facing one .ebss size problem.

There is one parameter.cpp in the project, but the size of paramter.obj is in a big different when using CCS v3.3 and CCS v12 to build this project, please refer to below .map file portions,

** .map file built by CCS v3.3(CGT v3.07).

.ebss      1    00010980    000016f6     UNINITIALIZED
                  00010980    000006b6     mc_amf.obj (.ebss)
                  00011036    0000000a     mc_Prog.obj (.ebss:_BreakPoint)
                  00011040    0000017c     C28_SCI.obj (.ebss)
                  000111bc    00000004     encoder_cpu2.obj (.ebss)
                  000111c0    0000016c     C28_SPI.obj (.ebss)
                  0001132c    00000012     C28_HW.obj (.ebss:_ePWM)
                  0001133e    00000002     ISR_PWM.obj (.ebss)
                  00011340    0000014e     Mon.obj (.ebss)
                  0001148e    00000032     gain_tuning.obj (.ebss:_dB_ratio_table)
                  000114c0    00000128     Parameter.obj (.ebss)
                  000115e8    00000018     f28004x_cputimers.obj (.ebss)
                  00011600    00000120     Data_Save.obj (.ebss)
                  00011720    00000020     FFT_cal.obj (.ebss)
                  00011740    000000f4     SWI.obj (.ebss)
                  00011834    0000000c     cCn2Inf.obj (.ebss)
                  00011840    000000c0     rts2800_fpu32.lib : dtor_list.c.obj (.ebss:_atexit_func)
                  00011900    000000ac     PanelPoll.obj (.ebss)
                  000119ac    00000010     Mon.obj (.ebss:_Mon_Get_Long_Func)
                  000119bc    00000004     mc_SR.obj (.ebss)
                  000119c0    000000ac     mc_main.obj (.ebss)
                  00011a6c    00000010     Parameter.obj (.ebss:_P0_35)
                  00011a7c    00000004     mc_func.obj (.ebss)
                  00011a80    000000a0     mc_main.obj (.ebss:_Task)

** .map file built by CCS v12(CGT v22.6.0.LTS)

.ebss      0    003f2000    000041f6     UNINITIALIZED
                  003f2000    00000708     Parameter.obj (.ebss:_pg5)
                  003f2708    00000708     Parameter.obj (.ebss:_pg6)
                  003f2e10    000006f6     Parameter.obj (.ebss:_pg1)
                  003f3506    000006d2     Parameter.obj (.ebss:_pg2)
                  003f3bd8    000004da     Parameter.obj (.ebss:_pg0)
                  003f40b2    000002be     Parameter.obj (.ebss:_pg_h1)
                  003f4370    000002ac     Parameter.obj (.ebss:_pg_h2)
                  003f461c    00000018     f28003x_cputimers.obj (.ebss)
                  003f4634    0000000c     Para_Func.obj (.ebss)
                  003f4640    000001fc     CANopen_ApFun.obj (.ebss)
                  003f483c    000001f8     Parameter.obj (.ebss:_pg7)
                  003f4a34    000001c2     Parameter.obj (.ebss:_pg4)
                  003f4bf6    0000000a     ISR_PWM.obj (.ebss)
                  003f4c00    00000190     mc_main.obj (.ebss:_AMF_QUEUE)
                  003f4d90    0000002e     Main.obj (.ebss)
                  003f4dbe    00000002     CANopen_301Drv.obj (.ebss)

Because CGT v22.6.0.LTS generates many strange, big size parameter.obj, we don't have enough RAM size to assign to .ebss sector. Please advise how should we debug this problem, thanks for your help.

Regards,

Luke