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.

AM3358: RTOS project creation

Part Number: AM3358

I execute pdksetupenv.bat then pdkProjectCreate.bat, can't create project in processor_sdk_rtos_am335x_4_03_00_05, error as below snapshot, what is the product-type ID?

  • The RTOS team have been notified. They will respond here.
  • Hi Tony,

    The pdkprojectcreate.bat file requires build parameters in order to execute.

    Please open pdkprojectcreate.bat in a text editor and see the applicable build flags on the readme at the very top of the file.

    In your case, try: pdkprojectcreate.bat AM335x all little all all arm

    Please see this quick video on how to get the examples built

    https://training.ti.com/processor-sdk-device-drivers-setup-test

    Please pay close attention to the step on registering your components with CCS prior to executing the build script. You will get build errors if your packages aren't registered with CCS.

    Hope this helps.

    Lali

  • Lali,

    Thanks.

    #1.  pdkprojectcreate.bat AM335x all little all all arm equal to  pdkprojectcreate.bat as on on the readme at the top of the file. and the same result.


     

    #2. I watched the training video, it is very clear, and I was doing according to it. but it does not work on my side.

    i#3. Your video is not based on the latest RTOS SDK. did you tried it on the latest Processor RTOS SDK? it is OK on my computer on old AM57xx RTOS SDK also.. but now can't do it with ti-processor-sdk-rtos-am57xx-evm-04.02.00.09-Windows-x86-Install.exe and  ti-processor-sdk-rtos-am335x-evm-04.03.00.05-Windows-x86-Install.exe.

  • Tony,
    Did you register your PDK with CCS?
    window>preferences>Code composer studio>products>Rediscover

    Ensure you have the PDK registered with CCS, and then try re-running the script.

    Lali
  • Lali,

    Yes, it is registered.

    BTW, I think the register don't relate to project creation, it should only related to project building.

    Did you tried with the latest SDK4.xx? can it work your side?

  • Tony,

    Yes, it works on my end.

    Something's not correct in your environment. Do you have CCS installed in the default C:ti location?

    Lali

  • Lali,

    I installed everything under default folder c:/ti, what is the ERROR: Unknown product-type ID 'com.ti.pdk.am335x'

  • Tony,

    Your setup appears to be messed up. Here are the issue that I currently observed. You are running pdkProjectCreate script from pdk_am335x_1_0_10 but the PDK version in your CCS component discovery is PDK 1.0.9. The issue most likely is occurring because pdk_am335x_1_0_10 is not discovered in CCS and because the pdkProjectCreate is forcing that version for creation of the project.

    You can try to run Rediscover along that path and see if the pdk_am335x_1_0_10 is detected. Or try to uninstall pdk_am335x_1_0_9 from the CCS Product discovery (doesn`t uninstall from filesystem) and try to discover 1.0.10 version in the CCS before you try to run this script again.

    Another tip is when installing different versions of Processor SDK RTOS for different devices, we recommend that users install the SDK in separate folder as indicated here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_FAQ

    The only addtional step to then run is "set SDK_INSTALL_PATH = <Custom path>" before you run setupenv.bat.

    Hope this helps resolve your issue.

    Regards,
    Rahul
  • Lalindra Jayatilleke said:
    Did you register your PDK with CCS?
    window>preferences>Code composer studio>products>Rediscover

    Ensure you have the PDK registered with CCS, and then try re-running the script.

    Finally, I found it need to register all packages with right version in CCS other than PDK, such as NDK, EDMA, IPC, etc...

    Now it can generate projects on my computer now.