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.

TMS320C6747: Processor SDK mcASP example generation in pdk

Part Number: TMS320C6747
Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS, MATHLIB

Dear Champs,

I'm trying to test 'mcasp' examples of processor SDK(PROCESSOR-SDK-RTOS-OMAPL13X  03_03_00_04) referring 'processors.wiki.ti.com/.../Processor_SDK_RTOS_Software_Developer_Guide'.

As I installed SDK package on 'C:\ti' directory, I executed 'setupenv.bat' in the 'processor_sdk_rtos_omapl13x_3_03_00_04' directory.

And move to 'pdk_omap13x_1_0_0' and ran 

pdksetupenv.bat

pdkProjectCreate.bat OMAPL137 all little mcasp dsp

but, failed as below, and I could not find any issue in my setting. Could you please check my settings?

I also attached my environment in dos window.

environments.txt
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\a0967692\AppData\Roaming
AUTO_CREATE_COMMAND=eclipse\eclipsec -noSplash
BIOSUSB_INSTALL_DIR=C:\ti\c6747\c6747\biosusb_01_10_03
BIOS_INSTALL_PATH=C:/ti/bios_6_46_04_53
BIOS_VERSION=6.46.04.53
BOARD=OMAPL137
C6X_GEN_INSTALL_PATH=C:/ti/ti-cgt-c6000_8.1.3
CCS_DEVICE="com.ti.ccstudio.deviceModel.C6000.GenericC674xDevice"
CCS_INSTALL_PATH="C:\ti\ccsv7"
CGTOOLS=C:/ti/ti-cgt-c6000_8.1.3
CGT_ARM_VERSION=16.9.1.LTS
CGT_ARP32_VERSION=1.0.8
CGT_M4_VERSION=16.9.1.LTS
CGT_PRU_VERSION=2.1.4
CGT_VERSION=8.1.2
CGT_VERSION_ARM=GNU_4.9.3:Linaro
CGT_VERSION_ARM9=16.9.1.LTS
CL_PRU_INSTALL_PATH=C:/ti/ti-cgt-pru_2.1.4
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPILER=16.9.1.LTS
COMPUTERNAME=CNA0967692W7A
ComSpec=C:\windows\system32\cmd.exe
CROSS_TOOL_PRFX=arm-none-eabi-
DEVMGR_SHOW_DETAILS=1
DEVMGR_SHOW_NONPRESENT_DEVICES=1
DSPLIB_INSTALL_PATH=C:/ti/dsplib_c674x_3_4_0_0
DSPLIB_VERSION=c674x_3_4_0_0
DSP_TYPE=c674x
EDMA3LLD_BIOS6_INSTALLDIR=C:/ti/edma3_lld_2_12_03_27
EDMA_VERSION=2.12.03.27
ENDIAN=little
endian_list=little big
ESDSERVER=dseesd.itg.ti.com
FPULIB_PATH=C:/ti/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
FP_NO_HOST_CHECK=NO
GCC_CROSS_TOOL_PREFIX=arm-none-eabi-
GCC_VERSION_ARM_A15=arm-none-eabi-4_9-2015q3
GCC_VERSION_ARM_A8=arm-none-eabi-4_9-2015q3
GCC_VERSION_ARM_A9=arm-none-eabi-4_9-2015q3
GCC_VERSION_FPULIB=4.9.3
HOMEDRIVE=C:
HOMEPATH=\Users\a0967692
IA_SDK_HOME=C:\ti\sysbios_ind_sdk_02.01.02.02\sdk
IMGLIB_INSTALL_PATH=C:/ti/imglib_c674x_3_1_1_0
IMGLIB_VERSION=c674x_3_1_1_0
IPC_INSTALL_PATH=C:/ti/ipc_3_44_01_01
IPC_PLATFORM=UNKNOWN
IPC_VERSION=3.44.01.01
IS_CCS_VERSION_4=no
IS_SIMULATOR_SUPPORT_NEEDED=no
LIMIT_BOARDS=evmOMAPL137 lcdkOMAPL138
LIMIT_SOCS=omapl137 omapl138
LINKER_OPT=""
LOCALAPPDATA=C:\Users\a0967692\AppData\Local
LOGONSERVER=\\DQHVAD03
MACROS_FILE=c:\ti\PDK_OM~2\packages\\macros.ini
MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_1_0
MATHLIB_VERSION=c674x_3_1_1_0
MODULE=mcasp
module_list=all aif2 bcp cppi csl dfe emac fatfs fm fftc gpio gpmc hyplnk i2c icss_emac iqn2 mcasp mcbsp mmap mmcsd nimu nimu_icss nwal pa pcie pktlib pruss qm rm sa serdes_diag spi srio tcp3d tfw transportqmss transportsrio tsip uart usb wdtimer vps
MY_WORKSPACE=c:\ti\PDK_OM~2\packages\\MyExampleProjects
NDK_INSTALL_PATH=C:/ti/ndk_2_25_01_11
NDK_VERSION=2.25.01.11
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
OUTPUT_FORMAT=ELF
PARTNO=AM
Path=C:/Windows/System32;C:/ti/ti-cgt-c6000_8.1.3/bin;C:/ti/xdctools_3_32_01_22_core;C:/ti/xdctools_3_32_01_22_core\bin;C:/ti/xdctools_3_32_01_22_core\packages\xdc\services\io\release
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PDK_ECLIPSE_ID=com.ti.pdk.omapl13x
PDK_INSTALL_PATH=/ti/PDK_OM~2/packages
PDK_PARTNO=OMAPL137
PDK_SHORT_NAME=c:\ti\PDK_OM~2\packages\
PDK_VERSION=1.0.0
PROCESSOR=dsp
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3d04
proc_list=arm dsp m4
PROC_SDK_INSTALL_PATH=C:/ti/processor_sdk_rtos_omapl13x_3_03_00_04
PROC_SDK_VERSION=omapl13x_3_03_00_04
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
project_detected = 1
PROMPT=$P$G
PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
RTSC_EDMA=;com.ti.sdo.edma3:2.12.03.27
RTSC_IPC=;com.ti.rtsc.IPC:3.44.01.01
RTSC_NDK=;com.ti.rtsc.NDK:2.25.01.11
RTSC_PLATFORM_NAME=ti.platforms.evmOMAPL137
RTSC_PRODUCTS="com.ti.rtsc.SYSBIOS:6.46.04.53;com.ti.pdk.omapl13x:1.0.0;com.ti.sdo.edma3:2.12.03.27;com.ti.rtsc.IPC:3.44.01.01;com.ti.rtsc.NDK:2.25.01.11;com.ti.uia:2.00.06.52"
RTSC_TARGET=ti.targets.elf.C674
RTSC_UIA=;com.ti.uia:2.00.06.52
SDK_INSTALL_PATH=C:/ti
SESSIONNAME=Console
SOC=OMAPL137
SOC_FAMILY=AM
soc_list=AM335x AM437x AM571x AM572x K2E K2K K2H K2L K2G C6678 C6657 DRA72x DRA75x DRA78x OMAPL137 OMAPL138
SystemDrive=C:
SystemRoot=C:\windows
TEMP=C:\Users\a0967692\AppData\Local\Temp
tempVar1=OMAPL137
tempVar2=all
tempVar3=little
tempVar4=mcasp
tempVar5=dsp
TMP=C:\Users\a0967692\AppData\Local\Temp
TOOLCHAIN_PATH_A15=C:/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_A8=C:/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_A9=C:/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_Arm9=C:/ti/ti-cgt-arm_16.9.1.LTS
TOOLCHAIN_PATH_EVE=C:/ti/ccsv7/tools/compiler/arp32_1.0.8
TOOLCHAIN_PATH_M4=C:/ti/ti-cgt-arm_16.9.1.LTS
TOOLS_INSTALL_PATH=C:/ti
UATDATA=C:\windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
UIA_INSTALL_PATH=C:/ti/uia_2_00_06_52
UIA_VERSION=2.00.06.52
USERDNSDOMAIN=ENT.TI.COM
USERDOMAIN=ENT
USERDOMAIN_ROAMINGPROFILE=ENT
USERNAME=a0967692
USERPROFILE=C:\Users\a0967692
UTILS_INSTALL_DIR=C:/ti/xdctools_3_32_01_22_core/bin
windir=C:\windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
XDCCGROOT=C:/ti/ti-cgt-c6000_8.1.3
XDCPATH=../../..;C:/ti/xdctools_3_32_01_22_core/packages;/ti/PDK_OM~2/packages/.;C:/ti/edma3_lld_2_12_03_27/packages;C:/ti/bios_6_46_04_53/packages;C:/ti/ipc_3_44_01_01/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/uia_2_00_06_52/packages
XDCROOT=C:/ti/mcsdk/mcsdk2/xdctools_3_23_04_60
XDC_INSTALL_PATH=C:/ti/xdctools_3_32_01_22_core
XDC_VERSION=3.32.01.22

