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/TMS570LS3137: Could not able to load the file after changing the function name _c_int00

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi,

In my project i wanted to change my startup function name from _c_int00 to c_int00.

For this i have modification i change the following files:

1.sys_startup.c and sys_startup.h

2.sys_intvecs.asm

and while linking i am providing the starting address with lag option -e c_int00.

As per this changes, i can compile it correctly, just getting the warning,

entry-point symbol other than "_c_int00".

But i am not concern with the warning, as it can be suppressed.

But the main issue is when i am loading this Object file on the target,

I stucking into the Data abort exception.

While debugging,

I Found that during the stc_self_check(); it is causing this exception, and more of when i loaded i found that

at starting it is pointing to some other instruction than the init_core_register method as shown in below image.

But for the same files if i modified it to the _c_int00, it works fine, with starting, pointing to the init_core_register method.

So, Is there any additional changes required to make it work?

Please Help me in this issue.

Quick Response appreciated.

Regards,

Shivam Kakad

  • In the TI ARM compiler RTS library, the symbol _c_int00 is defined in either the source file boot_cortex_m.c or boot_non_cortex_m.asm, depending on which ARM CPU family is used.  But you are using these files ...

    Shivam Kakad said:

    1.sys_startup.c and sys_startup.h

    2.sys_intvecs.asm

    What TI SW package do those files come from?  You need help from experts on that package.  Once I know the package, I'll notify those experts.

    Thanks and regards,

    -George

  • Hi George,

    I have generated this files from the HALCOGEN, that i have shown below.

    But as i mentioned, I wanted to change the name for this startup function.

    so i changed it in the respective files I mentioned.

    The files boot_cortex_m.c or boot_non_cortex_m.asm which mentioned , that nowhere i am getting.

    My more concern is, why am i not able to point to the starting point of this function if i changed the name?

    Can you please provide me your inputs?

    Thanks,

    Shivam

  • Hi Shivam,

    In addition to the HALCoGen Generated files, please also try changing the symbol _c_int00 in the boot_non_cortex_m.asm which is available in the following path : ..CCS_Install_Path\tools\compilers\Compiler_version_used\lib\src.

    Shivam Kakad said:
    My more concern is, why am i not able to point to the starting point of this function if i changed the name?

    I'm unable to replicate this issue at my end. Could you provide more details on this?

    Thanks,

    Akshay