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.
Part Number: AM3359
I am trying to build and execute the HSR protocol example project on the AM3359 ICE development board.
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).
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' failedjs: "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.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
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
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.
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.
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
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.