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.

TMS320F28069: Redefinition problems between Razorcat TESSY and Code Composer Studio

Part Number: TMS320F28069

Tool/software:

Hi,

I want to run verification on my code with the tool Razorcat TESSY 4.0, but I'm getting a lot of issues trying to get Code Composer Studio v6.0 to work with it. I got to a point where I am able to test and verify some of my files using that tool.

But for the majority of my project files I'm not able to run any tests due to the following 2 issues:

  1.                                           ***** Linking Slave *****

    <Linking>
    error: symbol "_EEPROM_PARAMETER" redefined: first defined in
    "C:/USERS/SOFTWARE/PROJECTS/TESSY/MY_PROJECT/TESSY/CONFIG/BOARD_DEVI
    CES/OBJ/spi.obj"; redefined in
    "C:/Users/Software/Projects/TESSY/MY_PROJECT/tessy\work\00000401\0000041c\0
    0000474\000004B1\ts_check_ram_test_stubs.obj"

    error: errors encountered during linking;
    "C:/Users/Software/Projects/TESSY/MY_PROJECT/tessy\work\00000401\0000041c\0
    0000474\000004B1\ts_check_ram_test_s.out" not built

    >> Compilation failure
    make.exe: *** [C:/Users/Software/Projects/TESSY/MY_PROJECT/tessy\work\00000401\0000041c\00000474\000004B1\ts_check_ram_test_s.out] Error 1
    driver32: Error building test driver.

    exp32.exe: Failed to execute 'driver32.exe "C:\tessy\tmp\tbs\6092.tbs"'
    Failed to execute Test Object 'check_ram_test'. Process with pid 6092 terminated with exit code 1."


  2. Analyzing Interface for Module 'can_interface.c'
    C:\Users\Software\Desktop\Tessy\MY_PROJECT\.\Headers\can_interface.h:65,20: Syntax error in declaration
    Parser: Error in source file C:\Users\Software\Desktop\Tessy\MY_PROJECT\Source\can_interface.c (Please use 'Check Source' to validate the source)

    Basically TESY is not happy with the following declaration in a header file: extern __interrupt void cpu_timer0_isr(void);

I'm not really understanding issue 1 especially. It seems the tool is redefining the variable. I've checked and it is not being redefined via a header file or something else.

My project build ok without any warnings in Code Composer Studio. 

Finally, I know it's a long shot, given TESSY is an independent tool to TI, but could someone on here give me some guidance? 

Thanks,

Valeri.

  • Hi Valeri,

    I'm not familiar with the TESSY tool. Can you elaborate how you are building the CCS project vs the TESSY project.

    Can you share details as to what changes are being made when compiling the project within the TESSY project

    Are you adding additional search paths? How is the CCS project being build? Via command line?

    Regards,

    Ozino

  • Hi Ozino,

    the building is completely done in the TESSY framework.

    Initially I set up the environment for the project as follows:

    - Set the compiler by navigating to install directory.

    - Add all relevant file paths (same as in CCS)

    - Add the Linker Command file to the environment

    - Add the target configuration (TMS320F28069.ccxml)

    - Add any necessary options such as stack size, compiler dielect, etc..

    - Add an additional object & source file directories for the project. Here I dump all object and source files and link it to the TESSY project. These folders are necessary by TESSY to define the project symbols. I suspect in this part of TESSY there is some issues with CCS, since I frequently get "redefinded" symbol issues.

    After the environment is set up I link individual .c source files from my CCS project to TESSY, create a test case, and run it. As far as I'm aware, TESSY uses the linked compiler to build individual source files, but I'm not certain on the process. I'm not too familiar with this myself...

    Cheers,

    Valeri.

  • My colleague resolved the issue. Essentially, the variable did not need to be used in my current file, so I just disabled the variable for the current file through

    going to Test Interface Editor -> right click the variable and set "don't define variable".

    What I've also noticed is sometimes you don't have a choice but to tweak the source files. (i.e.void __interrupt func() will not be accepted by TESSY)

    I hope this helps someone else :D 

    Have a great day! 

  • Hi Valeri,

    Thanks for sharing your feedback. This is helpful information. I've spoken to a few people and there's limited familiarity with TESSY generally speaking. Though folks internally have more experience using tools like LDRA.

    Regards,

    Ozino