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.

Compiler/TMS320C6657: Compilation failure when BIOS.heapSize is greater than 0x20000000

Part Number: TMS320C6657
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

as the title, when use the compiler version from ti-cgt-c6000_8.2.3 ti-cgt-c6000_8.2.4 and ti-cgt-c6000_8.3.0, will report a error:

".../bios_6_53_00_11/packages/ti/sysbios/heaps/HeapMem.h", line 90 (col. 18):

error: Object size 671088640 bytes is greater than maximum supported size 536870911 bytes

but ti-cgt-c6000_8.2.2 is ok.

use xdctools 3.50.7.20 CCS8.1

  • You are being affected by a known issue.  Please look up CODEGEN-449 with the SDOWP link below in my signature.  The compiler has a limit on the size of a single data object of 256 MB (0x1000000 bytes).  In releases 8.2.3 and higher, the compiler issues an error message similar to ...

    xian ping said:
    error: Object size 671088640 bytes is greater than maximum supported size 536870911 bytes

    In releases 8.2.2 and older, the size of the large object is silently truncated to a much smaller size.  Thus while you may think ...

    xian ping said:
    but ti-cgt-c6000_8.2.2 is ok.

    ... your heap is actually much smaller than requested.  

    For more background on this issue, please see this forum thread.  

    Thanks and regards,

    -George

  • I can't find the CODEGEN-449 in SDOWP, but how can i make a heap greate than 512Mbyte?

  • xian ping said:
    I can't find the CODEGEN-449 in SDOWP

    I apologize.  I should have told you to look it up with the ID SDSCM00043877.  Long story short, this bug was filed using our previous system for tracking bugs.  I should have remembered to tell you to use the original ID, and not the new ID this same bug has in the current system.  To save you from looking it up again, here is a direct link to it.

    xian ping said:
    how can i make a heap greate than 512Mbyte?

    That is not supported.  Another issue CODEGEN-4042 is filed to add this capability to the compiler.  Here is the direct link for it.  It is approved and in work.  But no release date has been set.

    Thanks and regards,

    -George

  • xian ping said:
    but how can i make a heap greate than 512Mbyte?

    In https://e2e.ti.com/support/development_tools/compiler/f/343/p/646784/2376510#2376510 there is a suggested modification to the SYS/BIOS .cfg file to allow the allocation off a heap >= 512 Mbytes.