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.

mmcsd_fatfs Example

Other Parts Discussed in Thread: MATHLIB

Hi Guys

I'm trying to get the example up and running that is located in the following folder:

C:\Program Files\Texas Instruments\pdk_C6748_2_0_0_0\biospsp_03_00_01_00\drivers\examples\evm6748\mmcsd_fatfs

I am running it on the 6748LCDK board.  It's all very well to have examples of peripheral operation but as a new developer to TI components the lack of documentation makes it difficult to get these projects up and running.  I have read the documentation and looked at the video located here:

C:\Program Files\Texas Instruments\pdk_C6748_2_0_0_0\biospsp_03_00_01_00\docs\C6748

And it makes no reference to the SD_FAT_fs example.  I tried to create the project as shown in the video but I cant seem to get it working in CSS.  All tools have been installed in the default locations suggested by the installer.  See the image below for my tool versions.

This is the CCS error I get:

Regards


Tony


**** Build of configuration Debug for project SD_FAT_ffs ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers/examples/evm6748/mmcsd_fatfs/mmcsdSample.cfg'
'Invoking: XDCtools'
"C:/Program Files/Texas Instruments/xdctools_3_23_00_32/xs" --xdcpath="C:/Program Files/Texas Instruments/dsplib_c674x_3_1_0_0/packages;C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/Program Files/Texas Instruments/imglib_c64Px_3_1_0_1/packages;C:/Program Files/Texas Instruments/ipc_1_23_05_40/packages;C:/Program Files/Texas Instruments/mathlib_c674x_3_0_1_1/packages;C:/Program Files/Texas Instruments/ndk_2_20_06_35/packages;C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;C:/ti/uia_1_01_00_04/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;drivers - C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers;packages - C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evm6748 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.3.4" "C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers/examples/evm6748/mmcsd_fatfs/mmcsdSample.cfg"
js: "C:/Program Files/Texas Instruments/xdctools_3_23_00_32/include/utils.tci", line 736: An entry on the package path has illegal pathname syntax: "packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages" Full package path is C:/Program Files/Texas Instruments/dsplib_c674x_3_1_0_0/packages;C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/Program Files/Texas Instruments/imglib_c64Px_3_1_0_1/packages;C:/Program Files/Texas Instruments/ipc_1_23_05_40/packages;C:/Program Files/Texas Instruments/mathlib_c674x_3_0_1_1/packages;C:/Program Files/Texas Instruments/ndk_2_20_06_35/packages;C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;C:/ti/uia_1_01_00_04/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;drivers - C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers;packages - C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/ti/ccsv5/ccs_base;C:\Program Files\Texas Instruments\xdctools_3_23_00_32/packages;.;
org.mozilla.javascript.WrappedException: Wrapped java.lang.RuntimeException: An entry on the package path has illegal pathname syntax: "packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages" Full package path is C:/Program Files/Texas Instruments/dsplib_c674x_3_1_0_0/packages;C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/Program Files/Texas Instruments/imglib_c64Px_3_1_0_1/packages;C:/Program Files/Texas Instruments/ipc_1_23_05_40/packages;C:/Program Files/Texas Instruments/mathlib_c674x_3_0_1_1/packages;C:/Program Files/Texas Instruments/ndk_2_20_06_35/packages;C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;C:/ti/uia_1_01_00_04/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;drivers - C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers;packages - C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/ti/ccsv5/ccs_base;C:\Program Files\Texas Instruments\xdctools_3_23_00_32/packages;.; (C:/Program Files/Texas Instruments/xdctools_3_23_00_32/include/utils.tci#736)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
at script(C:/Program Files/Texas Instruments/xdctools_3_23_00_32/include/utils.tci:736)
at script(C:/Program Files/Texas Instruments/xdctools_3_23_00_32/packages/xdc/xs.js:78)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1135)
at config.Shell.evaluateReader(Shell.java:822)
at config.Shell.processReader(Shell.java:491)
at config.Shell.processFile(Shell.java:550)
at config.Shell.exec(Shell.java:755)
at config.Shell.main(Shell.java:1337)
Caused by: java.lang.RuntimeException: An entry on the package path has illegal pathname syntax: "packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages" Full package path is C:/Program Files/Texas Instruments/dsplib_c674x_3_1_0_0/packages;C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/Program Files/Texas Instruments/imglib_c64Px_3_1_0_1/packages;C:/Program Files/Texas Instruments/ipc_1_23_05_40/packages;C:/Program Files/Texas Instruments/mathlib_c674x_3_0_1_1/packages;C:/Program Files/Texas Instruments/ndk_2_20_06_35/packages;C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;C:/ti/uia_1_01_00_04/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;packages - C:/Program Files/Texas Instruments/bios_6_33_01_25/packages;drivers - C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers;packages - C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/ti/ccsv5/ccs_base;C:\Program Files\Texas Instruments\xdctools_3_23_00_32/packages;.;
at xdc.services.global.Env.validatePathSyntax(Env.java:605)
at xdc.services.global.Env.init(Env.java:123)
at xdc.services.global.Env.curpath(Env.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
... 13 more
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hi,

           1. Verify the board you are using as the example your are trying to load is for evm C6748 but you have specified you are using LCDK C6748. If you are having LCDK C6748 use example that are specified for LCDK.

           2. The error message shows illegal pathname syntax.

              Verify the Path details in CCS 

     Project ---> Properties ---> CCS General ---> RTSC ---> Other Repositries ---> Add the Repositries Path manually. (If you have problem in doing this rerun the video as its expalined there clearly on how to add)

     

    Regards

    Iyshwarya