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.

TMS320C6742: Get started with TMS320C6742

Part Number: TMS320C6742
Other Parts Discussed in Thread: OMAP-L138, OMAPL138

I've downloaded and installed both Code Composer Studio and the Processor SDK.

Under CSS > Window > Preferences > Code Composer Studio > Products, CSS detected the products and installed them for me.

I couldn't find anything on the Resource Explorer of CCS that uses the said device.

How do I actually start coding for TMS320C6742EZWT2 in C++?

Is there a development kit around TMS320C6742EZWT2?

What am I missing?

Thanks in advance.

  • Hi,

    Please refer to OMAP-L13x/C674x Resources and FAQ to get started with C674x development.

    Regards,

    Jianzhong

  • Dear Jianzhong,

    I ran the following pdkProjectCreate.bat command.

    This is the output:

    C:\ti\pdk_omapl138_1_0_11\packages>pdkProjectCreate.bat OMAPL138 all little all all dsp C:\ti\pdk_omapl138_1_0_11\packages
    =========================================================================
    Configuration:
       SOC             :   OMAPL138
       BOARD           :   all
       ENDIAN          :   little
       MODULE          :   all
       PROJECT_TYPE    :   all
       PROCESSOR       :   dsp
       PDK_SHORT_NAME  :   C:\ti\pdk_omapl138_1_0_11\packages
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
       PDK_PARTNO         : OMAPL138
       PDK_ECLIPSE_ID     : com.ti.pdk.omapl138
       RTSC_PLATFORM_NAME : ti.platforms.evmOMAPL138
       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_omapl138_1_0_11\packages\MyExampleProjects
    Detected Test Project: EMAC_lcdkOMAPL138_C674xLoopback_testProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: GPIO_LedBlink_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: I2C_Master_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: I2C_Slave_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCASP_Audio_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCBSP_DigLpbk_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_lcdkOMAPL138_DMA_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MMCSD_lcdkOMAPL138_DMA_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: SPI_LoopbackExample_lcdkOMAPL138_c674xDMAExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: SPI_LoopbackExample_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_lcdkOMAPL138_c674xDMATestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: UART_BasicExample_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: USB_DevAudio_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: USB_DevMsc_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: USB_HostMsc_lcdkOMAPL138_c674xExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: OSAL_BasicExample_lcdkOMAPL138_c674xTestProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_emacExampleclient_lcdkOMAPL138C674xBiosExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: NIMU_emacExample_lcdkOMAPL138C674xBiosExampleProject
    The system cannot find the path specified.
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Project generation complete
    *****************************************************************************

    Please advice.

    Also, how does building the sample projects for OMAP-L138 work for C6742 DSP?

    If I get the OMAP-L138, could I connect this development board's JTAG to a target/custom board with C6742 for programming and debugging?

  • Hello,

    The error was most likely caused by CCS version mismatch. Please refer to this FAQ regarding how to create PDK example projects. It uses AM437x as an example but the steps apply for other device as well. As an alternative, you can simply  use the ProjectSpecs in omapl138_c6748_ccs_projectspecs.zip, as provided in  OMAP-L13x/C674x Resources and FAQ.

    Also, how does building the sample projects for OMAP-L138 work for C6742 DSP?

    When you run the script with argument "dsp", you'll generate sample projects for C674x DSP, which have "c674x" in the project names. Or you can find ProjectSpec in the above zip file for C674x, for example, omapl138_c6748_ccs_projectspecs\ccs_examples\windows\OMAPL138\GPIO_LedBlink_lcdkOMAPL138_c674xTestProject.projectspec.

    If I get the OMAP-L138, could I connect this development board's JTAG to a target/custom board with C6742 for programming and debugging

    Yes, as long as you also get the compatible external emulator, you should be able to connect to C674x DSP through CCS and start your development.

    Regards,

    Jianzhong

  • Dear Jianzhong,

    I can import and open the projects from the omapl138_c6748_css_projectspecs.zip. 

    I'll go ahead and close this support ticket while waiting for my XDS200 and OMAP-L138 to arrive.

    Will post another support ticket when I dive deeper.

    Best regards,

    Daniel