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.

  • TI Thinks Resolved

RTOS/AM3359: Missing platform package 'ti.platforms.evmAM3359'

Intellectual 390 points

Replies: 12

Views: 431

Part Number: AM3359

Tool/software: TI-RTOS

I am trying to build and execute the HSR protocol example project on the AM3359 ICE development board.

  • I have downloaded and installed the latest PROCESSOR-SDK-RTOS-AM335X (v05.03) and PRU-ICSS Industrial Software for Sitar Processors (v1.00.04).
  • I have generated the example projects in the PRU-ICSS Industrial Software for Sitar Processors package targeting the AM335x.
  • I have loaded the hsr_app_AM335x_arm project into CCSv8.

When I try to build the hsr_app_AM335x_arm project, it fails; claiming it " Can't find the platform package 'ti.platforms.evmAM3359' ". I've tried refactoring the project to the latest compiler and product versions, but still see the same error.

Where can I find/acquire this 'ti.platforms.evmAM3359' platform package and how do I install/add a project path in the project to allow it to be found/used? It seems archaic to have to revert to a pre-3.30 (2014) release of XDCtools to build an example from the latest SDK releases (per the suggestion in the error message generated by the compiler; shown below).

Best regards,

- Chris

Full error message:

Building file: "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/am335x_app.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath= xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r release -c "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.04.02/examples/hsr_prp/am335x_app.cfg"
subdir_rules.mk:12: recipe for target 'build-1111334305-inproc' failed
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.evmAM3359'.  TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_51_01_18_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path ';C:\ti\xdctools_3_51_01_18_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.

  • Chris,

    Please try to stick with the PRSDK 4.3 for HSR as described in the release note - processors.wiki.ti.com/index.php

    Regards,
    Garrett
  • In reply to Garrett Ding:

    Attempts to create the example projects in PRU-ICSS-HSR-PRP-DAN_01.00.04.02 using AM335x PRSDK v4.3 fail.

    Per the comments in the projectCreate.bat file distributed with PRU-ICSS-HSR-PRP-DAN_01.00.04.02:

    ::File_Name     :     projectCreate.bat
    ::Description   :     This batch file can create CCS projects based on the project settings specified in the project create options files.
    ::Date          :     19-Oct-2016
    ::File_Version  :    2.0.1 - Created initial version for generating PRU-ICSS-HSR-PRP-DAN package example projects.
    ::              :   2.0.2 - Added PROCESSOR Argument support

    ::Usage Syntax:
    ::      projectCreate.bat [SOC] [PROCESSOR] [PROJECT_NAME]
    ::
    ::      [SOC] Valid values are AM572x, AM571x, AM57xx, AM335x, AM437x, K2G, AMIC11x
    ::      [PROCESSOR] Valid values are arm
    ::      [PROJECT_NAME] Valid values are hsr_app, prp_app, hsr_lib, prp_lib, timeSync_lib, snmp_core_stack
    ::
    ::Usage example 1:
    ::      projectCreate.bat AM572x arm hsr_app
    ::          -Creates hsr_app application project for AM572x ARM core
    ::
    ::Usage example 2:
    ::      projectCreate.bat AM57xx arm snmp_core_stack
    ::          -Creates snmp_core_stack library project which can be used for both AM571x and AM572x platforms ARM core
    ::

    Yet this fails in practice:

    This follows a fresh install of both the PRU-ICSS-HSR-PRP-DAN_01.00.04.02 and AM335x PRSDK v4.3 packages with no modifications made to the projectCreate.bat file.

    Please provide instructions on how to create the example projects for the AM335x from the PRU-ICSS-HSR-PRP-DAN_01.00.04.02 package?

  • In reply to Chrisbo:

    The image I tried to insert in my previous message was dropped. The image below shows the projectCreate batch file failure

  • In reply to Chrisbo:

    Chris,

    Did you have 'Sitara AMx Processors' support selected when you installed CCS?
    Also have you opened CCS to detect and import the new installed Processor SDK?

    The instructions for creating the HSR example is as the UG - processors.wiki.ti.com/.../PRU_ICSS_HSR_PRP

    Btw, ti.platforms.evmAM3359 is from SYS/BIOS.

    Regards,
    Garrett
  • In reply to Garrett Ding:

    If you are still blocked by the compile/build issue, and would like to work with an early release (engineering drop) of HSR/PRP v1.0.5 that is compatible with Processor SDK R5.0.3, just let us know, so we can plan accordingly for the delivery.

    Regards,

    Garrett

  • In reply to Garrett Ding:

    Yes I am still blocked.

    Yes I am willing to try your early release of HSR/PRP v1..0.5

    When do you believe this will become an "official" release? I would like to start this project secure in the knowledge that TI is going to prioritize support of HSR/PRP on the TI-RTOS SDKs.

  • In reply to Chrisbo:

    For the HSR/PRP v1.0.4 issue, have you tried to 'check for update' in CCS help menu as shown in your snapshot? Are you able to create a PDK example project with the script in PDK packages\pdkProjectCreate.bat?

    We are in process to deliver early release of HSR/PRP v1.0.5. We have nightly build for the release to ensure it's compatible with the latest PRSDK, but don't have a definitive date for the official release yet. We don't have plan to publish this in the quarter.

    Regards,
    Garrett
  • In reply to Garrett Ding:

    Ding,

    Please re-read my earlier posts. Yes I was able to create the examples using the latest SDK, they just wouldn;t compile under it. You then sent me off to try this again with PRSDK4.3 which wouldn't even create the example projects. Then you wanted to send me off to rebuild the PDK that ships with PRSDK4.3. And yes... I have applied all updates in CCS.

    The product page for the AM335x prominently indicates it supports all of the PRU-ICSS industrial protocols under Processor SDK. Sending me off to webpages TI no longer maintains to rebuild PDKs to apply patches that were going to be included in "future" SDKs (like the one I started with) does not imply "Software compatible across devices through Processor SDK". I suggest you either expedite getting the PRU-ICSS Industrial Software working with the currently shipping Processor SDK or quit advertising its supposed "compatibility" on the product page. Let me know when you have a version of PRU-ICSS Industrial Software that works under the currently shipping SDK

  • In reply to Chrisbo:

    The PRSDK 4.3 experiment I suggested was intended to rule out any build environment issue.

    I was hoping to provide you an HSR/PRP engineering drop early this week, but it appears there is still a gap between manual build and nightly build process and we are trying to identify it. Once this is sorted out and approved, I will send you the link for downloading.

    Regards,
    Garrett
  • In reply to Garrett Ding:

    Just wanted to let you know that we are in the approval process to pre-release HSR/PRP v1.0.5 now.

    Regards,
    Garrett

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.