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.

[FAQ] EVMK2GX: How to generate the CCS PDK examples for K2G processor family?

Part Number: EVMK2GX
Other Parts Discussed in Thread: EVMK2G

Explain the steps, prerequisites, and environment setup to generate the PDK example projects which come along with TI-RTOS SDK for the K2G Family of Processors.

  • To create PDK example projects for K2G devices make sure the prerequisites are present.

    Pre-requisite 

    1. Install processor_sdk_rtos_k2g_6_03_00_106 from https://software-dl.ti.com/processor-sdk-linux/esd/K2G/latest/index_FDS.html
    2. Install CCS 9.3 from CCSTUDIO_9.3.0.00012 | TI.com
    3. Choose the installation directory as C:\ti

    Steps to generate the PDK examples.

    Once the processor_sdk_rtos_k2g_6_03_00_106 is installed, observe the PDK package,  "pdk_k2g_2_0_16" under C:\ti

    1. Launch command prompt
    2. Go to the directory C:\ti\pdk_k2g_1_0_16\packages   
    3. Run pdksetupenv.bat
      1. C:\ti\pdk_k2g_1_0_16\packages>pdksetupenv.bat
    4. DSPCore examples:
      1. C:\ti\pdk_k2g_1_0_16\packages>pdkProjectCreate.bat K2G all little all all dsp "C:\ti\pdk_k2g_1_0_16\packages"
    5. ARMCore examples:
      1. C:\ti\pdk_k2g_1_0_16\packages>pdkProjectCreate.bat K2G all little all all arm "C:\ti\pdk_k2g_1_0_16\packages"
    6. It will create a folder by name "MyExampleProjects" under C:\ti\pdk_k2g_1_0_16\packages.
    7. The following is the list of example projects which will get created. - 136 examples

    1. cppievmK2GArmBiosTestProject
      cppievmK2GC66BiosTestProject
      EMAC_BasicExample_evmK2G_armBiosExampleProject
      EMAC_BasicExample_evmK2G_c66xExampleProject
      EMAC_BasicExample_iceK2G_armBiosExampleProject
      EMAC_BasicExample_iceK2G_c66xExampleProject
      EMAC_CpswRateLimit_evmK2G_c66xExampleProject
      EMAC_CpswRateLimit_iceK2G_c66xExampleProject
      EMAC_cptsEventExample_evmK2G_c66xExampleProject
      EMAC_cptsEventExample_iceK2G_c66xExampleProject
      EMAC_cptsTsCmpExample_evmK2G_c66xExampleProject
      EMAC_cptsTsCmpExample_iceK2G_c66xExampleProject
      GPIO_LedBlink_evmK2G_armTestProject
      GPIO_LedBlink_evmK2G_c66xTestProject
      GPIO_LedBlink_iceK2G_armTestProject
      GPIO_LedBlink_iceK2G_c66xTestProject
      I2C_BasicExample_evmK2G_armExampleProject
      I2C_BasicExample_evmK2G_armTestProject
      I2C_BasicExample_evmK2G_c66xExampleProject
      I2C_BasicExample_evmK2G_c66xTestProject
      I2C_BasicExample_iceK2G_armExampleProject
      I2C_BasicExample_iceK2G_armTestProject
      I2C_BasicExample_iceK2G_c66xExampleProject
      I2C_BasicExample_iceK2G_c66xTestProject
      I2C_ErrorRecovery_evmK2G_armExampleProject
      I2C_Master_evmK2G_armTestProject
      I2C_Master_evmK2G_c66xTestProject
      I2C_Slave_evmK2G_armTestProject
      I2C_Slave_evmK2G_c66xTestProject
      ICSS_EMAC_BasicExample_iceK2G_wSoCLib_armTestproject
      ICSS_EMAC_BasicExample_iceK2G_wSoCLib_C66Testproject
      ICSS_EMAC_SwitchExample_iceK2G_wSoCLib_armTestproject
      ICSS_EMAC_SwitchExample_iceK2G_wSoCLib_C66Testproject
      MCASP_AudioEQ_evmK2G_c66ExampleProject
      MCASP_Audio_evmK2G_armExampleProject
      MCASP_Audio_evmK2G_c66ExampleProject
      MCASP_DeviceLoopback_evmK2G_armExampleProject
      MCASP_DeviceLoopback_evmK2G_c66ExampleProject
      MCBSP_DigLpbkevmK2Gc66ExampleProject
      MCSPI_SlaveMode_MasterExample_evmK2G_armExampleProject
      MCSPI_SlaveMode_MasterExample_evmK2G_c66xExampleProject
      MCSPI_SlaveMode_SlaveExample_evmK2G_armExampleProject
      MCSPI_SlaveMode_SlaveExample_evmK2G_c66xExampleProject
      MMCSD_evmK2G_armTestProject
      MMCSD_evmK2G_c66xTestProject
      MMCSD_evmK2G_DMA_armTestProject
      MMCSD_evmK2G_DMA_c66xTestProject
      MMCSD_evmK2G_EMMC_armTestProject
      MMCSD_evmK2G_EMMC_c66xTestProject
      MMCSD_evmK2G_EMMC_DMA_armTestProject
      MMCSD_evmK2G_EMMC_DMA_c66xTestProject
      MMCSD_FatfsConsole_evmK2G_armExampleProject
      MMCSD_FatfsConsole_evmK2G_c66xExampleProject
      MMCSD_FatfsConsole_evmK2G_DMA_armExampleProject
      MMCSD_FatfsConsole_evmK2G_DMA_c66xExampleProject
      MMCSD_iceK2G_armTestProject
      MMCSD_iceK2G_c66xTestProject
      MMCSD_iceK2G_DMA_armTestProject
      MMCSD_iceK2G_DMA_c66xTestProject
      NIMU_BasicExample_evmK2G_armExampleproject
      NIMU_BasicExample_evmK2G_c66xExampleProject
      NIMU_BasicExample_iceK2G_armExampleproject
      NIMU_BasicExample_iceK2G_c66xExampleProject
      NIMU_CCLinkMaster_evmK2G_wSocLib_armExampleproject
      NIMU_CCLinkMaster_evmK2G_wSocLib_c66Exampleproject
      NIMU_CCLinkMaster_iceK2G_wSocLib_armExampleproject
      NIMU_CCLinkMaster_iceK2G_wSocLib_c66Exampleproject
      NIMU_CCLinkSlave_evmK2G_wSocLib_armExampleproject
      NIMU_CCLinkSlave_evmK2G_wSocLib_c66Exampleproject
      NIMU_CCLinkSlave_iceK2G_wSocLib_armExampleproject
      NIMU_CCLinkSlave_iceK2G_wSocLib_c66Exampleproject
      NIMU_FtpExample_evmK2G_armExampleproject
      NIMU_FtpExample_evmK2G_c66xExampleproject
      NIMU_FtpExample_iceK2G_armExampleproject
      NIMU_FtpExample_iceK2G_c66xExampleproject
      NIMU_ICSS_BasicExample_iceK2G_wSocLib_armExampleproject
      NIMU_ICSS_BasicExample_iceK2G_wSocLib_c66Exampleproject
      NIMU_ICSS_CCLinkMaster_iceK2G_wSocLib_armExampleproject
      NIMU_ICSS_CCLinkMaster_iceK2G_wSocLib_c66Exampleproject
      NIMU_ICSS_CCLinkSlave_iceK2G_wSocLib_armExampleproject
      NIMU_ICSS_CCLinkSlave_iceK2G_wSocLib_c66Exampleproject
      NIMU_ICSS_FtpExample_iceK2G_wSocLib_armExampleproject
      NIMU_ICSS_FtpExample_iceK2G_wSocLib_c66Exampleproject
      OSAL_BasicExample_evmK2G_armTestProject
      OSAL_BasicExample_evmK2G_c66xTestProject
      PCIE_evmK2G_wSoCFile_armExampleProject
      PCIE_evmK2G_wSoCFile_C66BiosExampleProject
      PCIE_evmK2G_wSoCLib_armExampleProject
      PCIE_evmK2G_wSoCLib_C66BiosExampleProject
      PCIE_iceK2G_wSoCLib_armExampleProject
      PCIE_iceK2G_wSoCLib_C66BiosExampleProject
      PRUSS_BasicExample_iceK2G_wSoCFile_armTestproject
      PRUSS_BasicExample_iceK2G_wSoCFile_c66xTestProject
      qmDCfgevmK2GArmBiosTestProject
      qmDCfgevmK2GC66BiosTestProject
      qmDescevmK2GArmBiosTestProject
      qmDescevmK2GC66BiosTestProject
      qmInfraevmK2GArmBiosExampleProject
      qmInfraevmK2GC66BiosExampleProject
      qmInsRegionevmK2GArmBiosTestProject
      qmInsRegionevmK2GC66BiosTestProject
      qmQAllocevmK2GArmBiosTestProject
      qmQAllocevmK2GC66BiosTestProject
      qmSCfgevmK2GArmBiosTestProject
      qmSCfgevmK2GC66BiosTestProject
      QSPI_BasicExample_evmK2G_armExampleProject
      QSPI_BasicExample_evmK2G_armTestProject
      QSPI_BasicExample_evmK2G_c66xExampleProject
      QSPI_BasicExample_evmK2G_c66xTestProject
      QSPI_BasicExample_iceK2G_armTestProject
      QSPI_BasicExample_iceK2G_c66xTestProject
      rmevmK2GC66A15LinuxDspClientTestProject
      rmevmK2GC66DspMtBiosTestProject
      SA_UnitTest_evmK2GC66BiosTestProject
      SA_UnitTest_evmK2GCArmBiosTestProject
      SPI_BasicExample_evmK2G_armExampleProject
      SPI_BasicExample_evmK2G_armTestProject
      SPI_BasicExample_evmK2G_c66xExampleProject
      SPI_BasicExample_evmK2G_c66xTestProject
      SPI_LoopbackExample_evmK2G_armExampleProject
      SPI_LoopbackExample_evmK2G_c66xExampleProject
      UART_BasicExample_evmK2G_armDMATestproject
      UART_BasicExample_evmK2G_armExampleProject
      UART_BasicExample_evmK2G_armTestproject
      UART_BasicExample_evmK2G_c66xDMATestProject
      UART_BasicExample_evmK2G_c66xExampleProject
      UART_BasicExample_evmK2G_c66xTestProject
      UART_BasicExample_iceK2G_armDMATestproject
      UART_BasicExample_iceK2G_armExampleProject
      UART_BasicExample_iceK2G_armTestproject
      UART_BasicExample_iceK2G_c66xDMATestProject
      UART_BasicExample_iceK2G_c66xExampleProject
      UART_BasicExample_iceK2G_c66xTestProject
      USB_DevBulk_evmK2G_armExampleProject
      USB_DevMsc_evmK2G_armExampleProject
      USB_HostMsc_evmK2G_armExampleProject
    1. The projects for EVMK2G and K2G ICE (K2G Industrial Communications Engine), Please select the projects accordingly.

    Thanks

    Rajarajan U