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 6.1.1: Target Configuration - Test Config fails

Other Parts Discussed in Thread: CODECOMPOSER

Hello

on a fresh configured PC (Win7) with a clean installation of CCS 6.1.1.00022 I discovered the following issue:


When trying to test the connection to the emulator in the following dialog:

I get the following error message:

I guess the reason for this is that the %boarddatafile% variable points to the default directory location somewhere in "C:\Users\sber\AppData\Local\Texas Instruments\CCS" and this path contains a white space...

(The configuration is saved in another directory without any white spaces in the path)

Is there a way to manually change this default path?

Thanks a lot,


Bernd

  • Sorry,
    something went wrong... the images inserted in the rich formatting disappeared, therefore I add a better discription:

    I discovered the following issue on a fresh configured PC (Win7) with a clean installation of CCS 6.1.1.00022 - in the targetConfigs dialog (where you edit the target config .ccxml file), there is a "Test Connection" button. When pressing this button, a window opens showing the output of a cmd console:

    [Start: Spectrum Digital XDS510USB Emulator]

    Execute the command:

    %ccs_base%/emulation/drivers/sdjtag.exe -f %boarddatafile% -v -X reset -X scantest

    [Result]

    ERROR:Failed to open Board data file: C:\Users\XXXX\AppData\Local\Texas

    [End: Spectrum Digital XDS510USB Emulator]

    I guess the reason for this is that the %boarddatafile% variable points to the default directory location somewhere in "C:\Users\XXXX\AppData\Local\Texas Instruments\CCS" and this path contains a white space...

    (The configuration is saved in another directory without any white spaces in the path)

    Is there a way to manually change this default path?

    Thanks a lot,


    Bernd
  • Bernd,

    I happen to have a fresh Win7 setup here but could not find the same issue. The paths uses the converted SFN for the path and did not show any problems with it. I am using the same CCS version as you with the latest Spectrum Digital Emulators packages (5.2.0.13), but I had tested with the previous one without problems as well.

    Unfortunately I don't know what may be happening in this case; I don't recall seeing this issue before and searches around e2e return only issues with creating the board data file, which is a different problem.

    I also did a search to see if the operating system may be configured to somehow prevent the use of LFN to SFN converted filenames, but nothing relevant came up.

    I will keep an eye to see if there are similar scenarios where this issue happens and report back.

    Regards,
    Rafael
  • I think we finally figured it out - The "8.3 short file name support" was disabled during the clean installion of Win7 by our IT. Our IT has now to reinstall Win7 with enabled "8.3 naming schema" which should solve this issue with CodeComposer...

    social.technet.microsoft.com/.../enable-83-short-file-name-support-to-windows-7

  • Hi Rafael,

    I have had the same problem with both my home and office computer. It seems it only happens to the XDS510USB emulator. I find this discussion when I was trying to find a solution to it. But the soultion was simple: the test connection feature seems not working for the XDS510USB. The emulator works fine when I am trying to connect target and debug with it. It simplify cannot pass the connection test. I was on 6.1.1 first and then tried 6.1.0, but the same issue is there. Thanks

    Han

  • Bernd, Han,

    Thank you for reporting back your experience. This will surely help others in the future.

    Best regards,
    Rafael