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.

AM437x Industrial Development Kit

Other Parts Discussed in Thread: TMDSIDK437X, SYSBIOS

Is there an up to date getting started guide for this product? I can't seem to locate one. What software do I need for it? A sticker on the side of the box gives TMDSIDK437X as an apparent part number. There's a paper "Quick Start Guide" inside the box, but the information appears to be out of date. It says to visit [www.ti.com/sitara_twincat] for more information, but there's nothing there. I was able to download and install the twincat software from Beckhoff, but it appears different than what's in the paper guide.


Is there some kind of tutorial? And example project? Do I need code composer studio as well?

  • Hi,

    This is the AM437x IDK product page: www.ti.com/.../tmdsidk437x You will find links to different information there.
    This is the hardware use guide: processors.wiki.ti.com/.../AM437x_IDK_EVM_HW_User_Guide
    For industrial applications this is the Industrial SDK you probably need: downloads.ti.com/.../index_FDS.html
  • Hello Biser,

    I have those guides and I've installed CCS6 and the sysbios_ind_sdk_2.1.1.2

    What I'd like to do is get a motor control example up and running on one of the PRU units of the part. In particular an FOC (field oriented control) example. I'm not having much luck. I found such an example in one of the directories and tried to import it, but it wouldn't build.

    Then I tried to access examples directly through the CCS6 interface, but there are more problems there, plus I don't see a motor control example. I'm going through a window called "TI Resource Explorer". Thre's a tree in the left panel with major categories as follows:

    MSP430war
    SYS/BIOS
    System Analyzer (UIA Target)

    Under the latter two I see an entry for AM473x - Cortex A8

    Opening that up I see some examples. Both have a sub directory called IDK_437X, and under there Cortex A and Cortex M


    Why are there no ARM9 examples?
    I see a "Hello" example buried in there but no motor control examples. Why?

    When I try to use the "TI Resource Explorer" to import the project I get an error that says:

    RTSC Configuration Settings

    "None of the currently selected products supplies value for the Target. Please specify the Target manually, or try using a pre-3.30 version of the XDCtools"

    I'm having no luck finding a set of instructions that can get me to my goal of getting any example, let alone an FOC motor control example up and running. Can you help me?

    Thanks
  • Hello Biser,

    I found a "motor_control" example which includes an "foc" subdirectory in my C:\ti\ subfolders, and I was able to import that as a project using CCS6. Here are the results of attempting to build it:


    **** Clean-only build of configuration am437x_debug for project motor_control ****

    "C:\\ti\\ccs613\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F "motor_control.out" "configPkg\linker.cmd" "configPkg\compiler.opt" "motor_control.hex"
    RMDIR /S/Q "configPkg\"
    DEL /F "main.d" "driver_endat\endat_drv.d" "driver_sddf\sddf.d" "foc\adc.d" "foc\foc.d" "foc\foc_pwm.d"
    DEL /F "main.o" "driver_endat\endat_drv.o" "driver_sddf\sddf.o" "foc\adc.o" "foc\foc.o" "foc\foc_pwm.o"
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\motor_control.out
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\configPkg\linker.cmd
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\motor_control.hex
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\main.d
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\driver_endat\endat_drv.d
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\driver_sddf\sddf.d
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\foc\adc.d
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\main.o
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\driver_endat\endat_drv.o
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\driver_sddf\sddf.o
    Could Not Find C:\_TI_projects\ccs6\pru_foc\motor_control\am437x_debug\foc\adc.o
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration am437x_debug for project motor_control ****

    "C:\\ti\\ccs613\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/ccs613/xdctools_3_31_03_43_core/xs" --xdcpath="C:/ti/bios_6_35_01_29/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r debug -c "C:/ti/ccs613/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3" "../app.cfg"
    subdir_rules.mk:7: recipe for target 'configPkg/linker.cmd' failed
    js: "C:/ti/ccs613/xdctools_3_31_03_43_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.evmAM437X'. TI platforms are no longer shipped as part of XDCtools (C:\ti\ccs613\xdctools_3_31_03_43_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/bios_6_35_01_29/packages;C:\ti\ccs613\xdctools_3_31_03_43_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


    What do I need to do to correct this problem? A red x appears on the am437x_debug directory in the left hand tree when I try the above.
  • I have notified the ISDK team. They will respond here.
  • Hi Brad,

    Each version of he SYSBIOS Industrial SDK as specific requirement for the correct version of CCS SYSBIOS, XDC tools and

    These are described in the User Guide and the Getting stated Guide. The most current version of these documents is on line at:

    http://downloads.ti.com/sitara_indus/esd/SYSBIOSSDK-IND-SITARA/latest/index_FDS.html

    • Code Composer Studio version CCS 6.1.1.00022
    • Industrial SDK version 2.1.1
    • SYS/BIOS 6.42.2.29 Real Time Operating System
    • XDC Tool 3.31.2.38_core
    • NDK 2.24.3.35
    • Compiler GNU v4.8.4 (Linaro)

    Other versions are not guaranteed to work. I have used CCS Version: 6.1.2.00015 without difficulty - but it is best to follow the guidelines.

    Different versions of CCS can be downloaded at: http://processors.wiki.ti.com/index.php/Download_CCS 

    Sysbios can be downloaded from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/index.html

    XDCTools can be downloaded from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/

    NDK can be downloaded at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/

    Verify that you have IA_SDK_HOME defined as a system  environment variable as (for the default install location)  C:\ti\sysbios_ind_sdk_2.1.1.2\sdk

    Are you importing the motor control example (using the default install) at C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\examples\motor_control? 

    There is a description of this project in the user guide. The getting started guide has some good suggestions for building project.

    The project should build without any issues.

    David

    David