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.

CGT Tools

Hello,

We are trying to build an application(for C5502) , using CCS v4.2.4.00033 and CGT v4.3.8, but the application requires CCS v4.2. and CGT v4.4. So, when we build the application using CGT v4.3.8 it mentions the following error:

Specifies "C55x CPU Rev 3.x", which is not compatible with "C55x CPU Rev 2.x" specified in a previous file or on the command line.

We tried using 'device+ optional revision of target silicon'(Under C550 Compiler-->Basic Options) with 5502:3.0, but it didn't work.  Would updating the CGT from 4.3.8 to 4.4 solve the problem, if no then please suggest us a possible solution. If yes, please provide a procedure to update the CGT 's, from CGT 4.3.8 to CGT v4.4. Please revert back.

Rgds,

Sangraminh Jadhav.

  • That message comes from the linker.  It means that you are attempting to mix incompatible object files.  You need to identify any files which are compiled for the wrong CPU version.  Please post the complete error message; it should tell you at least one object file involved in the error.

    According to the compiler, 5502 uses CPU version 2.2.  You need to compile all of your object files with an option indicating that they are compatible with CPU version 2.2.  It should be sufficient to use the option "-v5502".