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.

CCS5.1 cannot start program from flash



Hey, 

I migrated my project from CCS3.3 to 5.1. I could build and everything seems fine. 

I can debug on my F283335 and F2812 DSPs. 

However there is a strange behavior I do not understand that really is  important. 

I can load the program into rom and when I start my application hangs after the boot loader. 

I investigated the map file and find out that  the following differences but don't know if it matters or not

CCS3.3:    Debug mode:  entry point 0x0..64  Release mode: entry point 0x0..64

CCS5.1:    Debug mode:  entry point 0x0..65  Release mode: entry point 0x0..65

It seems after the boot loader the program jumps to a memory it is not supposed to. If this is the 

case why is the debug possible?

I really don't understand this problem and would request for your help.

Thanks, 
Keli 

  • Adjeiinfo said:

    I investigated the map file and find out that  the following differences but don't know if it matters or not

    CCS3.3:    Debug mode:  entry point 0x0..64  Release mode: entry point 0x0..64

    CCS5.1:    Debug mode:  entry point 0x0..65  Release mode: entry point 0x0..65

    Keli,

    When you say entry point are you referring to the address of _c_int00? What is the exact address seen in the link map file in the 2 cases? Which compiler version is being used for the build in the 2 cases?

    A few things you could try out to isolate the issue further:

    1) Use the same version of compiler tools with CCSv5.1 that you used with CCS 3.3. That should produce the same output/addresses as you had with 3.3. The process to set up CCS5 to use a different version of the compiler is described in this wiki page.

    2) Take a look at this wiki for general guidelines on running code standalone from Flash: http://processors.wiki.ti.com/index.php/C2000_Flash_Common_Issues/FAQs#Running_Code_Standalone