TI中文支持网
TI专业的中文技术问题搜集分享网站

WIN10操作系统如何配置CCS的环境变量

看了文档PRU ICSS EtherCAT Slave User Guide,里面提到要设置CCS的环境变量,我搜了些资料,配置了在WIN10环境下的环境变量,然后在命令行里根据文档的步骤执行以下命令行

  • Open Command/Shell Prompt and navigate to [INSTALL-DIR]/protocols/<protocol name>/projects
  • Run projectCreate.bat or projectCreate.sh. The batch file takes three mandatory command line arguments (The mandatory arguments are case sensitive!)

Usage format: projectCreate.bat [SOC] [PROCESSOR] [PROJECT_NAME]

  • [SOC]
    • The valid values for first command line argument [SOC] are
      • AM571x – To generate a project specific to AM571x
      • AM572x – To generate a project specific to AM572x
      • AM437x – To generate a project specific to AM437x
      • AM335x – To generate a project specific to AM335x
      • AMIC11x – To generate a project specific to AMIC11x
      • AMIC12x – To generate a project specific to AMIC12x
      • K2G – To generate a project specific to K2G
      • AM65xx – To generate a project specific to AM65xx
  • [PROCESSOR]
    • The valid values for second command line argument [PROCESSOR] are
      • arm – To generate a project specific to ARM core
  • [PROJECT_NAME]
    • The valid values for third command line argument [PROJECT_NAME] to be used with EtherCAT slave installer package
      • ethercat_slave_full – to generate EtherCAT slave full application project
      • ethercat_slave_demo – to generate EtherCAT slave demo application project
      • ecat_ti_esc_spi_master – to generate EtherCAT TI ESC SPI Mode Master application project (supported only for AM572x)
      • ecat_ti_esc_spi_slave – to generate EtherCAT TI ESC SPI Mode Slave (ASIC Mode) application project (supported only for AMIC11x)
      • ethercat_slave_cia402 – to generate Single-Chip Motor-Control application through Standard CiA402 Drive Profile over EtherCAT (supported only for AM437x)

我的板子是K2GICE,配置完毕,命令行显示的是路径错误,尝试了很多次,依然失败

Note

Nancy Wang:

请将具体错误贴出来看看。
同时也要检查一下ccs版本和SDK版本的匹配问题。

user18914063:

回复 Nancy Wang:

 你好,这是我按照文档提示,执行了projectCreate.bat后得到的结果,本来我的是CCS7.4,但怎么老是说我安装路径是C\ti\ccsv8,而我的是安装在F盘的

user18914063:

回复 user18914063:

user18914063:

回复 user18914063:

怎么我截图发不出来啊,奇怪

user18914063:

回复 Nancy Wang:

user18914063:

回复 Nancy Wang:

这个是我的CCS安装路径的设置

Nancy Wang:

回复 user18914063:

直接在cmd命令窗口配置一下看看。
set SDK_INSTALL_PATH =
set TOOLS_INSTALL_PATH =

user18914063:

回复 Nancy Wang:

还是老样子

user18914063:

回复 Nancy Wang:

user18914063:

回复 user18914063:

最奇怪的是,怎么会出来一个CCSV8,我有从来没有安装过CCSV8,去C盘看了,啥都没有

赞(0)
未经允许不得转载:TI中文支持网 » WIN10操作系统如何配置CCS的环境变量
分享到: 更多 (0)