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/TMS320F28027F: Function of datalog can't work

Part Number: TMS320F28027F


Tool/software: Code Composer Studio

#pragma DATA_SECTION(datalogBuff1,"graph_data");
#pragma DATA_SECTION(datalogBuff2,"graph_data");
#pragma DATA_SECTION(datalogBuff3,"graph_data");

warning #10247-D: creating output section "graph_data" without a SECTIONS
   specification

It seems that it's memory is not enough. Datalog can't display images.

  • This diagnostic ...

    user5046849 said:
    warning #10247-D: creating output section "graph_data" without a SECTIONS
       specification

    ... means there is no output section specification which corresponds to these input sections ...

    user5046849 said:
    #pragma DATA_SECTION(datalogBuff1,"graph_data");
    #pragma DATA_SECTION(datalogBuff2,"graph_data");
    #pragma DATA_SECTION(datalogBuff3,"graph_data");

    So, the linker collected all those input sections together into an output section also named graph_data, then allocated that output section to system memory using the default algorithm.  This default algorithm is usually wrong for the system.  

    To learn what this explanation means, and how to change the linker command file to allocate the output section graph_data to the correct memory range, please see the article Linker Command File Primer.

    Thanks and regards,

    -George