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.

PDK Sample Project Build "The current directory is invalid." Error

Other Parts Discussed in Thread: TMS320C6678

Hi, 

I could not get around this error, my machine is 64-bit Windows 7, CCSv5.0.3 is installed in C:\Progra~2\Texas Instruments\, I get this error when I try to build, here's the screen

**** Build of configuration Debug for project PA_simpleExample_exampleProject ****

 

C:\Program Files (x86)\Texas Instruments\ccsv5\utils\gmake\gmake -k all 

'Building file: C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_12/packages/ti/drv/pa/example/simpleExample/paExample/paExample.cfg'

'Invoking: XDCtools'

"C:/Program Files (x86)/Texas Instruments/xdctools_3_22_01_21/xs" --xdcpath="C:/Program Files (x86)/Texas Instruments/ipc_1_23_01_26/packages;C:/Program Files (x86)/Texas Instruments/bios_6_32_01_38/packages;C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_12/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.2.4" "C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_12/packages/ti/drv/pa/example/simpleExample/paExample/paExample.cfg"

The current directory is invalid.

gmake: *** [configPkg/compiler.opt] Error 1

gmake: Target `all' not remade because of errors.

Thanks, 

  • Hi Qian,

    there are actually a few bugs reported already for the C6x family examples/simulator.

    I would suggest installing the latest version of CCS, 5.1 and trying an example from there.  Please let me know how that goes.  Not all have been fixed quite yet unfortunately but hopefully you will be able to get past these build errors.

    I assume you are starting from an unmodified project?  

    What platform and device do you have selected - this can be seen under Project->Properties -> General.  What do you have under both the Main and RTSC tabs?

    Best Regards,
    Lisa

  • Hi Lisa, 

    It seems like upgrading to 5.1 M6 solves the issue of invalid current directory. I was able to build correctly. Until I try to connect to target, I then get a error like the following: 

    IcePick_D: Error connecting to the target: (Error -600 @ 0x0) A required dynamic library could not be located. The library isn't on the search path. (Release 5.0.429.0) 

    Any ideas? 

    - Martin

  • Hi Kun,

    let me check with some colleagues.   Is that the exact error message?  Does it indicate what library it can't seem to find?

    Best Regards,
    Lisa

  • Hi Lisa, 

    That is the exact error message, and no mention of exactly what library is missing. 

    Kun

  • Hi Kun,

    one last question, we would like to try to see if we can reproduce this.  Could you please let us know what emulator and settings you are using?

    Best Regards,
    Lisa

  • Here's the dump of the ccxml file I used for Target Configuration

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

    <configurations XML_version="1.2" id="configurations_0">

     

    <configuration XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0">

            <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections/TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/>

            <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0">

                <instance XML_version="1.2" href="drivers/tixds100icepick_d.xml" id="drivers" xml="tixds100icepick_d.xml" xmlpath="drivers"/>

                <instance XML_version="1.2" href="drivers/tixds100c66xx.xml" id="drivers" xml="tixds100c66xx.xml" xmlpath="drivers"/>

                <instance XML_version="1.2" href="drivers/tixds100cs_dap.xml" id="drivers" xml="tixds100cs_dap.xml" xmlpath="drivers"/>

                <instance XML_version="1.2" href="drivers/tixds100csstm.xml" id="drivers" xml="tixds100csstm.xml" xmlpath="drivers"/>

                <instance XML_version="1.2" href="drivers/tixds100etbcs.xml" id="drivers" xml="tixds100etbcs.xml" xmlpath="drivers"/>

                <platform XML_version="1.2" id="platform_0">

                    <instance XML_version="1.2" desc="TMS320C6678+STM+ETB_0" href="devices/C6678.xml" id="TMS320C6678+STM+ETB_0" xml="C6678.xml" xmlpath="devices"/>

                </platform>

            </connection>

        </configuration>

    </configurations

  • Hi Lisa, 

    Problem solved. My Shannon board was attached to a blackhawk mezzanine USB emulator, which was causing issues. Changed my target config to use the corresponding BlackHawk emulator configs and it worked. 

    Thanks, 

    Kun

  • Hi Kun,

    glad to hear you got it sorted.  All the best with the tools.

     

    Regards,
    Lisa