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.

PRU-ICSS-INDUSTRIAL-SW: projectCreate.bat 生成EtherCAT例程失败

Part Number: PRU-ICSS-INDUSTRIAL-SW
Other Parts Discussed in Thread: SYSBIOS, AM3359, CCSTUDIO, F28M36H33B2, F28M36H53B2, F28M36P53C2, F28M36P63C2, TMS320F28384D, TMS320F28384S, TMS320F28386D, TMS320F28386S, TMS320F28388D, TMS320F28388S, TMS320F28027, TMS320F28069, TMS320F28035, TMS320F2808, TMS320F28335, TMS320F28044, TMS320F2812, TMS320C2801, TMS320C2802, TMS320C28341, TMS320C28342, TMS320C28343, TMS320C28344, TMS320C28345, TMS320C28346, TMS320F280021, TMS320F280023, TMS320F280023C, TMS320F280025, TMS320F280025C, TMS320F280041, TMS320F280041C, TMS320F280045, TMS320F280049, TMS320F280049C, TMS320F2801, TMS320F28015, TMS320F28016, TMS320F2802, TMS320F28020, TMS320F280200, TMS320F28021, TMS320F28022, TMS320F280220, TMS320F28023, TMS320F280230, TMS320F28026, TMS320F280260, TMS320F280270, TMS320F28030, TMS320F28031, TMS320F28032, TMS320F28033, TMS320F28034, TMS320F28050, TMS320F28051, TMS320F28052, TMS320F28052F, TMS320F28052M, TMS320F28053, TMS320F28054, TMS320F28054F, TMS320F28054M, TMS320F28055, TMS320F2806, TMS320F28062, TMS320F28063, TMS320F28064, TMS320F28065, TMS320F28066, TMS320F28067, TMS320F28075, TMS320F28076, TMS320F2809, TMS320F2810, TMS320F2811, TMS320F28232, TMS320F28234, TMS320F28235, TMS320F28332, TMS320F28333, TMS320F28334, TMS320F28374D, TMS320F28374S, TMS320F28375D, TMS320F28375S, TMS320F28376D, TMS320F28376S, TMS320F28377D, TMS320F28377S, TMS320F28378D, TMS320F28378S, TMS320F28379D, TMS320F28379S, TMS320R2812

你好,对应的EtherCAT例程失败:AM335x arm ethercat_slave_full 对应的失败

C:\ti\processor_sdk_rtos_am335x_6_03_00_106>setupenv.bat
***************************************************
Environment Configuration:
***************************************************
SDK_INSTALL_PATH : C:/ti
PDK_INSTALL_PATH : C:/ti/pdk_am335x_1_0_17/packages
GMAKE_INSTALL_PATH : C:/ti/xdctools_3_55_02_22_core
PDK_SOC : am335x
PDK_VERSION : 1_0_17
RULES_MAKE : C:/ti/pdk_am335x_1_0_17/packages/ti/build/Rules.make
***************************************************
IPC_PLATFORM: UNKNOWN
IPC_ALT_PLATFORM:
PROC_SDK_INSTALL_PATH : C:/ti/processor_sdk_rtos_am335x_6_03_00_106
**************************************************************************
Changing to short name to support directory names containing spaces
current directory: C:/ti/processor_sdk_rtos_am335x_6_03_00_106
PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
**************************************************************************

C:\ti\processor_sdk_rtos_am335x_6_03_00_106>cd C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects

C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects>projectCreate.bat AM335x arm ethercat_slave_full
**************************************************************************
Environment Configuration Summary:
CCS Install Directory : C:\ti\ccs1040\ccs
CCS Workspace Directory : C:\Users\Zarch\ccs_workspace
SDK Install Directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects\..\..\..
PDK Install Directory : C:\ti\pdk_am335x_1_0_17\packages
Projects create Directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects\..\..\..\protocols\ethercat_slave\projects
Project create args directory : C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects\..\..\..\protocols\ethercat_slave\projects\ccsproject_args
SYSBIOS Version : 6.76.03.01
XDC Tools Version : 3.55.02.22
CGT Version : GNU_7.3.1:Linaro
CCS Device : "Cortex A.AM3359"
RTSC Target : gnu.targets.arm.A8F
RTSC Platform : ti.platforms.evmAM3359
**************************************************************************

Creating project 'ethercat_slave_full_AM335x_arm' for 'AM335x' platform in directory 'C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects\..\..\..\protocols\ethercat_slave\projects\ethercat_slave_full_AM335x_arm' by overwriting the project if it exists already...

