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.

warning about the ".sysmem"



I build a project (ccs5.5, 2808) based on a example project "Example_280xAdcSoc". In the new project, I add some matrix calculation functions, which are used to process the data converted by the ADC. Now there are no errors and only two warnings as follows:

1."creating ".sysmem" section with default size of 0x400; use the -heap"

2."entry-point symbol other than "_c_int00" specified:  "code_start"

I think these warnings are OK, therefore, I try to load the project into the DSP for debugging. However, there is no response after I  press the Debug button, and the "Disassembly" window shows nothing..... I can not do the step by step debug.

I am thinking this is caused by the warnings. Then I search them and find out that the second one is OK: http://processors.wiki.ti.com/index.php/C28x_Compiler_Error_and_Warning_Messages

Therefore, the first warning maybe leads to my problem. However, I can not find any solution for this one. Anyone can help?

More information of the .sysmem

MEMORY
{
PAGE 0 : .........

PAGE 1: ...........

M0RAM       : origin = 0x000000, length = 0x400

..........}

SECTIONS{

.......

  .sysmem          : > M0RAM,    PAGE = 1

....}

  • Hi,

    If you keep reading the warning message, you will have a better explanation for it:

    warning: creating ".sysmem" section with default size of 0x400; use the -heap
    option to change the default size

    The -heap option is a linker option on the project build settings: open the project settings, then Build --> C2000 Linker --> Basic Options

    --Cheers
  • Hi 176-671,

    Thanks a lot ! The first warning is gone. However, I just leave my lab, can not check with the DSP board. Will check tomorrow.
    Moreover, the warning showing in my CCS is without "option to change the default size", do not know why.

  • Hi 176-671,
    Warning is gone. However, I still can not load the code into the DSP for debugging. And the "Disassembly" window still shows nothing.....
  • Hi,

    If you look at the Console view, the rest of the message should be there.

    Is there any error message shown when the code cannot be loaded? You may want to perform the debug launch manually and therefore pinpoint what is the exact issue. For that check the post below:

    -- Cheers