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 v.5 Debugging Problem

After I started a debug session, it didn't stop at main() and instead it kept on running. When I suspended the session, it stopeed at _TI_zero_inti().

I found the same issue was reported and can be resolved by disabling watchdog timer.

However, I was not able to find "pre_init.c" in the rtssrc folder.

I extracted rtssrc.zip in \ccsv5\tools\compiler\c6000\lib.

 

FYI

  . CCS v5.0.3

  . Target configuration: C6678 Device Cycle Approximate Simulator

  • Hello,

    _TI_zero_init is used by ELF executables to zero out sections of memory. Looks like your application is getting stuck there.

    Before I ask for a test case, I see you are using a really old version of CCS. Do you mind updating to a later version? I recommend CCSv5.5.

    Thanks

    ki

  • Hello,

    Thank you for your reply.

    I don't have plan to update CCS for a while.

    I'm wondering if there is any difference for the memory initialization depending on the CCS version.

    Thanks.

  • Hojoong Kwon said:
    I'm wondering if there is any difference for the memory initialization depending on the CCS version.

    It may. It could be an issue with the debugger or simulator with your version of CCS. It could also be the version of the compiler. It can be a number of things.

    If you are unable to upgrade your CCS version, please provide a reproducible test case (a small project with the executable).

    Thanks

    ki

  • I've installed CCS v5.2.

    I didn't unistall the previous version and installed the new one in different folder.

    AndI imported the existing project built on the previous version. 

    But the following error has occured.

    'Could not initialize class org.eclipse.rtsc.xdctools.ul.registry. RtscProductRegistry'

    Is there any compatibility issue?

    Thank you.

     

  • Hojoong Kwon said:
    I didn't unistall the previous version and installed the new one in different folder.

    That is fine

    Hojoong Kwon said:
    AndI imported the existing project built on the previous version. 

    That is fine too

    Hojoong Kwon said:

    But the following error has occured.

    'Could not initialize class org.eclipse.rtsc.xdctools.ul.registry. RtscProductRegistry'

    Is there any compatibility issue?

    Is your project a RTSC project? Can you provide a test case?

    Thanks

    ki