~~~~~~~~

c:\ti\PDK_OM~2\packages>pdkProjectCreate.bat OMAPL137 all little mcasp dsp

=========================================================================

Configuration:

   SOC             :   OMAPL137

   BOARD           :   all

   ENDIAN          :   little

   MODULE          :   mcasp

   PROCESSOR       :   dsp

   PDK_SHORT_NAME  :   c:\ti\PDK_OM~2\packages\

=========================================================================

Checking Configuration...

Complete

=========================================================================

   PDK_PARTNO         : OMAPL137

   PDK_ECLIPSE_ID     : com.ti.pdk.omapl13x

   RTSC_PLATFORM_NAME : ti.platforms.evmOMAPL137

   RTSC_TARGET        : ti.targets.elf.C674

   CCS_DEVICE         : "com.ti.ccstudio.deviceModel.C6000.GenericC674xDevice

*****************************************************************************

Detecting all projects in PDK and importing them in the workspace c:\ti\PDK_O

\packages\\MyExampleProjects

Detected Test Project: MCASP_Audio_evmOMAPL137_c674xExampleProject

 

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

 

Creating project 'MCASP_Audio_evmOMAPL137_c674xExampleProject'...

 

  !ERROR: Version 6.46.4.53 (or equivalent) of product-type 'com.ti.rtsc.SYSB

