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.

PROCESSOR-SDK-OMAPL138: DSP App stop when run IntDSPINTCInit() function.

Part Number: PROCESSOR-SDK-OMAPL138

Dear TI team,

I am trying to create a DSP application base uart_c674x project example in Starterware SDK.

In debug mode (JTAG XDS100 V3.0), this application can run normally.

But, when I write the app to Flash, It always stops in IntDSPINTCInit() function.

After research, I found that the app can not access to ISTP register.

I checked the Execution Modes of the device by reading the TSR register. The value is 0x13, so CXM value is 0 mean Supervisor mode.

But, I still can not access to ISTP register.

Could you help me to resolve this issue? I attached my source code.uart_C674x.zip

Regard,

Quy

  • Hello Quy,

    Starterware is a legacy software package that is no longer being supported by TI. Please migrate to Processor SDK: www.ti.com/.../PROCESSOR-SDK-C6748

    Processor SDK RTOS documentation is located here:
    software-dl.ti.com/.../index.html

    Documentation on the UART driver and examples is located here:
    software-dl.ti.com/.../index_device_drv.html

    The UART example projects can be built by following the instructions here:
    software-dl.ti.com/.../index_device_drv.html

    If you have any questions please let me know.

    Regards,
    Sahin
  • Dear Sahin,

    I try to create a Project using UART with the new SDK.

    Follow this link: 

    But it is not successful. Please help me to fix this issue.

  • Hello,

    Did you run pdksetupenv.bat before pdkProjectCreate? Also, please make sure the SDK products are discovered and installed in CCS.

    I was able to build the example project without issue on SDK v5.2:

    C:\ti\omapl138-5.2\pdk_omapl138_1_0_7\packages>pdksetupenv.bat
    ***************************************************
    Environment Configuration:
    ***************************************************
        SDK_INSTALL_PATH        : C:/ti/OMAPL1~1.2
        GMAKE_INSTALL_PATH      : C:/ti/OMAPL1~1.2/xdctools_3_50_08_24_core
        RULES_MAKE              : C:/ti/OMAPL1~1.2/pdk_omapl138_1_0_7/packages/Rules
    .make
    ***************************************************
    
    C:\ti\omapl138-5.2\pdk_omapl138_1_0_7\packages>pdkProjectCreate.bat OMAPL138 all
     little uart example dsp
    =========================================================================
    Configuration:
       SOC             :   OMAPL138
       BOARD           :   all
       ENDIAN          :   little
       MODULE          :   uart
       PROJECT_TYPE    :   example
       PROCESSOR       :   dsp
       PDK_SHORT_NAME  :   C:\ti\OMAPL1~1.2\PDK_OM~1\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\OMAPL1~1
    .2\PDK_OM~1\packages\\MyExampleProjects
    Detected Test Project: UART_BasicExample_lcdkOMAPL138_c674xExampleProject
    
    --------------------------------------------------------------------------------
    
    Creating project 'UART_BasicExample_lcdkOMAPL138_c674xExampleProject'...
    
    
    Done!
    Copying macros.ini
            1 file(s) copied.
    No projects detected
    Project generation complete
    *****************************************************************************
    
    C:\ti\omapl138-5.2\pdk_omapl138_1_0_7\packages>

    Regards,
    Sahin

  • Hi Sahin,

    Of course, I run the pdksetupenv.bat 

    Here is my console log

    I have some questions:

    1. Where does the log "The system cannot find the path specified." come from?

    2. Which "path" does the system looking for?

    Regards,

    Quy

  • Hi Quy,

    It comes from the pdkProjectCreate.bat script. Specifically, lines 769 - 775.

    Perhaps it's a permission issue. Can you try running as an administrator? And can you make sure the folders are not set as read-only?

    Regards,
    Sahin