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.

TMS320C6748: Not able to build UART processor SDK example

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138,

Hello,

I am trying to build processor SDK example in packages\ti\drv of UART .I  have set the search paths to access the csl folder and program can access the required .h files mentioned in top main file. Still when I try to compile and build the code it is shown it cant see many symbols and is not able to link and build program. Some of images are UART_REG_CONFIG_MODE_B , UART_FRAME_WORD_LENGTH_8 , UART_FRAME_NUM_STB_1 , UART_PARITY_NONE. In which header files are these defined? Or else which all additional folders I should include in include path other than csl?

Thanks in advance

With Regards

Shalini

  • Hi,

    Share which Processor SDK version are you using?
    Share the exact steps you take to:
    1. setup your build environment
    2. create the Uart example project.

    Best Regards,
    Yordan
  • Hello,

    I am using processor_sdk for omap version 1_0_3. I take UART example from folllowing path.
    C:\tipdk_omapl138_1_0_3\packages\ti\drv

    I create a new workspace. There I create a new project for tms320c6748. I add following include options:

    "C:\ti\tinew\xdctools_3_50_03_33_core\packages"
    "C:\ti\tinew\bios_6_52_00_12\packages"
    "C:\ti\tinew\bios_6_52_00_12\packages\ti"
    "C:\ti\tinew\pdk_omapl138_1_0_3\packages"
    "${PROJECT_ROOT}"
    "${CG_TOOL_ROOT}/include"

    where processor can access csl folder.

    Then I copy UART example to main and try to build when I get above given errors.

    Please help. Thanks in advance.

    With regards
    Shalini
  • Download the Processor SDK & install it on your computer.
    Then execute:
    cd ~/ti/pdk_omapl138_1_0_3/packages
    ./pdksetupenv.sh
    ./pdkProjectCreate.sh OMAPL138 all little uart all dsp

    The above creates a folder called ~/ti/pdk_omapl138_1_0_3/packages/MyExampleProjects, which contains the uart examples:
    UART_BasicExample_lcdkOMAPL138_c674xExampleProject
    UART_BasicExample_lcdkOMAPL138_c674xDMATestProject
    UART_BasicExample_lcdkOMAPL138_c674xTestProject

    Import any of them in CCS, build it and then load & execute it on your LCDK.

    Best Regards,
    Yordan
  • Hello,

    I executed pdksetupenv.sh and it was OK. I also executed pdkProjectCreate.sh, but the folders were not created and the batch file threw error Unknown product ID and system cannot find path specified. The MyExampleProjects was created but was not populated correctly.

    With Regards
    Shalini
  • Hello,

    Attached is the error window

    With Regards

    Shalini

  • Hi,

    I suspect this is a problem with the installation of the SDK. Can you try a fresh installation?

    Download the binary installer and then execute:
    chmod +x ti-processor-sdk-rtos-k2g-evm-04.01.00.06-Linux-x86-Install.bin
    ./ti-processor-sdk-rtos-k2g-evm-04.01.00.06-Linux-x86-Install.bin
    And follow the instructions in the wizard. I advise you to install the SDK in ~/ti/ as suggested by the installation wizard.

    Best Regards,
    Yordan
  • Hello,

    am using Windows 10. Can you please make these compatible with that?

    Can I use SDK with Windows?

    Thanks in Advance

    With Regards
    Shalini
  • Hi,

    Yes, you can use the SDK with Windows. Have you looked at the available sources? Every script has variant for linux (.sh) and windows (.bat)....

    Best Regards,
    Yordan

  • UART2.rarHello,

    I reinstalled the ti sdk for OMAP L138 at C:\ti\ti_sdk\ti. Attached is my project. Again I am not getting program compiled. Please llok in to it and comment.

    With Regards

    Shalini