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.

RTOS/AM3358: PDK example build with UIA

Part Number: AM3358

Tool/software: TI-RTOS

I just downloaded and installed the "processor_sdk_rtos_am335x_4_02_00_09" and now I am trying to build the "pdk_am335x_1_0_9" example files and I get a lot of these errors:

Detected Test Project: UART_BasicExample_bbbAM335x_armExampleProject

--------------------------------------------------------------------------------
Creating project 'UART_BasicExample_bbbAM335x_armExampleProject'...

!ERROR: Version 2.21.2.07 (or equivalent) of product-type 'com.ti.uia' is not currently installed!
NOTE: Refer to the following list of available 'com.ti.uia' versions:

2.20.0.02

Copying macro.ini
The system cannot find the path specified.

The problem is that I looked and there is no UIA version 2.21.2.07!   

What should I do?

Thanks!

  • Hi,

    Sorry for this! The issue is that AM335x 4.2 release installer doesn't come with a UIA package. We have a JIRA for bug tracking and fix, there are several workarounds for you to continue your work before the issue being fixed:

    Workaround 1: If you have other versions of UIA installed earlier under the same installation path (default c:\ti), you can change the pdkprojectcreate.bat: set UIA_VERSION to the version you have to bypass the probelm. E.g I did: set UIA_VERSION=2.00.06.52

    Workaround 2: Most likely you don't need UIA package, you can edit the pdkprojectcreate to skip UIA for AM335x, like the script did for skip_ipc:

    if %SOC% == AM335x goto skip_ipc
    if %SOC% == AM437x goto skip_ipc

    if exist "%SDK_INSTALL_PATH%/ipc_*" (
     set RTSC_IPC=;com.ti.rtsc.IPC:%IPC_VERSION%
    )
    :skip_ipc
    if exist "%SDK_INSTALL_PATH%/ndk_*" (
     set RTSC_NDK=;com.ti.rtsc.NDK:%NDK_VERSION%
    )
    if exist "%SDK_INSTALL_PATH%/uia_*" (
     set RTSC_UIA=;com.ti.uia:%UIA_VERSION%
    )

    to:

    if %SOC% == AM335x goto skip_ipc
    if %SOC% == AM437x goto skip_ipc

    if exist "%SDK_INSTALL_PATH%/ipc_*" (
     set RTSC_IPC=;com.ti.rtsc.IPC:%IPC_VERSION%
    )

    if exist "%SDK_INSTALL_PATH%/uia_*" (
     set RTSC_UIA=;com.ti.uia:%UIA_VERSION%
    )

    :skip_ipc
    if exist "%SDK_INSTALL_PATH%/ndk_*" (
     set RTSC_NDK=;com.ti.rtsc.NDK:%NDK_VERSION%
    )

    Workaround 3: If you need to use UIA, you may download the latest P-SDK 4.2 release installer for AM572x from http://software-dl.ti.com/processor-sdk-rtos/esd/AM57X/latest/index_FDS.html and only install the uia_2_21_02_07

    Let us know if a workaround working for you to continue.

    Regards, Eric

  • Eric,
    Thank you for the quick response to this! I did option 3 because UIA support is one of the best parts of using TIRTOS! I even enabled logging after the example projects were made and everything compiled.

    Quick clarification - when I was using PDK 1.0.8 for the AM335x and I installed UIA separately, I had a TON of build errors. Is that because I should have built my examples after installing UIA? It appears to work now, it would be good to know for the future or if i made my own program not using an example.

    Thanks!
  • Hi Alex,

    Good to know the you can create the project now! The UIA package needs to be installed before you build the driver example.

    Regards, Eric
  • Thanks again Eric - I had another issue actually using UIA that I posted in the following post:
    e2e.ti.com/.../663529
  • Alex,

    Let's use the new E2E thread for UIA + GPIO LED usage issue, and I closed this one.

    Regards, Eric