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.

Ubuntu 10.10 CCS5 Import CCS3.3 project

I've been trying to import an existing CCSv3.3 project into CCS5 and get the following cryptic error in the attached migration.log.

 

There should be two attached files: migration.log and AudioChannels.tcf.txt (renamed so that it can be uploaded).

 

As for CCS version:

Code Composer Studio

 Version: N201010041800

Any comments/suggestions/ideas will be sincerely welcome

 

 

4118.migration.log
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
!ERROR: java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.processSources(LegacyProjectImporter.java:662)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.createManagedMakeProject(LegacyProjectImporter.java:451)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.doRun(LegacyProjectImporter.java:259)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.access$0(LegacyProjectImporter.java:220)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter$1.run(LegacyProjectImporter.java:203)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.run(LegacyProjectImporter.java:201)
at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:110)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.net.URISyntaxException: Illegal character in path at index 2: ..\bin\AudioChannels.tcf
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 11 more
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

-

4645.AudioChannels.tcf.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
utils.loadPlatform("ti.platforms.evm6424");
/* The following DSP/BIOS Features are enabled. */
bios.enableRealTimeAnalysis(prog);
bios.enableRtdx(prog);
bios.enableTskManager(prog);
bios.HWI.instance("HWI_INT4").interruptSelectNumber = 51;
bios.HWI.instance("HWI_INT4").fxn = prog.extern("isrAudio");
bios.HWI.instance("HWI_INT4").useDispatcher = 1;
bios.MEM.NOMEMORYHEAPS = 0;
bios.MEM.instance("IRAM").createHeap = 1;
bios.MEM.instance("IRAM").heapSize = 0x00008000;
bios.IDL.create("IDL_dipSwitch");
bios.IDL.instance("IDL_dipSwitch").order = 1;
bios.IDL.instance("IDL_dipSwitch").fxn = prog.extern("readDipSwitches");
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • John,

    Thanks for reporting this. We have noticed some issues when importing CCSv3.3 projects to CCSv5.0 and they are being fixed before the software is released.

    However I don't recall finding a similar error message as the one you got, therefore would you mind sending the project or a reduced/modified version that still shows this error?

    Thank you,

    Rafael

  • Rafael,

    prompt reply was sincerely appreciated. Am not sure about what more info I can provide. Can you elaborate a little bit more on what you mean by reduced/modified version?

    Thank you,

    John Dedes

  • After changing the path syntax to Unix from Dos (the "\" to "/") ended up with the attached migration.log, which is even more cryptic.

    I guess this could be classified as a bug, as all the CCSv3.3 projects were created under Windows.

    Any ideas as to what might be the problem now?

    Regards,

    John Dedes

    6521.migration.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    !ERROR: java.lang.NullPointerException
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.resolveToCommonRootRelativePath(LegacyProjectImporter.java:1451)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.processSources(LegacyProjectImporter.java:705)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.createManagedMakeProject(LegacyProjectImporter.java:451)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.doRun(LegacyProjectImporter.java:259)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.access$0(LegacyProjectImporter.java:220)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter$1.run(LegacyProjectImporter.java:203)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.run(LegacyProjectImporter.java:201)
    at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:110)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • John,

    Can you provide us with the project that when imported into CCSv5 generates the error? That would really help us reproduce the issue and submit the defect to the development team to get addressed.

  • Aarti,

    will those two files be enough to recreate this issue?  Let me know if something more is needed.

     

     

    2664.isd.tcf.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    utils.loadPlatform("ti.platforms.evm6424");
    /* The following DSP/BIOS Features are enabled. */
    bios.enableRealTimeAnalysis(prog);
    bios.enableRtdx(prog);
    bios.enableTskManager(prog);
    bios.HWI.instance("HWI_INT4").interruptSelectNumber = 51;
    bios.HWI.instance("HWI_INT4").fxn = prog.extern("isrAudio");
    bios.HWI.instance("HWI_INT4").useDispatcher = 1;
    bios.MEM.NOMEMORYHEAPS = 0;
    bios.MEM.instance("IRAM").createHeap = 1;
    bios.MEM.instance("IRAM").heapSize = 0x00008000;
    bios.IDL.create("IDL_dipSwitch");
    bios.IDL.instance("IDL_dipSwitch").order = 1;
    bios.IDL.instance("IDL_dipSwitch").fxn = prog.extern("readDipSwitches");
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    4682.isd.pjt.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    ; Code Composer Project File, Version 2.0 (do not modify or remove this line)
    [Project Settings]
    ProjectDir="/home/isd/sandbox/trunk/software/dsp/ti64x/audio/AudioChannels/build/"
    ProjectType=Executable
    CPUFamily=TMS320C64XX
    Tool="Compiler"
    Tool="CustomBuilder"
    Tool="DspBiosBuilder"
    Tool="Linker"
    Config="Debug"
    Config="Release"
    [Source Files]
    Source="../bin/isd.tcf"
    Source="../lib/g711.l64"
    Source="../lib/libg722.l64+"
    Source="../src/audioChanLogDebug.cpp"
    Source="../src/audioChannel.cpp"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Sorry about the delayed reply on this issue. Thank you for providing the project file, we were able to duplicate the error when importing this project into Linux CCSv5. I have submitted this into our database as a bug, the tracking # is SDSCM00038932. It should be fixed in one of the upcoming releases of CCSv5. You can check the status of the bug using the SDOWP link in my signature.

  • Aarti,

     

    thanks for the reply. I'll be checking it.

    Hoping someone might find this useful:

    As a workaround, I have been able to import the project in CCS5 (Windows version) and have been able to get to compile and run with same performance as with the CCS3.3. I then imported the Windows  project to CCS5(Ubuntu) and have been able to get it to compile with few changes. Obviously the directories were wrong: adjusted path variables in  "Project Properties->Resource->Linked Resources".  Also had to Import the macros.ini , after editing it to make it point to the correct directory. (Import->CCS - Managed Build Macros).

     

    John Dedes