' is not currently installed!

    NOTE: Refer to the following list of available 'com.ti.rtsc.SYSBIOS' vers

s:

 

        6.45.1.29

        6.37.5.35

        6.35.1.29

 

Copying macros.ini

The system cannot find the path specified.

        0 file(s) copied.

No projects detected

Project generation complete

*****************************************************************************

~~~~~~~~

Thanks and Best Regards,

SI.

  • Hi,

    When you check your ~/ti directory, which BIOS version do you have installed?
    Can you try modifying the setupenv.bat file to point to that bios version?

    Best Regards,
    Yordan
  • Hi Yordan,

    Thanks for your response.

    I tried to modify BIOS version to 6.45.01.29  as you recommended, and got some progress but still error as below.

    Could you please check this again?

    And also, I attached my BIOS directory for your reference.

    ~~~~~~~~~~~~

    c:\ti\PDK_OM~2\packages>pdkProjectCreate.bat OMAPL137 all little mcasp dsp

    =========================================================================

    Configuration:

      SOC             :   OMAPL137

      BOARD           :   all

      ENDIAN          :   little

      MODULE          :   mcasp

      PROCESSOR       :   dsp

      PDK_SHORT_NAME  :   c:\ti\PDK_OM~2\packages\

    =========================================================================

    Checking Configuration...

    Complete

    =========================================================================

      PDK_PARTNO         : OMAPL137

      PDK_ECLIPSE_ID     : com.ti.pdk.omapl13x

      RTSC_PLATFORM_NAME : ti.platforms.evmOMAPL137

      RTSC_TARGET        : ti.targets.elf.C674

      CCS_DEVICE         : "com.ti.ccstudio.deviceModel.C6000.GenericC674xDevice"

    *****************************************************************************

    Detecting all projects in PDK and importing them in the workspace c:\ti\PDK_OM

    \packages\\MyExampleProjects

    Detected Test Project: MCASP_Audio_evmOMAPL137_c674xExampleProject

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

    Creating project 'MCASP_Audio_evmOMAPL137_c674xExampleProject'...

     !ERROR: Unknown product-type ID 'com.ti.pdk.omapl13x'!

       NOTE: Refer to the following list of available product-type IDs (the displ

    -names in square brackets are for reference only):

           ti.mas.dsplib.c66x [DSPLIB C66x]

           ti.mas.dsplib.c674x [DSPLIB C674x]

           com.ti.sdo.edma3 [EDMA3 Low Level Driver]

           ti.imglib.c64Px [IMGLIB C64x+]

           com.ti.rtsc.IPC [Inter-processor Communication]

           ti.mathlib.c674x [MATHLIB C674x]

           com.ti.rtsc.NDK [NDK]

           com.ti.rtsc.SYSBIOS [SYS/BIOS]

           com.ti.SIMPLELINK_CC32XX_SDK [SimpleLink CC32XX SDK]

           com.ti.uia [System Analyzer (UIA Target)]

           com.ti.rtsc.XDAIS [XDAIS]

           com.ti.pdk.am335x [am335x PDK]

           com.ti.pdk.k2g [k2g PDK]

    Copying macros.ini

    The system cannot find the path specified.

           0 file(s) copied.

    No projects detected

    Project generation complete

    *****************************************************************************

    c:\ti\PDK_OM~2\packages>

    ~~~~~~~~~~~~

     .

    Thanks and Best Regards,

    SI.

  • SI,

    Have you setup CCSv7 and Discovered the Processor SDK RTOS components as described here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Setup_CCS

    The pdkProjectCreate script files indicate that the Processor SDK RTOS components have not been discovered so I recommend that you follow all steps in Getting started guide.

    Additionally, look at the Processor SDK RTOS FAQ and the video that I provided for how to set this up:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_FAQ

    Youtube video to setup and test device drivers.:
    www.youtube.com/watch

    Regards,
    Rahul
  • Hi,

    I solved this issue by clean-up tools in my PC.

    Thanks and Best Regards,
    SI.