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.

CCS/PROCESSOR-SDK-OMAPL138: How to Create PDK Example and Test Project?

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

Tool/software: Code Composer Studio

Hi,

http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html#pdk-example-and-test-project-creation

I refer to this 1.4.5.1.4. PDK Example and Test Project Creation.

Step1. I have installed the CCS  and PDK_OMAPL138 and other components in the default path "C:\ti".As being shown below.

Step2. I create the file "MyExampleCreate.bat" in the pdk packages directory. And  write "pdkProjectCreate.bat OMAPL138 all little uart all dsp" to the file.

Step3.I ran the file MyExampleCreate.bat, in the Command line window. The result is shown below.

While Copying macros.ini file, an error has occurred, as"The system cannot find the specified path".

Is there a problem with my steps?

How can I correct it?

BR.

Shide Lu.

  • Hello Shide,

    I think you may be missing one step: to run something called pdksetupenv.bat to set up environment first. It is under pdk folder under packages.

    best regards,
    David Zhou
  • Hi,David,

    Thanks for your reply.

    Now, I run the pdksetupenv.bat, an Error occured as "'export' is not an internal or external command, nor is it a runnable program or batch file".

    I want to know what the pdksetupenv.bat file does. Set environment variables?

    I set the three environment variables in the image above manually.And then run the MyExampleCreate.bat file.The result is still the same,cannot find the path.

    Is there anything else I miss?

    BR.

    Shide Lu.

  • Hello,

    Please make sure you have discovered and installed the SDK in CCS as shown below:

    Other than that, the projects should build out of the box by running the following commands in a terminal window:

    > cd C:\ti\pdk_omapl138_1_0_6\packages

    > pdksetupenv.bat

    > pdkProjectCreate.bat OMAPL138 all little uart all dsp

  • Hi,Sahin,

    Thank you very much for your reply.

    I'm sure I have  installed the SDK in CCS.

    I close the CCS, and then run the following commands in a terminal window:

    > cd C:\ti\pdk_omapl138_1_0_6\packages

    > pdksetupenv.bat

    > pdkProjectCreate.bat OMAPL138 all little uart all dsp

    And the result shown as below:

    The OS on my PC is Windows 10 (64bit).Is that matter?

    I‘m not sure what's the problem with my computer.I may not be able to solve it in a short time.And we will spend to much time here in community.

    Since CCS and related components are installed on your computer,I would appreciate if you can create all the examples and test projects ,and upload the .zip compressed file.

    Best Regards.

    Shide Lu.

  • Hi Shide,

    I would recommend having only one instance of XDCtools and SYS/BIOS installed in CCS at a time. And the SDK has been validated on Windows 10, so that shouldn't be the problem.

    Looking at your command log, there is nothing that sticks out to me that could be causing this issue. The easiest solution might be to do a clean re-install of the SDK, if that is an option for you.

    I have attached the UART examples to this post as well, for your convenience.

    3716.MyExampleProjects.zip

    I hope this helps. Please let us know if you have any questions.

  • Hi,Sahin,

    Thank you very much.

    I have  Re-installed the CCS.And now  having only one instance of XDCtools and SYS/BIOS installed in CCS.

    However, the problem remains the same.I don't want to try again.I may not be able to solve the problem.All I need is just the examples.

    Could you upload all the examples for omapl138,please? NOT only the UART examples.Because I may use any peripheral in my product development.

    BR.

    Shide Lu.

  • Hi Shide,

    I am sorry you are still running into issues. I have attached all of the example projects for OMAP-L138 below. I hope these get you going.

    OMAPL138_Example_Projects_5.1.zip