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.

Problem with running a new project in CCSv5

Hello all

I'm new to CCSv5, I have been able to import CCSv3.3 legacy project, but when I create a simple new hello world program in CCSv5, it is built successfully (with one warning: #10247-D creating output section ".sysmem" without a SECTIONS     C/C++ Problem) but it doesnot run properly in debug prespective (i.e. it doesn't print hello world). I have made a new target configuration file (.ccxml file) specifying Cortex M3 as the processor.

Can anybody help with this?

Regards

Jasmeet 

  • Jasmeet,

    Are you creating the project for a Stellaris Cortex M3 processor or a Generic Cortex M3? What do you select for Device Variant when you go through the new project wizard? If you select "Generic CortexM3 device", then there will not be a default linker command file added to the project. This means that the linker will do some default allocation of code and data sections which may or may not be ideal. You may also need to increase your heap and stack sizes to get CIO such as printf to work. Please see this wiki article for details.

    If you select one of the Stellaris processors(LM3S) under Device Variant, then a linker command file will be added to the project, however I think the heap size might be set to 0. Please check the heap size under Project Properties->CCS Build->TMS470 Linker->Basic Options and increase it as needed.

     

  • Thanks AartiG.

    Changing the heap size worked.

    Also, after the program runs, it shows a message 'No source available for "loader_exit() at 0x2968" '. Kindly explain what does this mean?

  • That message just means that at the point where the code is halted there is no source code associated with it that can be displayed in the source view. It is harmless in this cas,e and can be ignored.

  • Another error which comes up is "Program make is not found in path", what is the soltuion to this?

  • Jasmeet Kaur97544 said:

    Another error which comes up is "Program make is not found in path", what is the soltuion to this?

    You have posted the same question in the Code Composer forum as well where I have posted a response. Please avoid posting the same question in multiple forums, and as much as possible start a new thread for new questions. This helps with better tracking and searchability.