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/CCSTUDIO3: CCS3.3 in Windows 10

Part Number: CCSTUDIO3

Tool/software: Code Composer Studio

One of our products uses a 2407A dsp. We are having to do some support and enhancements. I am trying to build this in CCS3.3 under windows 10, as this appears to be the last CCS version to support the 2407A. The code is existing and working code original built with older tools. It should build. It seems to compile fine. But when it tries to link it I get a an error “can not open config.obj for input” with nothing else. The file it seems to be complaining about is present, so it should be able to find it especially since the CCS3.3  .lkf file has the correct path name correct to the file location. I am suspecting this is a more general error with specific information is missing, so I am having trouble finding the problem.

 

I am running CCS3.3 under windows 10 (64 bit) in XP compatibility mode SP3. It will not function without this.

 

As confidence builder I am trying to build another working project (2812) that did use CCS3.3 (now under windows 10). I am also having problems with this as I cannot selection the bios in the component manager. It shows it as the correct version, I check the box but will not show selected when reopening. The code will not build as It cannot find the bios files.

 

One of my theories is might be a permissions issue, I have tried changing permissions on the CCS3.3 folder and working folders. No change in behavior.

 

Searching the web and TI E2e forms have not produced any solutions. Needing help with this.

 

  • Hi Kevin,

    CCSv3.3 story on Windows 64-bit is rough. As you suspected, it is completely unsupported on Windows 10. Regarding your second issue regarding component manager, the issue is that CCSv3 (and earlier) relied on the Windows registry and that it assumed that it is a Windows 32-bit version. For more details, see:

    https://e2e.ti.com/support/tools/ccs/f/81/p/615134/2266381#2266381

    This incompatibility manifested in other issues, such as the project server dll potentially not being registered correctly, causing build errors like your first issue. I can't say if that is the actual root cause without a test case however.

    In any case, like mentioned in the forum post I referenced above, it is strongly recommended to use XP with CCSv3.3. Doesn't have to be a native XP machine - an XP VM would work fine for builds. Many existing customer have used XP VMs successfully.

    Thanks

    ki

  • I vote for virtual machine too. If you might be having troubles to get WinXP image, consider XP mode. There are howto's on Internet, how to run XP Mode in virtualbox or alike.

  • Would a windows 10 32 bit machine support/run CCS3.3?

  • Kevin Eschhofen said:
    Would a windows 10 32 bit machine support/run CCS3.3?

    I believe a 32-bit version would help. It should alleviate some of the registry incompatibility issues. However, that environment is even less common than CCSv3.3 on a Windows 10-64 environment (I am not aware of a single instance of that environment yet) so I don't have any idea how it would work (though I do suspect it will be better)

    ki

  • I got a Virtual machine setup with windows XP to support CCS3.3. However, I still get the same link error mentioned above. My confidence is high the VM and XP environment is good (I was able to build a separate project successfully). But I am still getting the link error on the project in question...[ “can not open config.obj for input” with nothing else.]. Is there a case where the linker puts out this message with no secondary detail information? Again this is a 2407a and trying to build under tools 7.04. There is no TI bios for this project.

    Other ideas?

    Thanks

    Kevin

  • Would it be possible provide a small reproducible test case? I would need the *.pjt and source files to build. Contact me via private message if you wish to share privately

  • Attached is picture of the link error.


    Status refresher: I am in the VM environment under XP. I was abled to build a separate project (2812) in CCS3.3 successfully. So I have confidence in the environment.


    However, I am still getting the same error. At this point I am starting to think it is the CCS3.3 or the build tools that is having the problem. Note I removed the config.c file from the project and performed a clean and build. I am getting the same link error indicating it can not find the config.obj file for input, even though the file is not in the projects and does not appear in the debug.lkf file. I should be getting a whole bunch of other link errors due to the absence of the config.c file from build and link (debug.lkf).
    We found the latest version of CCS v3.3 (version 3.3.83). I removed the prevsious CCS3.3 (version 3.3.38) and installed the newer one. The interesting thing about this is that the C2400 build tools where mostly missing (CCStudio_v3.3->c2400->cgtools). I copied of the files needed from the previous version install. I then built the project again and got the same link error as the attached picture.
    Another question: I understand CCS v3.3 is the last CCS to support the 24xx parts? Is this true?
    Another question: With CCS3.3, the build tools for the C2400 are version 7.04. Is there a newer or older version of build tools available? Are there any known issues with 7.04?

    You mentioned PMing in the future. I am not seeing where/how that can be done.

    Thanks Kevin.

  • Kevin Eschhofen said:
    We found the latest version of CCS v3.3 (version 3.3.83). I removed the prevsious CCS3.3 (version 3.3.38) and installed the newer one. The interesting thing about this is that the C2400 build tools where mostly missing (CCStudio_v3.3->c2400->cgtools). I copied of the files needed from the previous version install. I then built the project again and got the same link error as the attached picture.

    What is the full build number of CCSv3.3? Not all CCSv3.3 install packages have 24x build support. Do you have the special version designed for 24x support? For example, the latest CCSv3.3 version does NOT have 24x support (3.3.83.20)

    Kevin Eschhofen said:
    Another question: I understand CCS v3.3 is the last CCS to support the 24xx parts? Is this true?

    Yes. But as noted above, not all CCSv3.3 versions support 24x.

    Kevin Eschhofen said:
    Another question: With CCS3.3, the build tools for the C2400 are version 7.04. Is there a newer or older version of build tools available? Are there any known issues with 7.04?

    7.04 is the latest version. Check the release notes in <CCSv3.3 INSTALL DIR>\C2400\c2400_cgt.txt for more details on that version.

    Thanks

    ki

  • Hi Ki,


    I have the problem fixed mentioned above, which was a reference to the file config.c in the link.cmd file. I had to put the entire path to the file to resolve the link error in link.cmd file.
    I am not sure why the entire path is needed!?

    I have progressed on to another issue. This code I am building has a ".vectors" section. This is conflicting with the "vectors" section in the RTS (rts.src). I get the link error "cannot allocate vectors in VECTORS". It looks like the linker put my ".vectors" in the *.map file and is also trying to fit "vectors" (from the RTS) into the same section, but it will not fit. How can I make my ".vectors" replace or override what is in the RTS library

  • Kevin Eschhofen said:
    I have the problem fixed mentioned above, which was a reference to the file config.c in the link.cmd file. I had to put the entire path to the file to resolve the link error in link.cmd file.
    I am not sure why the entire path is needed!?

    How was the file referenced?

    Kevin Eschhofen said:
    I have progressed on to another issue. This code I am building has a ".vectors" section. This is conflicting with the "vectors" section in the RTS (rts.src). I get the link error "cannot allocate vectors in VECTORS". It looks like the linker put my ".vectors" in the *.map file and is also trying to fit "vectors" (from the RTS) into the same section, but it will not fit. How can I make my ".vectors" replace or override what is in the RTS library

    This is a question best served by the compiler experts. Please start a new thread for this question.

    Thanks

    ki

  • The link command file was included under the CCS3.3 project. Within the link command the config.obj is being reference to location certain sections to specific areas. See below:

            .task   :
         {
                       config.obj(.bss)                  /* These files .bss sections    */
                       event.obj(.bss)                   /* added here so temp vars are  */
                                                                  /* visible during NOVRAM ops!   */
        } > TASK_STK  PAGE 1  /* task stacks                  */

    It is complaining it can find config.obj in this reference. I had to add the entire path.

            .task   :
         {
                       w:\software\dev\ControlBoard\debug\config.obj(.bss)                  /* These files .bss sections    */
                       w:\software\dev\ControlBoard\debug\event.obj(.bss)                   /* added here so temp vars are  */
                                                                                                                             /* visible during NOVRAM ops!   */
        } > TASK_STK  PAGE 1  /* task stacks                  */

    Not sure why the entire path is needed.

  • Assuming that the .cmd file is in  w:\software\dev\ControlBoard\ and "debug" is the configuration subfolder, try:

    .task   :
    {
        .\debug\config.obj(.bss)                  /* These files .bss sections    */
        .\debug\event.obj(.bss)                   /* added here so temp vars are  */
                                                  /* visible during NOVRAM ops!   */
    } > TASK_STK  PAGE 1  /* task stacks                  */

  • I tryed this and I get an error saying multiply defined .\debug\Config.obj and w:\software\dev\ControlBoard\debug\Config.obj. If I have the complete path the errors go away.

  • I see. Sounds like a limitation of where the linker cannot resolve that both object files are the same.