--------------------------------------------------------------------------------
Creating project 'ethercat_slave_full_AM335x_arm'...


!ERROR: Device cannot be 'null' and must be a valid and supported device.
NOTE: Refer to the following list of available devices (the display-names in square brackets are for reference only):

ISA family: Arm
com.ti.ccstudio.deviceModel.TMS470.CustomTMS470Device [Custom Arm Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM7Device [Generic Arm7 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM9Device [Generic Arm9 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM11Device [Generic Arm11 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA8Device [Generic CortexA8 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA9Device [Generic CortexA9 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA15Device [Generic CortexA15 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexM3Device [Generic CortexM3 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexM4Device [Generic CortexM4 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexR4Device [Generic CortexR4 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexR5Device [Generic CortexR5 Device]
Cortex M.F28M35E20B1 [F28M35E20B1]
Cortex M.F28M35H22C1 [F28M35H22C1]
Cortex M.F28M35H52C1 [F28M35H52C1]
Cortex M.F28M35M20B1 [F28M35M20B1]
Cortex M.F28M35M22C1 [F28M35M22C1]
Cortex M.F28M35M52C1 [F28M35M52C1]
Cortex M.F28M36H33B2 [F28M36H33B2]
Cortex M.F28M36H33C2 [F28M36H33C2]
Cortex M.F28M36H53B2 [F28M36H53B2]
Cortex M.F28M36H53C2 [F28M36H53C2]
Cortex M.F28M36P53C2 [F28M36P53C2]
Cortex M.F28M36P63C2 [F28M36P63C2]
Cortex M.TMS320F28384D [TMS320F28384D]
Cortex M.TMS320F28384S [TMS320F28384S]
Cortex M.TMS320F28386D [TMS320F28386D]
Cortex M.TMS320F28386S [TMS320F28386S]
Cortex M.TMS320F28388D [TMS320F28388D]
Cortex M.TMS320F28388S [TMS320F28388S]

ISA family: C2000
com.ti.ccstudio.deviceModel.C2000.CustomC2000Device [Custom C2000 Device]
com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice [Generic C28xx Device]
TMS320C28XX.TMS320F28027.CONTROLSTICKF28027 [controlSTICK - Piccolo F28027]
TMS320C28XX.TMS320F28069.CONTROLSTICKF28069 [controlSTICK - Piccolo F28069]
TMS320C28XX.TMS320F28035.DEVKITDMOTCTLPFC28035 [Developer's Kit - Dual Motor Control and PFC (F28035)]
TMS320C28XX.TMS320F28035.DEVKITMOTCTLPFC28035 [Developer's Kit - Motor Control and PFC (F28035)]
TMS320C28XX.TMS320F2808.DEVKITRESDCDCF2808 [Developer's Kit - Resonant DC/DC (F2808)]
TMS320C28XX.TMS320F28335.EXPKITF28335 [Experimenter's Kit - Delfino F28335]
TMS320C28XX.TMS320F2808.EXPKITF2808 [Experimenter's Kit - F2808]
TMS320C28XX.TMS320F28027.EXPKITF28027 [Experimenter's Kit - Piccolo F28027]
TMS320C28XX.TMS320F28035.EXPKITF28035 [Experimenter's Kit - Piccolo F28035]
TMS320C28XX.TMS320F28069.EXPKITF28069 [Experimenter's Kit - Piccolo F28069]
TMS320C28XX.TMS320F28044.EZDSPF28044 [EZDSPF28044]
TMS320C28XX.TMS320F2808.EZDSPF2808 [EZDSPF2808]
TMS320C28XX.TMS320F2812.EZDSPF2812 [EZDSPF2812]
TMS320C28XX.TMS320F28335.EZDSPF28335 [EZDSPF28335]
TMS320C28XX.F28M35E20B1 [F28M35E20B1]
TMS320C28XX.F28M35H22C1 [F28M35H22C1]
TMS320C28XX.F28M35H52C1 [F28M35H52C1]
TMS320C28XX.F28M35M20B1 [F28M35M20B1]
TMS320C28XX.F28M35M22C1 [F28M35M22C1]
TMS320C28XX.F28M35M52C1 [F28M35M52C1]
TMS320C28XX.F28M36H33B2 [F28M36H33B2]
TMS320C28XX.F28M36H33C2 [F28M36H33C2]
TMS320C28XX.F28M36H53B2 [F28M36H53B2]
TMS320C28XX.F28M36H53C2 [F28M36H53C2]
TMS320C28XX.F28M36P53C2 [F28M36P53C2]
TMS320C28XX.F28M36P63C2 [F28M36P63C2]
TMS320C28XX.TMS320C2801 [TMS320C2801]
TMS320C28XX.TMS320C2802 [TMS320C2802]
TMS320C28XX.TMS320C2810 [TMS320C2810]
TMS320C28XX.TMS320C2811 [TMS320C2811]
TMS320C28XX.TMS320C2812 [TMS320C2812]
TMS320C28XX.TMS320C28341 [TMS320C28341]
TMS320C28XX.TMS320C28342 [TMS320C28342]
TMS320C28XX.TMS320C28343 [TMS320C28343]
TMS320C28XX.TMS320C28344 [TMS320C28344]
TMS320C28XX.TMS320C28345 [TMS320C28345]
TMS320C28XX.TMS320C28346 [TMS320C28346]
TMS320C28XX.TMS320F280021 [TMS320F280021]
TMS320C28XX.TMS320F280022 [TMS320F280022]
TMS320C28XX.TMS320F280023 [TMS320F280023]
TMS320C28XX.TMS320F280023C [TMS320F280023C]
TMS320C28XX.TMS320F280024 [TMS320F280024]
TMS320C28XX.TMS320F280024C [TMS320F280024C]
TMS320C28XX.TMS320F280025 [TMS320F280025]
TMS320C28XX.TMS320F280025C [TMS320F280025C]
TMS320C28XX.TMS320F280040 [TMS320F280040]
TMS320C28XX.TMS320F280040C [TMS320F280040C]
TMS320C28XX.TMS320F280041 [TMS320F280041]
TMS320C28XX.TMS320F280041C [TMS320F280041C]
TMS320C28XX.TMS320F280045 [TMS320F280045]
TMS320C28XX.TMS320F280048 [TMS320F280048]
TMS320C28XX.TMS320F280048C [TMS320F280048C]
TMS320C28XX.TMS320F280049 [TMS320F280049]
TMS320C28XX.TMS320F280049C [TMS320F280049C]
TMS320C28XX.TMS320F280049M [TMS320F280049M]
TMS320C28XX.TMS320F2801 [TMS320F2801]
TMS320C28XX.TMS320F28015 [TMS320F28015]
TMS320C28XX.TMS320F28016 [TMS320F28016]
TMS320C28XX.TMS320F2802 [TMS320F2802]
TMS320C28XX.TMS320F28020 [TMS320F28020]
TMS320C28XX.TMS320F280200 [TMS320F280200]
TMS320C28XX.TMS320F28021 [TMS320F28021]
TMS320C28XX.TMS320F28022 [TMS320F28022]
TMS320C28XX.TMS320F280220 [TMS320F280220]
TMS320C28XX.TMS320F28023 [TMS320F28023]
TMS320C28XX.TMS320F280230 [TMS320F280230]
TMS320C28XX.TMS320F28026 [TMS320F28026]
TMS320C28XX.TMS320F280260 [TMS320F280260]
TMS320C28XX.TMS320F28027 [TMS320F28027]
TMS320C28XX.TMS320F280270 [TMS320F280270]
TMS320C28XX.TMS320F28030 [TMS320F28030]
TMS320C28XX.TMS320F28031 [TMS320F28031]
TMS320C28XX.TMS320F28032 [TMS320F28032]
TMS320C28XX.TMS320F28033 [TMS320F28033]
TMS320C28XX.TMS320F28034 [TMS320F28034]
TMS320C28XX.TMS320F28035 [TMS320F28035]
TMS320C28XX.TMS320F28044 [TMS320F28044]
TMS320C28XX.TMS320F28050 [TMS320F28050]
TMS320C28XX.TMS320F28051 [TMS320F28051]
TMS320C28XX.TMS320F28052 [TMS320F28052]
TMS320C28XX.TMS320F28052F [TMS320F28052F]
TMS320C28XX.TMS320F28052M [TMS320F28052M]
TMS320C28XX.TMS320F28053 [TMS320F28053]
TMS320C28XX.TMS320F28054 [TMS320F28054]
TMS320C28XX.TMS320F28054F [TMS320F28054F]
TMS320C28XX.TMS320F28054M [TMS320F28054M]
TMS320C28XX.TMS320F28055 [TMS320F28055]
TMS320C28XX.TMS320F2806 [TMS320F2806]
TMS320C28XX.TMS320F28062 [TMS320F28062]
TMS320C28XX.TMS320F28063 [TMS320F28063]
TMS320C28XX.TMS320F28064 [TMS320F28064]
TMS320C28XX.TMS320F28065 [TMS320F28065]
TMS320C28XX.TMS320F28066 [TMS320F28066]
TMS320C28XX.TMS320F28067 [TMS320F28067]
TMS320C28XX.TMS320F28068 [TMS320F28068]
TMS320C28XX.TMS320F28069 [TMS320F28069]
TMS320C28XX.TMS320F28074 [TMS320F28074]
TMS320C28XX.TMS320F28075 [TMS320F28075]
TMS320C28XX.TMS320F28076 [TMS320F28076]
TMS320C28XX.TMS320F28079 [TMS320F28079]
TMS320C28XX.TMS320F2808 [TMS320F2808]
TMS320C28XX.TMS320F2809 [TMS320F2809]
TMS320C28XX.TMS320F2810 [TMS320F2810]
TMS320C28XX.TMS320F2811 [TMS320F2811]
TMS320C28XX.TMS320F2812 [TMS320F2812]
TMS320C28XX.TMS320F28232 [TMS320F28232]
TMS320C28XX.TMS320F28234 [TMS320F28234]
TMS320C28XX.TMS320F28235 [TMS320F28235]
TMS320C28XX.TMS320F28332 [TMS320F28332]
TMS320C28XX.TMS320F28333 [TMS320F28333]
TMS320C28XX.TMS320F28334 [TMS320F28334]
TMS320C28XX.TMS320F28335 [TMS320F28335]
TMS320C28XX.TMS320F28374D [TMS320F28374D]
TMS320C28XX.TMS320F28374S [TMS320F28374S]
TMS320C28XX.TMS320F28375D [TMS320F28375D]
TMS320C28XX.TMS320F28375S [TMS320F28375S]
TMS320C28XX.TMS320F28376D [TMS320F28376D]
TMS320C28XX.TMS320F28376S [TMS320F28376S]
TMS320C28XX.TMS320F28377D [TMS320F28377D]
TMS320C28XX.TMS320F28377S [TMS320F28377S]
TMS320C28XX.TMS320F28378D [TMS320F28378D]
TMS320C28XX.TMS320F28378S [TMS320F28378S]
TMS320C28XX.TMS320F28379D [TMS320F28379D]
TMS320C28XX.TMS320F28379S [TMS320F28379S]
TMS320C28XX.TMS320F2837HD [TMS320F2837HD]
TMS320C28XX.TMS320F28384D [TMS320F28384D]
TMS320C28XX.TMS320F28384S [TMS320F28384S]
TMS320C28XX.TMS320F28386D [TMS320F28386D]
TMS320C28XX.TMS320F28386S [TMS320F28386S]
TMS320C28XX.TMS320F28388D [TMS320F28388D]
TMS320C28XX.TMS320F28388S [TMS320F28388S]
TMS320C28XX.TMS320F28PLC83 [TMS320F28PLC83]
TMS320C28XX.TMS320F28PLC84 [TMS320F28PLC84]
TMS320C28XX.TMS320F28PLC85 [TMS320F28PLC85]
TMS320C28XX.TMS320F28PLC90D [TMS320F28PLC90D]
TMS320C28XX.TMS320F28PLC93 [TMS320F28PLC93]
TMS320C28XX.TMS320F28PLC95 [TMS320F28PLC95]
TMS320C28XX.TMS320R2810 [TMS320R2810]
TMS320C28XX.TMS320R2812 [TMS320R2812]

ISA family: C7000
com.ti.ccstudio.deviceModel.C7000.CustomC7000Device [Custom C7000 Device]
com.ti.ccstudio.deviceModel.C7000.GenericC71xxDevice [Generic C71xx Device]


C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects>

  • 看一下手册2.1.6章节。

    修改 [INSTALL-DIR]/protocols/<protocol name>/projects/projectCreate.bat or .sh 中的环境变量,我看你贴出来的步骤是修改的processor_sdk_rtos中的内容。

    software-dl.ti.com/.../PRU_ICSS_EtherCAT.html

  • 没有特别明白,是在C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\protocols\ethercat_slave\projects>projectCreate.bat AM335x arm ethercat_slave_full

    这样一个执行,下面报错是

    Creating project 'ethercat_slave_full_AM335x_arm'...


    !ERROR: Device cannot be 'null' and must be a valid and supported device.
    NOTE: Refer to the following list of available devices (the display-names in square brackets are for reference only):

    对应的ISA中没有对应的AM335 decice 

    是这个意思么?

  • !ERROR: Device cannot be 'null' and must be a valid and supported device.

    这个报错我暂时没有查到,但是对AM335x是支持的,建议先按照指导手册修改吧。