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 running into resume mode after loading file

Hi

I have created one RTSC project for M3 target for DM814x and I am able to build it. But after loading .out file the CCS runs into resume state and is not giving option to locate source file. However the .out file for same project built using gmake based build is able to suspend and jump to main.

Is there any configuration that has to be taken care in properties of the project while building in CCS? Any changes that has to be made in compiler, linker or build properties for this problem? 

Thanks and Regards,

Radhakrishna    

  • Hello Radhakrishna,

    Radhakrishna Gotur said:
    But after loading .out file the CCS runs into resume state and is not giving option to locate source file.

    When you manually halt the program, were does it halt? Is execution "off in the weeds" (program counter at some invalid address)? Most likely you have the debugger option to run to main on program load enabled and it never gets to main for some reason.

    ki

  • ki,

    Thanks for the reply.

    when I manually halt the program it halts in the function __TI_zero_init. Checking into the disassembly I found that it is looping in this function. Also after the looping completes it is actually jumping to main(taking around 3 to 4 minutes to jump to main). what is this function? where this function is defined?

    Regards,

    Radhakrishna

  • Ki,

     

    I got to know that __TI_zero_init() initializes all the global and static variables to zero. But I didn't understand why it is taking so much time in there?. 

    After turning off --zero_init option(CCS Build -> TMS470 Linker -> Miscellaneous -> --zero_init) in my project properties builded binary works fine.

    Do you have any idea why it may be taking so much time in  __TI_zero_init()?

     

    Regards,

    Radhakrishna