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.

RTFS and SYS/BIOS Support?

Other Parts Discussed in Thread: SYSBIOS, TMS320C6747, OMAP-L137

Hi everyone,

I've just upgraded from DSP/BIOS to SYS/BIOS. I used RTFS 1.10.02.32 with DSP/BIOS 5.41.10.36 and want to use SYS/BIOS 6.32.04.49. I've changed the environment path, but I've received unresolved symbol errors on _configureMmcsd, getdriveid, getrtfserrno, etc. From the RTFS 1.10.02.32 release note, it doesn't mention about SYS/BIOS but do mentioned about DSP/BIOS.

Hope someone can clarify this.

Kind regards,

Rizuan

  • RIZUAN ,

    Can you please attach the full build output?

    Also, are you able to build the bios6 versions of the RTFS examples?

    Do you have the PSP 2.x drivers installed?

    Thanks,

    Steve

  • Thanks Steve for reply,

    According from:

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html

    No PSP 2.x that support SYS/BIOS yet. I'm using version 1.30.0.5 that I've downloaded before. This is for DSP/BIOS I believed. Maybe this is the reason for my problem ? I also received a warning when opening the CCS V5,


    Product 'PSP Drivers' v1.30.0.05 defines no repositories. Uninstall and reinstall the product, or contact the product provider. 

    Build output for my project is as follow:

    'Building target: RKLTtest.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --display_error_number --diag_warning=225 --abi=coffabi -z -m"RKLTtest.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "RKLTtest.out" -l"./configPkg/linker.cmd" "./sblas.obj" "./rotations.obj" "./reflections.obj" "./ortfac.obj" "./ialglib.obj" "./fileIO.obj" "./evmc6747_led.obj" "./evmc6747_gpio.obj" "./evd.obj" "./blas.obj" "./basestat.obj" "./apserv.obj" "./alglib.obj" "./aenv.obj" "./ablasf.obj" "./ablas.obj" "./RKLT.obj" -l"libc.a"

    <Linking>

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _I2c_IOMFXNS D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

    _PSP_mmcsdCheckCard ./RKLT.obj

    _configureMmcsd ./RKLT.obj

    _getdriveid ./RKLT.obj

    _getrtfserrno ./fileIO.obj

    _mmcsdI2cParams D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

    _mmcsdStorageDeInit ./RKLT.obj

    _mmcsdStorageInit ./RKLT.obj

    _mmcsdUserI2cInit D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

    _pc_free_other_user D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

    _pc_free_user D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

    _rtfsPosixInit ./RKLT.obj

    _rtfs_port_hook_init D:\workspace_v5_1\RKLTtest\Debug\configPkg\package\cfg\SYSBIOS6RKLT_p674.o674

     

    error #10234-D: unresolved symbols remain

     

    error #10010: errors encountered during linking; "RKLTtest.out" not built

    >> Compilation failure

    No, I couldn't run the RTFS examples, and the error is


    could not open source file "ti/psp/platforms/evmDA830/Mmcsd_evmInit.h"

    I believe this is because of no PSP 2.x that is for SYS/BIOS is installed

    Can you suggest where can I get the PSP 2.x ? PSP 3.x is in development.

    I also couldn't download the EDMA3 Low-level Driver BIOS-6 Releases, the URL is

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/edma3_lld/edma3-lld-bios6/02_11_02_04/index_FDS.html

    Kind regards,

    Rizuan

  • PSP 2.x is specifically for BIOS 6.x driver support and should be available. I think your hardware platform is the DA830 (evm6747) right?

     

    Can you try these sites?

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/bios_psp/index.html

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/edma3_lld/index.html

    Steve

  • Now, I'm only focusing on compiling the RTFS example, the mmcsdsample. I've included the following library:

    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\examples\callbacks\lib\debug\ti.rtfs.examples.callbacks.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\ebs\lib\debug\ti.rtfs.ebs.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\config\lib\debug\ti.rtfs.config.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\osal\bios5\lib\debug\ti.rtfs.osal.bios5.a674
    C:\ti\ccsv5\ccs_base\c6flo_1.0.0.201109011043\Resources\evmc6747\edma3_drv_bios_c674.lib
    C:\ti\ccsv5\ccs_base\c6flo_1.0.0.201109011043\Resources\evmc6747\edma3_drv_bios_sample.lib
    C:\ti\ccsv5\ccs_base\c6flo_1.0.0.201109011043\Resources\evmc6747\edma3_rm_bios.lib
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\blkmedia\lib\Debug\ti.psp.blkmedia.filesystem.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\i2c\lib\ti.psp.i2c.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\psc\lib\ti.psp.psc.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\gpio\lib\ti.psp.gpio.a674

    at File Search Path, -l option, and include options to have:

    "C:\ti\bios_6_32_04_49\packages"
    "C:\ti\edma3_lld_02_00_01_04\packages"
    "C:\ti\pspdrivers_02_00_01\packages"
    "C:\ti\rtfs_1_10_02_32\packages"
    "C:\ti\xdctools_3_22_02_27\packages"

    As you may notice, I'm using RTFS 1.10.02.32, XDCTools 3.22.02.27, PSP 2.0.1, and SYS/BIOS 6.32.4.49 and I've received 88 errors. Please give me right direction. I'm using CCSV5.

    I can run the example in CCSV3.3 with no problem, with DSP/BIOS 5 on the same PC.

    Kind regards,

    Rizuan

     

  • Rizuan,

    Can you please zip up and attach your entire project.  Please also attach the full build output that has all of these errors.

    Thanks,

    Steve

  • Hi Steve,

    Attached are the project acrhive and the build output.

    Many thanks for your help.

    Kind regards,

    Rizuan

    project and build output.zip
  • Rizuan,

    It appears that your project is still pointing to some EDMA3 libraries that are BIOS5.x versions, which is incorrect for your BIOS6.x example build.  You can from the project build options that you are referencing an EDMA install that's probably incorrect.  E.g.:

    C:\ti\ccsv5\ccs_base\c6flo_1.0.0.201109011043\Resources\evmc6747\edma3_drv_bios_sample.lib

    I think you need to update your project compiler and linker options to stop pointing to any product that you have in C:\ti\ccsv5\ccs_base\ and instead use the ones that are located in your c:\ti directory:

    "C:\ti\bios_6_32_04_49\packages"
    "C:\ti\edma3_lld_02_00_01_04\packages"
    "C:\ti\pspdrivers_02_00_01\packages"
    "C:\ti\rtfs_1_10_02_32\packages"
    "C:\ti\xdctools_3_22_02_27\packages"

    Here's a screen shot of what I'm talking about in the project options.

    Steve

     

  • Hi Steve,

    Thanks for your reply. I've excluded libraries that pointed to ccs_base directory. I've updated my EDMA to V 2.11.2.4, included the BIOSUSB to the include folder list. My include folder list is as follows:

    "C:\ti\bios_6_32_04_49\packages"
    "C:\ti\biosusb_01_10_03\packages"
    "C:\ti\edma3_lld_02_11_02_04\packages"
    "C:\ti\pspdrivers_02_00_01\packages"
    "C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\src"
    "C:\ti\rtfs_1_10_02_32\packages"
    "C:\ti\xdctools_3_22_02_27\packages"
    "C:\ti\ipc_1_23_03_31\packages"

    My library list is as attached in the zipped project and I've received 64 errors, undefined symbol to _gpio2, _ti_psp_gpio_Gpio_bankInterruptEnable__E etc. This is just the mmcsd project from RTFS 1.10.2.32 that is successfully compiled without error on CCSV3.3 with DSP/BIOS. I'm using CCSV5 (where I got the errors) with SYS/BIOS.

    Best regards,

    Rizuan

     

    project & build output 2.zip
  • RIZUAN,

    I think I see what the problem was.  The RTFS only shipped with a CCSv4 example, which isn't compatible with CCSv5.

    I think you then went ahead and tried creating a new project, but the problem is that (I think) when you created it, you only selected "empty project."  You needed to select "empty RTSC project".  This allows you to select your components via checkboxes (see screen shot) and automatically link in the libraries of those components libraries, as well as to run the configuro tool which will process your *.cfg file.

    I've gone ahead and created a CCSv5 project for the mmcsd example for you.  You can import the attached archive file into your CCSv5 workspace once you download it.

    Note that you'll need to update it to point to the components you are using, as shown in the screen shot.

    Steve

     

    1200.mmcsd_bios6_ccsv5_example.zip

     

  • Hi Steven,

    Sorry for late of reply. I've tried to open your sample project, but I couldn't. The mmcsd2 project is there, but I couldn't select it in order to open it.

    Then I tried to create a new empty RTSC project. I have one question so far:

    How did you install the EDMA Low Level Driver 2.11.2, PSP Drivers 2.10.1, RTFS 1.10.3.33 so that they are available as in your screenshot before? For the RTFS, in my case, I just extract the directory under my C:ti\ folder, set the environment RTFS_INSTALL_DIR to C:\ti\rtfs_1_10_02_32. For the EDMA, same procedure, I extracted the .tar file to my C:\ti\ folder and set the environment, EDMA3LLD_BIOS6_INSTALLDIR to C:\ti\edma3_lld_02_11_02_04, for PSP, I only have BIOSPSP_02_00_01_DA830_Setup.exe. What I did, install the file into my C:ti\ folder and set the environment, PSP_DRIVERS_INSTALL_DIR to C:\ti\pspdrivers_02_00_01.

    Maybe what I've done during the installation of these files were wrong since this is the method that I used for CCS V3.3. For your information, I jumped from CCS V3.3 straight to CCS 5.

    Kind regards,

    Rizuan

  • Hi Rizuan,

    RIZUAN said:
    Sorry for late of reply. I've tried to open your sample project, but I couldn't. The mmcsd2 project is there, but I couldn't select it in order to open it.

    How did you try this?  Did you select "Project -> Import Existing CCS/CCE Eclipse Project"?  If so, can you attach a screen shot of the problem you are describing?

    RIZUAN said:

    How did you install the EDMA Low Level Driver 2.11.2, PSP Drivers 2.10.1, RTFS 1.10.3.33 so that they are available as in your screenshot before? For the RTFS, in my case, I just extract the directory under my C:ti\ folder, set the environment RTFS_INSTALL_DIR to C:\ti\rtfs_1_10_02_32. For the EDMA, same procedure, I extracted the .tar file to my C:\ti\ folder and set the environment, EDMA3LLD_BIOS6_INSTALLDIR to C:\ti\edma3_lld_02_11_02_04, for PSP, I only have BIOSPSP_02_00_01_DA830_Setup.exe. What I did, install the file into my C:ti\ folder and set the environment, PSP_DRIVERS_INSTALL_DIR to C:\ti\pspdrivers_02_00_01.

    Maybe what I've done during the installation of these files were wrong since this is the method that I used for CCS V3.3. For your information, I jumped from CCS V3.3 straight to CCS 5.

    For CCSv5, you do not need to create these environment variables such as RTFS_INSTALL_DIR ... that was only needed for CCSv3.x.

    In CCSv5, the components are found automatically for you.  By default, it searches the directory "C:\Program Files\Texas Instruments".  But, since you've installed your software into "C:\ti", CCSv5 didn't see it.

    This is OK though.  You only need to point CCSv5 to the new place to look.  You can do this from the "Window" menu by selecting "Preferences".

    Once that opens, navigate to "CCS->RTSC->Products".  From there, click the "Add..." button next to "Tools Discovery Path".  Then add "C:\ti" to the discovery path.

    Click OK to save those settings changes then close and restart CCSv5.  It will then look in C:\ti for products, and should discover all of the ones you've installed under there (you'll see a dialog box pop up).  It will ask you to restart the workbench, so you should do that when asked.

    Once it restarts, you should be able to see all of those new components available from within your project properties.  Let me know if you have any more issues.

    Steve


  • Dear Steve,

    I have solve the first problem. It is because I already have the same project in my Project Explorer.

    For the second problem, the path C:/ti is already there by default. I've then included all the paths (refer attached image). Only IPC 1.24.0.16, Multicore System Analyzer 1.0.1.17, SYS/BIOS 6.32.5.54, XDAIS 7.21.0.02 and XDCtools 3.22.4.46 are detected. Out of these 5 tools, I've updated/installed the IPC, SYS/BIOS and XDCtools myself.

    In order to run the mmcsd example, we need the rtfs, psp drivers, biosusb and edma3. I've installed/extracted the tools to C:/ti, C:/Program Files (x86)/Texas Instruments and C:/Program Files/Texas Instruments and add the paths to the CCS->RTSC->Products->Tool discovery path, apply, refresh and restart the CCSV5. However, the CCSV5 still couldn't detect the remaining tools.

    In your previous post, in an image you attached, I can see the different of version that you are using with mine. All the tools that I've downloaded are the latest that are available on TI website. Out of rtfs, psp drivers, biosusb and edma3, only biosusb that doesn't have the eclipse folder.

    When compiling the mmcsd2 project that you gave earlier, there are errors:

    RTSC product 'PSP Drivers' v2.10.1 (or compatible) is not currently installed, also for 'com.ti.rtfs' and com.ti.sdo.edma3'

    Note: I'm using Windows 7 Enterprise x64, Eclipse Version: Indigo Service Release 1

    Many thanks, Steve. Really appreciate your help.

    Kind regards,

    Rizuan

  • Rizuan,

    Ok, did you restart CCSv5 after you added those discovery paths?

    If you already tried that, and it still didn't work, you can add each tool manually.

    To do this, again go into the Window->preferences.  As shown in the screen shot, go to RTSC and then "Add" to add a new tool.  Browse to the tool, e.g. to RTFS.  NOTE - you must browse to the "packages" directory as shown in the screen shot.

    Then, you should repeat for the other tools.  Once you do this, you will be able to select that tool for the build properties of your project, but it will show up under "other packages"

    Steve

     

  • Hi Steve,

    I've tried this method previously. Here are what I've done to run your mmcsd2 project.

    1. Opened it through Project->Import Existing CCS/CCE Eclipse Project,
    2. Select archive file, finish,
    3. Open the project properties, at General, RTSC tab, I changed the other repositories to point to:
        C:\ti\edma3_lld_02_11_02_04\packages,
        C:\ti\pspdrivers_02_00_01\packages, and
        C:\ti\rtfs_1_10_02_32\packages
        (I don't add the biosusb as shown in your post before)
    4. I also correct the SYS/BIOS and the IPC so that it will point to my version. The screenshot of step 3 and 4 is as attached.

    Now, when I 'clean project', and 'build project', I received one error "C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.psp.mmcsd' is completely built". The mmcsdSample.cfs will have a little red cross at xdc.loadPackage("ti.psp.mmcsd"); line.

    Then, when I build again the project, I will get 33 errors as below:

    **** Build of configuration Debug for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../drvMng.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="drvMng.pp" --cmd_file="./configPkg/compiler.opt" "../drvMng.c"

    'Finished building: ../drvMng.c'

    ' '

    'Building file: ../fileIO.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="fileIO.pp" --cmd_file="./configPkg/compiler.opt" "../fileIO.c"

    'Finished building: ../fileIO.c'

    ' '

    'Building file: ../mmcsdSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="mmcsdSample.pp" --cmd_file="./configPkg/compiler.opt" "../mmcsdSample.c"

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    'Finished building: ../mmcsdSample.c'

    ' '

    'Building target: mmcsd2.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --display_error_number --diag_warning=225 --abi=coffabi -z -m"mmcsd2.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mmcsd2.out" -l"./configPkg/linker.cmd" "./mmcsdSample.obj" "./fileIO.obj" "./drvMng.obj" -l"libc.a"

    <Linking>

    error: cannot find file "./configPkg/linker.cmd"

    warning #10210-D: creating ".stack" section with default size of 0x400; use the

    -stack option to change the default size

    warning #10210-D: creating ".sysmem" section with default size of 0x400; use

     

    the -heap option to change the default size

    >> Compilation failure

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _PSP_mmcsdCheckCard ./mmcsdSample.obj

    _bfs_shell ./mmcsdSample.obj

    _chdir ./fileIO.obj

    _closedir ./fileIO.obj

    _configureMmcsd ./mmcsdSample.obj

    _fmtdrv ./mmcsdSample.obj

    _fsck ./fileIO.obj

    _fstat ./fileIO.obj

    _fsync ./fileIO.obj

    _getcwd ./fileIO.obj

    _getdriveid ./mmcsdSample.obj

    _getdrvinfo ./fileIO.obj

    _getdrvparms ./fileIO.obj

    _getrtfserrno ./mmcsdSample.obj

    _mkdir ./fileIO.obj

    _mmcsdStorageDeInit ./mmcsdSample.obj

    _mmcsdStorageInit ./mmcsdSample.obj

    _opendir ./fileIO.obj

    _partdrv ./drvMng.obj

    _readdir ./fileIO.obj

    _rmdir ./fileIO.obj

    _scandir ./fileIO.obj

    _setdrv ./fileIO.obj

    _stat ./fileIO.obj

    _statvfs ./fileIO.obj

    _ti_sysbios_BIOS_start__E ./mmcsdSample.obj

    _ti_sysbios_ipc_Semaphore_Object__create__S ./mmcsdSample.obj

    _ti_sysbios_ipc_Semaphore_Params__init__S ./mmcsdSample.obj

    _ti_sysbios_ipc_Semaphore_pend__E ./mmcsdSample.obj

    _ti_sysbios_ipc_Semaphore_post__E ./mmcsdSample.obj

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "mmcsd2.out" not built

    gmake: *** [mmcsd2.out] Error 1

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

     

    **** Build Finished ****

    These are the errors that I've got when the first time I post question in this thread.

    Hope you can help me on this problem.

    Kind regards,

    Rizuan

     

     

  • Rizuan,

    This is a bug in the PSP drivers.  However there is a workaround.

    You would need to comment out or delete that line from your *cfg file:

    xdc.loadPackage("ti.psp.mmcsd")

    Then manually link in the ti.psp.mmcsd library into the project with

    -l "C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\DA830\Release\ti.psp.mmcsd.a674"

    (please double check that this path is correct for you)

    Can you try building again once you've changed that?

    Steve

  • Also, if after the above change the program still does not build, please attach the *.map file (if it exists) and the build output.

    Steve

  • Hi Steve,

    The number of errors has reduced. There is only one unresolved symbol, _hEdma as attached along with the mmcsd2.map file.

    Thanks.

    Rizuan

    map&buildoutput.zip
  • Rizuan,

    This symbol is most likely defined in the EDMA3 libraries.  Can you make sure that your project is linking in the edma libraries?

    -l"c:/ti/edma3_lld_02_00_01_04/packages/ti/sdo/edma3/drv/sample/lib/da830/Release/ti.sdo.edma3.drv.sample.a674"

    -l"c:/ti/edma3_lld/edma3_lld_02_00_01_04/packages/ti/sdo/edma3/drv/lib/Release/ti.sdo.edma3.drv.a674"

    -l"c:/ti/edma3_lld/edma3_lld_02_00_01_04/packages/ti/sdo/edma3/rm/lib/da830/Release/ti.sdo.edma3.rm.a674"

    Steve

  • Hi Steve,

    I've added these 3 libraries (different with yours but I believed to be same and I used from the debug directory instead of release. EDITED: same error if use the library from the release directory) and received the following build output with error:

    C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\sample\lib\da830-evm\674\debug\edma3_lld_drv_sample.a674
    C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\lib\674\debug\edma3_lld_drv.a674
    C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\lib\da830-evm\674\debug\edma3_lld_rm.a674

    **** Build of configuration Debug for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../mmcsdSample.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_22_04_46/xs" --xdcpath="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evmDA830 -r release -c "C:/ti/ccsv5/tools/compiler/c6000" --compileOptions "-DCHIP_DA830" -v "../mmcsdSample.cfg"

    #

    # making package.mak (because of package.bld) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f C:/ti/xdctools_3_22_04_46/packages/xdc/bld/bld.js ./config.bld package.bld package.mak

    #

    # generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f xdc/services/intern/cmd/build.xs -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

    #

    # configuring mmcsdSample.x674 from package/cfg/mmcsdSample_p674.cfg ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg mmcsdSample.x674 package/cfg/mmcsdSample_p674.cfg package/cfg/mmcsdSample_p674

    warning: ti.sysbios.misc.Queue: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue.xs", line 59: ti.sysbios.misc.Queue : The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue.

    warning: ti.sysbios.ipc.Semaphore: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore.xs", line 55: ti.sysbios.ipc.Semaphore : The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_post and ti.sysbios.knl.Semaphore.LM_post share the msg: 'LM_post: sem: 0x%x, count: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_pend and ti.sysbios.knl.Semaphore.LM_pend share the msg: 'LM_pend: sem: 0x%x, count: %d, timeout: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    Warning: incompatible use of package 'xdc.runtime' [in C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/]: version of the loaded package 'xdc.runtime' is [2, 1, 0], while 'ti.rtfs.osal.bios6' [in C:/ti/rtfs_1_10_02_32/packages/ti/rtfs/osal/bios6/] was built with 'xdc.runtime' [2, 0, 0, 0, 1261168025007]

    Inside EDMA3 Drv Sample getLibs

    will link with ti.sdo.edma3.drv.sample:lib/da830-evm/674/release/edma3_lld_drv_sample.a674

    Inside FILE_SYSTEM Block Media getLibs

    will link with ti.psp.blkmedia:lib/Release/ti.psp.blkmedia.filesystem.a674

    Inside EDMA3 Drv getLibs

    will link with ti.sdo.edma3.drv:lib/674/release/edma3_lld_drv.a674

    Inside EDMA3 RM getLibs

    will link with ti.sdo.edma3.rm:lib/da830-evm/674/release/edma3_lld_rm.a674

    C:/ti/xdctools_3_22_04_46/bin/sed 's"^\"\(package/cfg/mmcsdSample_p674cfg.cmd\)\""\"D:/workspace_v5_1/mmcsd2/Debug/configPkg/\1\""' package/cfg/mmcsdSample_p674.xdl > linker.cmd

    C:/ti/xdctools_3_22_04_46/bin/rm -f package/cfg/mmcsdSample_p674.o674

    #

    # cl674 package/cfg/mmcsdSample_p674.c ...

    C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x -c -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg -fc package/cfg/mmcsdSample_p674.c

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue__prologue.h", line 33: warning: #warn "The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue."

    C:/ti/xdctools_3_22_04_46/bin/mkdep -a package/cfg/mmcsdSample_p674.o674.dep -p package/cfg -s o674 package/cfg/mmcsdSample_p674.c -C -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg

    'Finished building: ../mmcsdSample.cfg'

    ' '

    'Building file: ../drvMng.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="drvMng.pp" --cmd_file="./configPkg/compiler.opt" "../drvMng.c"

    'Finished building: ../drvMng.c'

    ' '

    'Building file: ../fileIO.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="fileIO.pp" --cmd_file="./configPkg/compiler.opt" "../fileIO.c"

    'Finished building: ../fileIO.c'

    ' '

    'Building file: ../mmcsdSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="mmcsdSample.pp" --cmd_file="./configPkg/compiler.opt" "../mmcsdSample.c"

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    'Finished building: ../mmcsdSample.c'

    ' '

    'Building target: mmcsd2.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --display_error_number --diag_warning=225 --abi=coffabi -z -m"mmcsd2.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mmcsd2.out" -l"./configPkg/linker.cmd" "./mmcsdSample.obj" "./fileIO.obj" "./drvMng.obj" -l"libc.a" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\sample\lib\da830-evm\674\debug\edma3_lld_drv_sample.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\lib\674\debug\edma3_lld_drv.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\lib\da830-evm\674\debug\edma3_lld_rm.a674"

    <Linking>

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _hEdma C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674<mmcsd_startup.o674>

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "mmcsd2.out" not built

     

    >> Compilation failure

    gmake: *** [mmcsd2.out] Error 1

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

     

    **** Build Finished ****

    I then added:

    C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\sample\lib\da830-evm\674\debug\edma3_lld_rm_sample.a674

    and received the following build output with error:

    **** Build of configuration Debug for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../mmcsdSample.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_22_04_46/xs" --xdcpath="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evmDA830 -r release -c "C:/ti/ccsv5/tools/compiler/c6000" --compileOptions "-DCHIP_DA830" -v "../mmcsdSample.cfg"

    #

    # making package.mak (because of package.bld) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f C:/ti/xdctools_3_22_04_46/packages/xdc/bld/bld.js ./config.bld package.bld package.mak

    #

    # generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f xdc/services/intern/cmd/build.xs -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

    #

    # configuring mmcsdSample.x674 from package/cfg/mmcsdSample_p674.cfg ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg mmcsdSample.x674 package/cfg/mmcsdSample_p674.cfg package/cfg/mmcsdSample_p674

    warning: ti.sysbios.misc.Queue: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue.xs", line 59: ti.sysbios.misc.Queue : The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue.

    warning: ti.sysbios.ipc.Semaphore: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore.xs", line 55: ti.sysbios.ipc.Semaphore : The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_post and ti.sysbios.knl.Semaphore.LM_post share the msg: 'LM_post: sem: 0x%x, count: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_pend and ti.sysbios.knl.Semaphore.LM_pend share the msg: 'LM_pend: sem: 0x%x, count: %d, timeout: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    Warning: incompatible use of package 'xdc.runtime' [in C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/]: version of the loaded package 'xdc.runtime' is [2, 1, 0], while 'ti.rtfs.osal.bios6' [in C:/ti/rtfs_1_10_02_32/packages/ti/rtfs/osal/bios6/] was built with 'xdc.runtime' [2, 0, 0, 0, 1261168025007]

    Inside EDMA3 Drv Sample getLibs

    will link with ti.sdo.edma3.drv.sample:lib/da830-evm/674/release/edma3_lld_drv_sample.a674

    Inside FILE_SYSTEM Block Media getLibs

    will link with ti.psp.blkmedia:lib/Release/ti.psp.blkmedia.filesystem.a674

    Inside EDMA3 Drv getLibs

    will link with ti.sdo.edma3.drv:lib/674/release/edma3_lld_drv.a674

    Inside EDMA3 RM getLibs

    will link with ti.sdo.edma3.rm:lib/da830-evm/674/release/edma3_lld_rm.a674

    C:/ti/xdctools_3_22_04_46/bin/sed 's"^\"\(package/cfg/mmcsdSample_p674cfg.cmd\)\""\"D:/workspace_v5_1/mmcsd2/Debug/configPkg/\1\""' package/cfg/mmcsdSample_p674.xdl > linker.cmd

    C:/ti/xdctools_3_22_04_46/bin/rm -f package/cfg/mmcsdSample_p674.o674

    #

    # cl674 package/cfg/mmcsdSample_p674.c ...

    C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x -c -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg -fc package/cfg/mmcsdSample_p674.c

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue__prologue.h", line 33: warning: #warn "The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue."

    C:/ti/xdctools_3_22_04_46/bin/mkdep -a package/cfg/mmcsdSample_p674.o674.dep -p package/cfg -s o674 package/cfg/mmcsdSample_p674.c -C -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg

    'Finished building: ../mmcsdSample.cfg'

    ' '

    'Building file: ../drvMng.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="drvMng.pp" --cmd_file="./configPkg/compiler.opt" "../drvMng.c"

    'Finished building: ../drvMng.c'

    ' '

    'Building file: ../fileIO.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="fileIO.pp" --cmd_file="./configPkg/compiler.opt" "../fileIO.c"

    'Finished building: ../fileIO.c'

    ' '

    'Building file: ../mmcsdSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="mmcsdSample.pp" --cmd_file="./configPkg/compiler.opt" "../mmcsdSample.c"

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    'Finished building: ../mmcsdSample.c'

    ' '

    'Building target: mmcsd2.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --display_error_number --diag_warning=225 --abi=coffabi -z -m"mmcsd2.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mmcsd2.out" -l"./configPkg/linker.cmd" "./mmcsdSample.obj" "./fileIO.obj" "./drvMng.obj" -l"libc.a" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\sample\lib\da830-evm\674\debug\edma3_lld_drv_sample.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\lib\674\debug\edma3_lld_drv.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\lib\da830-evm\674\debug\edma3_lld_rm.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\sample\lib\da830-evm\674\debug\edma3_lld_rm_sample.a674"

    <Linking>

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _hEdma C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674<mmcsd_startup.o674>

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "mmcsd2.out" not built

     

    >> Compilation failure

    gmake: *** [mmcsd2.out] Error 1

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

     

    **** Build Finished ****

    Then I added:

    C:\ti\biosusb_01_10_03\packages\ti\biosusb\platforms\C6747\lib\Debug\ti.biosusb.platforms.a674
    C:\ti\biosusb_01_10_03\packages\ti\biosusb\apps\devmscglue\lib\C6747\Debug\ti.biosusb.apps.devmscglue.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\blkmedia\lib\Debug\ti.psp.blkmedia.filesystem.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\blkmedia\lib\Debug\ti.psp.blkmedia.raw.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\nand\lib\Debug\ti.psp.nand.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\psc\lib\ti.psp.psc.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\i2c\lib\ti.psp.i2c.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\codec\lib\ti.psp.platforms.codec.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\audio\lib\ti.psp.platforms.evmDA830.audio.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\mcasp\lib\ti.psp.mcasp.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\spi\lib\ti.psp.spi.a674
    C:\ti\pspdrivers_02_00_01\packages\ti\psp\gpio\lib\ti.psp.gpio.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\examples\callbacks\lib\debug\ti.rtfs.examples.callbacks.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\ebs\lib\debug\ti.rtfs.ebs.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\config\lib\debug\ti.rtfs.config.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\config\lib\debug\ti.rtfs.config_dalloc.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\posix\lib\debug\ti.rtfs.posix.a674
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\osal\bios6\lib\debug\ti.rtfs.osal.bios6.a674

    and received the following build output:

    **** Build of configuration Debug for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../mmcsdSample.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_22_04_46/xs" --xdcpath="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evmDA830 -r release -c "C:/ti/ccsv5/tools/compiler/c6000" --compileOptions "-DCHIP_DA830" -v "../mmcsdSample.cfg"

    #

    # making package.mak (because of package.bld) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f C:/ti/xdctools_3_22_04_46/packages/xdc/bld/bld.js ./config.bld package.bld package.mak

    #

    # generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f xdc/services/intern/cmd/build.xs -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

    #

    # configuring mmcsdSample.x674 from package/cfg/mmcsdSample_p674.cfg ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_11_02_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg mmcsdSample.x674 package/cfg/mmcsdSample_p674.cfg package/cfg/mmcsdSample_p674

    warning: ti.sysbios.misc.Queue: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue.xs", line 59: ti.sysbios.misc.Queue : The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue.

    warning: ti.sysbios.ipc.Semaphore: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore.xs", line 55: ti.sysbios.ipc.Semaphore : The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_post and ti.sysbios.knl.Semaphore.LM_post share the msg: 'LM_post: sem: 0x%x, count: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_pend and ti.sysbios.knl.Semaphore.LM_pend share the msg: 'LM_pend: sem: 0x%x, count: %d, timeout: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    Warning: incompatible use of package 'xdc.runtime' [in C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/]: version of the loaded package 'xdc.runtime' is [2, 1, 0], while 'ti.rtfs.osal.bios6' [in C:/ti/rtfs_1_10_02_32/packages/ti/rtfs/osal/bios6/] was built with 'xdc.runtime' [2, 0, 0, 0, 1261168025007]

    Inside EDMA3 Drv Sample getLibs

    will link with ti.sdo.edma3.drv.sample:lib/da830-evm/674/release/edma3_lld_drv_sample.a674

    Inside FILE_SYSTEM Block Media getLibs

    will link with ti.psp.blkmedia:lib/Release/ti.psp.blkmedia.filesystem.a674

    Inside EDMA3 Drv getLibs

    will link with ti.sdo.edma3.drv:lib/674/release/edma3_lld_drv.a674

    Inside EDMA3 RM getLibs

    will link with ti.sdo.edma3.rm:lib/da830-evm/674/release/edma3_lld_rm.a674

    C:/ti/xdctools_3_22_04_46/bin/sed 's"^\"\(package/cfg/mmcsdSample_p674cfg.cmd\)\""\"D:/workspace_v5_1/mmcsd2/Debug/configPkg/\1\""' package/cfg/mmcsdSample_p674.xdl > linker.cmd

    C:/ti/xdctools_3_22_04_46/bin/rm -f package/cfg/mmcsdSample_p674.o674

    #

    # cl674 package/cfg/mmcsdSample_p674.c ...

    C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x -c -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg -fc package/cfg/mmcsdSample_p674.c

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue__prologue.h", line 33: warning: #warn "The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue."

    C:/ti/xdctools_3_22_04_46/bin/mkdep -a package/cfg/mmcsdSample_p674.o674.dep -p package/cfg -s o674 package/cfg/mmcsdSample_p674.c -C -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_11_02_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg

    'Finished building: ../mmcsdSample.cfg'

    ' '

    'Building file: ../drvMng.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="drvMng.pp" --cmd_file="./configPkg/compiler.opt" "../drvMng.c"

    'Finished building: ../drvMng.c'

    ' '

    'Building file: ../fileIO.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="fileIO.pp" --cmd_file="./configPkg/compiler.opt" "../fileIO.c"

    'Finished building: ../fileIO.c'

    ' '

    'Building file: ../mmcsdSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="mmcsdSample.pp" --cmd_file="./configPkg/compiler.opt" "../mmcsdSample.c"

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    'Finished building: ../mmcsdSample.c'

    ' '

    'Building target: mmcsd2.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --display_error_number --diag_warning=225 --abi=coffabi -z -m"mmcsd2.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mmcsd2.out" -l"./configPkg/linker.cmd" "./mmcsdSample.obj" "./fileIO.obj" "./drvMng.obj" -l"libc.a" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\blkmedia\lib\Debug\ti.psp.blkmedia.filesystem.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\blkmedia\lib\Debug\ti.psp.blkmedia.raw.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\nand\lib\Debug\ti.psp.nand.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\psc\lib\ti.psp.psc.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\i2c\lib\ti.psp.i2c.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\codec\lib\ti.psp.platforms.codec.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\audio\lib\ti.psp.platforms.evmDA830.audio.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\mcasp\lib\ti.psp.mcasp.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\spi\lib\ti.psp.spi.a674" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\gpio\lib\ti.psp.gpio.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\sample\lib\da830-evm\674\debug\edma3_lld_drv_sample.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\drv\lib\674\debug\edma3_lld_drv.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\lib\da830-evm\674\debug\edma3_lld_rm.a674" -l"C:\ti\edma3_lld_02_11_02_04\packages\ti\sdo\edma3\rm\sample\lib\da830-evm\674\debug\edma3_lld_rm_sample.a674" -l"C:\ti\biosusb_01_10_03\packages\ti\biosusb\platforms\C6747\lib\Debug\ti.biosusb.platforms.a674" -l"C:\ti\biosusb_01_10_03\packages\ti\biosusb\apps\devmscglue\lib\C6747\Debug\ti.biosusb.apps.devmscglue.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\examples\callbacks\lib\debug\ti.rtfs.examples.callbacks.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\ebs\lib\debug\ti.rtfs.ebs.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\config\lib\debug\ti.rtfs.config.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\config\lib\debug\ti.rtfs.config_dalloc.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\posix\lib\debug\ti.rtfs.posix.a674" -l"C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\osal\bios6\lib\debug\ti.rtfs.osal.bios6.a674"

    <Linking>

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _hEdma C:\ti\pspdrivers_02_00_01\packages\ti\psp\platforms\evmDA830\lib\ti.psp.platforms.evmDA830.a674<mmcsd_startup.o674>

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "mmcsd2.out" not built

     

    >> Compilation failure

    gmake: *** [mmcsd2.out] Error 1

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

     

    **** Build Finished ****

    Please, help me.

    Best regards,

    Rizuan

  • Rizuan,

    I have contacted the EDMA3 experts on this issue.  That symbol is undefined because of the later version of EDMA 3 combined with the early version of the PSP drivers you are using. Basically, that later version of the EDMA expects that struct to be defined elsewhere, but in the earlier version this is not the case.

    They say that if you switch to using EDMA 2.00.01.04 and link with those versions of the libraries, the symbol will be found and you should be good to go.

    Can you try to download EDMA 2.00.01.04 at this link and let me know if you have problems accessing that download page?

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/edma3_lld/edma3_lld_02_00/index.html

    Thanks,

    Steve

  • Hi Steve,

    I've followed what you have said about using the EDMA3 LLD 2.00.01.04 and there is an error:

    package/cfg/mmcsdSample_p674cfg.cmd\)\ .xdchelp

    BUT, the mmcsd2.out was created and I can run the example.

    There are also warnings about functions being deprecated. Does these error and warnings mean anything ? Below is the build output:


    **** Build of configuration Debug for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../mmcsdSample.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_22_04_46/xs" --xdcpath="C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evmDA830 -r release -c "C:/ti/ccsv5/tools/compiler/c6000" --compileOptions "-DCHIP_DA830" -v "../mmcsdSample.cfg"

    #

    # making package.mak (because of package.bld) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f C:/ti/xdctools_3_22_04_46/packages/xdc/bld/bld.js ./config.bld package.bld package.mak

    #

    # generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= -f xdc/services/intern/cmd/build.xs -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

    #

    # configuring mmcsdSample.x674 from package/cfg/mmcsdSample_p674.cfg ...

    C:/ti/xdctools_3_22_04_46/xs -Dxdc.path="C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;.." -Dxdc.root=C:/ti/xdctools_3_22_04_46 -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;C:/ti/xdctools_3_22_04_46/packages;..;C:/ti/xdctools_3_22_04_46;C:/ti/xdctools_3_22_04_46/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg mmcsdSample.x674 package/cfg/mmcsdSample_p674.cfg package/cfg/mmcsdSample_p674

    warning: ti.sysbios.misc.Queue: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue.xs", line 59: ti.sysbios.misc.Queue : The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue.

    warning: ti.sysbios.ipc.Semaphore: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore.xs", line 55: ti.sysbios.ipc.Semaphore : The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_post and ti.sysbios.knl.Semaphore.LM_post share the msg: 'LM_post: sem: 0x%x, count: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_pend and ti.sysbios.knl.Semaphore.LM_pend share the msg: 'LM_pend: sem: 0x%x, count: %d, timeout: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    Warning: incompatible use of package 'xdc.runtime' [in C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/]: version of the loaded package 'xdc.runtime' is [2, 1, 0], while 'ti.sdo.edma3.drv.sample' [in C:/ti/edma3_lld_02_00_01_04/packages/ti/sdo/edma3/drv/sample/] was built with 'xdc.runtime' [2, 0, 0, 0, 1240534014044], while 'ti.rtfs.osal.bios6' [in C:/ti/rtfs_1_10_02_32/packages/ti/rtfs/osal/bios6/] was built with 'xdc.runtime' [2, 0, 0, 0, 1261168025007]

    Inside EDMA3 Drv Sample getLibs

    will link with ti.sdo.edma3.drv.sample:lib/da830/Release/ti.sdo.edma3.drv.sample.a674

    Inside FILE_SYSTEM Block Media getLibs

    will link with ti.psp.blkmedia:lib/Release/ti.psp.blkmedia.filesystem.a674

    Inside EDMA3 Drv getLibs

    will link with ti.sdo.edma3.drv:lib/Release/ti.sdo.edma3.drv.a674

    Inside EDMA3 RM getLibs

    will link with ti.sdo.edma3.rm:lib/da830/Release/ti.sdo.edma3.rm.a674

    C:/ti/xdctools_3_22_04_46/bin/sed 's"^\"\(package/cfg/mmcsdSample_p674cfg.cmd\)\""\"D:/workspace_v5_1/mmcsd2/Debug/configPkg/\1\""' package/cfg/mmcsdSample_p674.xdl > linker.cmd

    C:/ti/xdctools_3_22_04_46/bin/rm -f package/cfg/mmcsdSample_p674.o674

    #

    # cl674 package/cfg/mmcsdSample_p674.c ...

    C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x -c -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_00_01_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg -fc package/cfg/mmcsdSample_p674.c

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue__prologue.h", line 33: warning: #warn "The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue."

    C:/ti/xdctools_3_22_04_46/bin/mkdep -a package/cfg/mmcsdSample_p674.o674.dep -p package/cfg -s o674 package/cfg/mmcsdSample_p674.c -C -DCHIP_DA830 -qq -pdsw225 -mo --no_compress -mv6740 -eo.o674 -ea.s674 --embed_inline_assembly -Dxdc_cfg__header__='configPkg/package/cfg/mmcsdSample_p674.h' -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_7_3_0 -O2 -I. -IC:/ti/edma3_lld_02_00_01_04/packages -IC:/ti/pspdrivers_02_00_01/packages -IC:/ti/rtfs_1_10_02_32/packages -IC:/ti/bios_6_32_05_54/packages -IC:/ti/ipc_1_24_00_16/packages -IC:/ti/biosusb_01_10_03/packages -IC:/ti/xdctools_3_22_04_46/packages -I.. -IC:/ti/ccsv5/tools/compiler/c6000/include -fs=./package/cfg -fr=./package/cfg

    'Finished building: ../mmcsdSample.cfg'

    ' '

    'Building file: ../drvMng.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="drvMng.pp" --cmd_file="./configPkg/compiler.opt" "../drvMng.c"

    'Finished building: ../drvMng.c'

    ' '

    'Building file: ../fileIO.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="fileIO.pp" --cmd_file="./configPkg/compiler.opt" "../fileIO.c"

    'Finished building: ../fileIO.c'

    ' '

    'Building file: ../mmcsdSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="mmcsdSample.pp" --cmd_file="./configPkg/compiler.opt" "../mmcsdSample.c"

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore."

    "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Event__prologue.h", line 33: warning #36-D: #warn "The ti.sysbios.ipc.Event module is being deprecated. Please switch to ti.sysbios.knl.Event."

    'Finished building: ../mmcsdSample.c'

    ' '

    'Building target: mmcsd2.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=CHIP_DA830 --display_error_number --diag_warning=225 --abi=coffabi -z -m"mmcsd2.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mmcsd2.out" -l"./configPkg/linker.cmd" "./mmcsdSample.obj" "./fileIO.obj" "./drvMng.obj" -l"libc.a" -l"C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Debug\ti.psp.mmcsd.a674" -l"C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\drv\lib\Debug\ti.sdo.edma3.drv.a674" -l"C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\drv\sample\lib\da830\Debug\ti.sdo.edma3.drv.sample.a674" -l"C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\rm\lib\da830\Debug\ti.sdo.edma3.rm.a674" -l"C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\rm\sample\lib\da830\Debug\ti.sdo.edma3.rm.sample.a674"

    <Linking>

    'Finished building target: mmcsd2.out'

    ' '

     

    **** Build Finished ****

     

  • Steve,

    After the previous post, I tried to run under Release mode, using the same method as before, only using the library from Release folders. I've got the following error:

    ti.psp.gpio.Gpio TMS320C6747: Unsupported device .xdchelp

    The build output is as follow:

    **** Build of configuration Release for project mmcsd2 ****

     

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../mmcsdSample.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_22_04_46/xs" --xdcpath="C:/ti/edma3_lld_02_00_01_04/packages;C:/ti/pspdrivers_02_00_01/packages;C:/ti/rtfs_1_10_02_32/packages;C:/ti/bios_6_32_05_54/packages;C:/ti/ipc_1_24_00_16/packages;C:/ti/biosusb_01_10_03/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evm6747 -r release -c "C:/ti/ccsv5/tools/compiler/c6000" "../mmcsdSample.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring mmcsdSample.x674 from package/cfg/mmcsdSample_p674.cfg ...

    warning: ti.sysbios.misc.Queue: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/misc/Queue.xs", line 59: ti.sysbios.misc.Queue : The ti.sysbios.misc.Queue module is being deprecated. Please switch to ti.sysbios.knl.Queue.

    warning: ti.sysbios.ipc.Semaphore: "C:/ti/bios_6_32_05_54/packages/ti/sysbios/ipc/Semaphore.xs", line 55: ti.sysbios.ipc.Semaphore : The ti.sysbios.ipc.Semaphore module is being deprecated. Please switch to ti.sysbios.knl.Semaphore.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_post and ti.sysbios.knl.Semaphore.LM_post share the msg: 'LM_post: sem: 0x%x, count: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    warning: xdc.runtime.Log: "C:/ti/xdctools_3_22_04_46/packages/xdc/runtime/Log.xs", line 168: xdc.runtime.Log idToInfo: Two events with the same id: ti.sysbios.ipc.Semaphore.LM_pend and ti.sysbios.knl.Semaphore.LM_pend share the msg: 'LM_pend: sem: 0x%x, count: %d, timeout: %d'. You must reconfigure the message of one of these events to ensure its id will be unique.

    error: ti.psp.gpio.Gpio: "C:/ti/pspdrivers_02_00_01/packages/ti/psp/gpio/Gpio.xs", line 17: ti.psp.gpio.Gpio TMS320C6747: Unsupported device

    error: ti.psp.psc.Psc: "C:/ti/pspdrivers_02_00_01/packages/ti/psp/psc/Psc.xs", line 21: ti.psp.psc.Psc TMS320C6747: Unsupported device

    error: ti.psp.i2c.I2c: "C:/ti/pspdrivers_02_00_01/packages/ti/psp/i2c/I2c.xs", line 23: ti.psp.i2c.I2c TMS320C6747: Unsupported device

    js: "C:/ti/pspdrivers_02_00_01/packages/ti/psp/i2c/I2c.xs", line 111: XDC runtime error: ti.psp.i2c.I2c/deviceInstInfo: index out of range (0)

    gmake.exe: *** [package/cfg/mmcsdSample_p674.xdl] Error 1

    js: "C:/ti/xdctools_3_22_04_46/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

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

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

     

    **** Build Finished ****

    Any direction for me? My project was based on the RTFS example, the mmcsdsample project in CCSv3.3 and I could run in debug and release mode. Could you please give me direction here? Many thanks.

    Hope the latest version of the tools will be available for user soon to be use in CCSv5 under SYS/BIOS.

    Rizuan

     

     

  • Hi Steve,

    All your directions to use EDMA3 2.0.1.4, disabling xdc.loadpackage("ti.psp.mcsd") inside the mmcsdSample.cfg that you posted solve the problems, but temporarily. I'm now can run the sample project in both release and debug modes, as well as my own project that is based on the example. Another steps is by adding:

    "C:\ti\pspdrivers_02_00_01\packages\ti\psp\mmcsd\lib\Release\ti.psp.mmcsd.a674"
    "C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\drv\lib\Release\ti.sdo.edma3.drv.a674"
    "C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\drv\sample\lib\da830\Release\ti.sdo.edma3.drv.sample.a674"
    "C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\rm\lib\da830\Release\ti.sdo.edma3.rm.a674"
    "C:\ti\edma3_lld_02_00_01_04\packages\ti\sdo\edma3\rm\sample\lib\da830\Release\ti.sdo.edma3.rm.sample.a674"

    for release mode and also please change appropriately for debug mode as well as I believe this is only for temporary solutions. Pls note that I install all the software components in C:\ti dir.

    I am hoping that in near future, TI can update and release all the software components to the latest version that is for SYS/BIOS e.g. RTFS, PSP drivers, EDMA3 at least similar to the screenshot that you have posted earlier. Clearly, the version that you have is far more latest version that is available for user to download from the download pages.

    Since in the example that you have posted use DA830, other people that use OMAP-L137 board from Spectrum Digital needs to change their memory configuration to change the range of SDRAM memory. This can be achieved by using (CCS Debug) Tools->RTSC Tools->Platform->New and add TMS320DA830, import the ti.platforms.evmDA830 and change the SDRAM range to base: 0xC0000000 and length: 0x04000000, set the Code Memory, Data Memory and Stack Memory to SDRAM. I then can compile and run the project (my project that use all the portion of SDRAM).

    Really appreciate all the helps from TI Members especially Steve.

    Kind regards,

    Rizuan