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.

Code composer no longer generates an OUT file

Other Parts Discussed in Thread: TMS320F28035

I was happily editing, compiling and downloading into a tms320f28035 with almost the latest Code Composer. I then after comilation got an error message saying the the OUT file could not be found. I had not touched any settings and saw that the hex file was being generated in the folder I expected (\Debug). If I placed an old OUT file in the folder it was deleted by Code Composer. I then updated to the very lastest version, rebooted and had exactly the same result. This prevents my downloading to the target using the debugger. Any suggestions?

  • Simon,

    Are you sure your build isn't failing?  What do you see in the problems view or console view after a build?

    John

  • John,

    There seems to be no explicit build fail. In order to shed some light on this I put the workspace files back to my previous version of code. I can build and download this without any problem. I then copied in the files I had changed (only *.c and *.h files) into the workspace to replace the files original files (no new files). I changed a source file to generate an error. When I built the project I could see the expected error in the "Problems" tab. I then corrected the error and again built the project. This time no errors, warnings or infos appeared on the "Problems" tab. Now I try to download and get the error message that the OUT files does not exist, which having checked in the folder indeed it does not.

    I have now found the problem. I noticed that the file containing main() had no object file. I then noticed that I missed a closing bracket in main(). I have attached this in a file (see link below). I tried this on an ARM compiler and got the expected error message.

    Regards....Simon

    This code does not compile but fails silently:
    
    main()
    {
       init()
       while(1)
       {
          Funcs();
    
    }
    
    it should look like this:
    
    main()
    {
       init()
       while(1)
       {
          Funcs();
       }
    }
    
    
    
    
    

  • Simon,

    Not sure which version of the compiler you are using, but CCSv5.1.0.09000 + CGT 6.0.2 (for C2000) throws both errors, although the last error (the missing bracket) does not show in the Problems view, but only in the console view. I will file a bug for this. 

    Cheers,

    Rafael

    (Missing semi-colon):

     

    (Fixed semi-colon, missing last bracket):

  • Simon,

    Filed today. SDSCM00042473. Check its status in the link SDOWP in my signature below.

    Regards,

    Rafael

  • Rafael,

    Thanks for adding it to the bug list. I am currently using 4.2.4.00033. Would you reccomend that I upgrade to version 5? I used the Help->Software Updates link via the application but version 5 was not an option.

    Regards...Simon

  • Simon,

    CCSv4 releases cannot be directly upgraded to v5 from the Update Manager, therefore requiring a separate download.

    Although CCSv5 aggregates several new features and bug fixes, I would recommend upgrading to this version in steps to avoid disrupting any ongoing development.

    Fortunately CCSv5 can installed in parallel with v4, provided it sits in a different directory and you create a new workspace for your v5 projects. You can also import the previous CCSv4 projects to this new workspace and test the new environment without losing the work already done.

    If you have a licensed CCSv4, keep in mind also that CCSv5 uses a different license that can be easily obtained from the myregistered software page. Check this link for details.

    If you are using the free limited license, then you can check the activation steps in the section Running CCS for the first time of the CCSv5 Getting Started Guide.

    Regards,

    Rafael