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.

TMDX5535EZDSP: fatal error #6001: cannot open file "C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP": Permission denied

Part Number: TMDX5535EZDSP

I have created a separate project in my workspace for SD example code, I followed "CSL_MMCSD_SdCardExample" project properties into my project and included also dependent folder "C55XXCSL_LP". After building the project the following error is shown in the log

Invoking: C5500 Linker
"C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=large -g --define=c5505 --display_error_number --diag_warning=225 --ptrdiff_size=16 -z -m"AudioPlayer.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/include" --priority --reread_libs --display_error_number --warn_sections --xml_link_info="AudioPlayer_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "AudioPlayer.out" "./audioplayer.obj" -l"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP" -llibc.a
<Linking>
fatal error #6001: cannot open file
"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP": Permission

>> Compilation failure
denied
makefile:135: recipe for target 'AudioPlayer.out' failed
gmake[1]: *** [AudioPlayer.out] Error 1
makefile:131: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

If it is just a file permission error then how to solve. 

Could anyone please help.

  • Hi Naveen,

    The CCS project in C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP is a library project. It builds the CSL library. CSL_MMCSD_SdCardExample or your own CCS project, on the other hand, are the executables which will use the CSL functions to interactive with the C5535 eZdsp, therefore all the executable projects will need to select the C55XXCSL_LP as their dependent project, or has to link to the prebuilt CSL library. It looks like you CSL project is not properly built.

    Best regards,

    Ming

  •  Hi Wei, thankyou for the reply.

    CSL_MMCSD_SdCardExample is an example project which is working fine, however I want to compile this code in my project(custom). The idea is to integrate SD card and aic3204 codec example codes. 

    Yes, C55XXCSL_LP is a library function. With out linking this folder I am getting following error log,


    **** Clean-only build of configuration Debug for project AudioPlayer ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O

    DEL /F "AudioPlayer.out"
    DEL /F "audioplayer.obj"
    DEL /F "audioplayer.d"
    Could Not Find D:\NaveenK\F25\TIDsp\DSPAudioPlayer\Debug\AudioPlayer.out
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project AudioPlayer ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../audioplayer.c"
    Invoking: C5500 Compiler
    "C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=large -g --include_path="D:/NaveenK/F25/TIDsp/DSPAudioPlayer" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c5500" --include_path="C:/ti/c55_lp/c55_csl_3.08.01/inc" --include_path="C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/bios_5_42_02_10/packages" --include_path="C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/include" --define=c5505 --display_error_number --diag_warning=225 --ptrdiff_size=16 --preproc_with_compile --preproc_dependency="audioplayer.d_raw" "../audioplayer.c"
    Finished building: "../audioplayer.c"

    Building target: "AudioPlayer.out"
    Invoking: C5500 Linker
    "C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=large -g --define=c5505 --display_error_number --diag_warning=225 --ptrdiff_size=16 -z -m"AudioPlayer.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccs1270/ccs/tools/compiler/c5500_4.4.1/include" --priority --reread_libs --display_error_number --warn_sections --xml_link_info="AudioPlayer_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "AudioPlayer.out" "./audioplayer.obj" -llibc.a
    <Linking>
    warning #10247-D: creating output section ".cio" without a SECTIONS

    specification
    >> Compilation failure
    makefile:134: recipe for target 'AudioPlayer.out' failed
    warning #10247-D: creating output section ".const" without a SECTIONS
    specification

    undefined first referenced
    symbol in file
    --------- ----------------
    _MMC_clearResponse ./audioplayer.obj
    _MMC_close ./audioplayer.obj
    _MMC_deselectCard ./audioplayer.obj
    _MMC_getCardStatus ./audioplayer.obj
    _MMC_getNumberOfCards ./audioplayer.obj
    _MMC_init ./audioplayer.obj
    _MMC_open ./audioplayer.obj
    _MMC_read ./audioplayer.obj
    _MMC_selectCard ./audioplayer.obj
    _MMC_sendCmd ./audioplayer.obj
    _MMC_sendGoIdle ./audioplayer.obj
    _MMC_sendOpCond ./audioplayer.obj
    _MMC_setBlockLength ./audioplayer.obj
    _MMC_setCardPtr ./audioplayer.obj
    _MMC_setCardType ./audioplayer.obj
    _MMC_setEndianMode ./audioplayer.obj
    _MMC_write ./audioplayer.obj
    _SD_configurePullup ./audioplayer.obj
    _SD_getCardCsd ./audioplayer.obj
    _SD_sendAllCID ./audioplayer.obj
    _SD_sendRca ./audioplayer.obj
    _SD_setBusWidth ./audioplayer.obj
    _SYS_setEBSR ./audioplayer.obj
    _getSysClk ./audioplayer.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "AudioPlayer.out" not built
    gmake[1]: *** [AudioPlayer.out] Error 1
    gmake: *** [all] Error 2
    makefile:130: recipe for target 'all' failed

    **** Build Finished ****

    How can I run example code in my custom project.

  • Hi,

    The above issue is solved by following changes in the properties.

    In Debug>Project Preferrences ->  enabled C55XXCSL_LP and included its library and directory in C5500 linker>File Search Path -> add "${ConfigName}/C55XXCSL_LP.lib" in library file and add "${workspace_loc:/C55XXCSL_LP}" in directory, then the code has been build successfully. 


    Now new issue occurs.
    when I ran the project in debug mode, the program is getting halt after executing first line (its a printf() ) in the main().

    What would be the issue? please support.