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/TMS320C6727B: CCS v6.0, Windows 10

Part Number: TMS320C6727B

Tool/software: Code Composer Studio

**** Build of configuration Release for project ActiveSonar ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -j 8 all

gmake: Circular C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out <- C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out dependency dropped.

'Building target: C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out'

'Invoking: C6000 Linker'

"c:/ti/C6000 Code Generation Tools 6.0.8/bin/cl6x" --quiet --define=c6727 --symdebug:dwarf --display_error_number --silicon_version=67p --opt_level=3 --std_lib_func_not_defined -z --rom_model --absolute_exe --heap_size=0xA00 --map_file="C:/Sourcecode/BaseUnit/DSP - CCS5/Main/Release/ActiveSonar.map" --reread_libs --search_path="C:/Sourcecode/BaseUnit/DSP - CCS5/Main" --search_path="C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/Release" --search_path="c:/ti/C6000 Code Generation Tools 6.0.8/lib" --search_path="c:/ti/C6000 Code Generation Tools 6.0.8/include" --search_path="C:/TI/bios_5_42_01_09/packages/ti/rtdx/lib/c6000" --search_path="C:/TI/bios_5_42_01_09/packages/ti/bios/lib" --search_path="C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar" --stack_size=0x2000 --trampolines=on --warn_sections --xml_link_info="C:/Sourcecode/BaseUnit/DSP - CCS5/Main/Release/ActiveSonar_linkInfo.xml" -o "C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out" "C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonarBase.cmd" -l"./ActiveSONARcfg.cmd" --library="rts67plus.lib" "C:/Sourcecode/BaseUnit/DSP - CCS5/Main/fastrts67xR.lib" "C:/Sourcecode/BaseUnit/DSP - CCS5/Main/dsp67x.lib" "C:/Sourcecode/BaseUnit/DSP - CCS5/Main/c67xdsplibR.lib" "./Utils.obj" "./Syscontrol.obj" "./STFlash.obj" "./ResultsAlgos.obj" "./Prot.obj" "./Peripherals.obj" "./MY_dp_cmplx_memcpy.obj" "./MY_dp_cmplx_matrix_solver.obj" "./MY_DSPF_sp_fftSPxSP.obj" "./MODBUSRegisters.obj" "./MODBUS.obj" "./I2CEEPROM.obj" "./FPGADriver.obj" "./FFT.obj" "./DeviceParams.obj" "./DemodDataAlgos.obj" "./CaponAlgos.obj" "./ArrivalTrackerAlgos.obj" "./ActiveSonarMain.obj" "./ActiveSONARcfg_c.obj" "./ActiveSONARcfg.obj" "./ActiveConfig.obj"

>> error: can't allocate .const, size 0000203c (page 0) in IRAM (avail:

>> Compilation failure

00001800)

>> error: errors in input - C:/Sourcecode/BaseUnit/DSP -

CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out not built

gmake: *** [C:/Sourcecode/BaseUnit/DSP - CCS5/Main/ActiveSonar/../../Main/Release/ActiveSonar.out] Error 1

**** Build Finished ****

  • Hello,

    Your build output messages are a bit chopped up. This is likely because you are using an old CCS version with parallel builds enabled. I believe later CCS versions handle this better.

    In any case:

    Michael Huy said:
    >> error: can't allocate .const, size 0000203c (page 0) in IRAM (avail:

    I believe you are getting an allocation error where the linker is trying to allocate a section (,const) too large for the specified memory range (IRAM).

    Please see the below link for more details:

    https://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099

    Thanks

    ki