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.

CCS/AM4379: AM437x Industrial Developmment Kit

Part Number: AM4379
Other Parts Discussed in Thread: CODECOMPOSER

Tool/software: Code Composer Studio

Hi,

where can i find the example of running a motor on the AM437x IDK Board ?

For application development, i think i must have an PC running Linux as OS ?

A bit confused about the Linux SDK, Linux-RT SDK, Ti-RTOS SDK......

Thank you !

  • Hi,

    Here is a link to a video describing a motor control demo on the AM437 IDK.

    The development environment depends on the OS used on the processor. When using Linux then you will need a PC that is running Linux as a stand-alone system or a running inside of an emulator like vmware.

    Do you have a specific question about the OS choices? The video above is describing the demo using an RTOS for the system OS.

    Best Regards,

    Schuyler

  • Hi Schuyler,

    i just want to load the project in CCS and have a look at the sources.

  • Hi,

    I will need to check with a colleague on where the sources are in the RTOS SDK, there appear to be two directories. 

    Best Regards,

    Schuyler

  • Hi,

    any news available ?

  • Hi can anybody help me ?

    I just want to load the Project in CodeComposer and want to look at the sources.

    Is it possible to get a step by step installation instructions what packets are necessary ?

    I have an Windows10 PC an also have an Ubuntu running on VirtualBox 20.04.1

    Thank you !

  • I need help, the following things i've already done, but still no sucess

    #1

    - Installing Ubuntu 20.04.1

    - Installing CCS 10 on Ubuntu 20.04.1

    - Installing ti-processor-sdk-linux-am437x-evm-06.03.00.106-Linux-x86-Install.bin

    --> error documentation ./sdk-install.sh not found so using ./setup.sh

    --> Error sdk is only for Version Ubuntu 18.04. LTS and lower

    #2

    - Installing Ubuntu 18.04.

    - Installing CCS 10 on Ubuntu 20.04.1

    - Installing ti-processor-sdk-linux-am437x-evm-06.03.00.106-Linux-x86-Install.bin

    - installing PRU-ICSS-Industrial-Drives-01-00.02.03-Linux-x86-Install.bin

    --> Error no path to CCS V8 found

    what is needed ?

    My Boss want's to make a decision if we can use the AM437X for further developments.

    I want to load the example for MotorControl in CCS and want to look at the sources.

    So what must i do, that anyone can help me ?

    Where is the example for MotorControl ?

    again, please help me ?

  • Hi Peter,

    I'm sorry for the delay in getting back to you. I think you will find this thread very helpful. Please review it in detail for a good overview of our availability and some good resources.

    As to the software, you can find it here.

    https://www.ti.com/tool/PRU-ICSS-INDUSTRIAL-SW

    Please understand that this was released a couple of years ago and will serve as a good reference. For looking at code like you are requesting, it is a great start. To implement it in a product, you should plan to update it or integrate the necessary components into the latest software packages.

    Thank you.

  • Hi RonB,

    is really CodeComposer V8 ccsv8 required to create the Project ?

    File: C:\ti\PRU-ICSS-Industrial_Drives_01.00.02.03\examples\motor_control\projects\projectCreate.bat

    ::Set CCS installation directory path(Mandatory) - The path where folder 'eclipse' is located
    set "CCS_INSTALL_DIR=C:\ti\ccsv8"

    Is it also working for CodeComposer V930 ccsv930 ?

  • Hi RonB,

    here are some more settings

    So i need exactly all these versions of the tools or can i use newer one ?

    ::================================================================================================================================================================================================================================================::
    ::                                                    USER CONFIGURATION SECTION STARTS!
    ::================================================================================================================================================================================================================================================::
    
    ::Set CCS installation directory path(Mandatory) - The path where folder 'eclipse' is located
    set "CCS_INSTALL_DIR=C:\ti\ccsv8"
    
    ::Set the CCS workspace location(Mandatory). Workspace will be created if it doesn't exist!
    set "CCS_WORKSPACE_LOC=%USERPROFILE%\ccs_workspace"
    
    ::Set the IA_SDK_HOME Directory(Mandatory)
    set "IA_SDK_HOME=%cd%\..\..\.."
    
    ::Set PDK Installation directory path(Mandatory for AM437x projects)
    set "AM437x_PDK_INSTALL_PATH=C:\ti\pdk_am437x_1_0_12\packages"
    
    :: Set the folder path where the projects will be created using command line project create method(Mandatory)
    set "PROJECT_CREATE_DIR=%IA_SDK_HOME%\examples\motor_control\projects"
    
    :: Set the folder path where command line project create Options files for are kept(Mandatory)
    set "PROJECT_CREATE_OPTIONS_FILE_DIR=%IA_SDK_HOME%\examples\motor_control\projects\ccsproject_args"
    
    ::Set AM437x PDK Eclipse ID
    set "AM437x_PDK_ECLIPSE_ID=com.ti.pdk.am437x"
    
    ::Set AM437x PDK Version
    set "AM437x_PDK_VERSION=1.0.12"
    
    :: Set XDC Tools Version which is to be used while creating the project
    set "XDC_TOOLS_VERSION=3.50.07.20_core"
    
    :: Set SYSBIOS Version which is to be used while creating the project
    set "SYS_BIOS_VERSION=6.73.00.12"
    
    :: Set EDMA3 Version which is to be used while creating the project
    set "EDMA_VERSION=2.12.05.30"
    

  • Peter,

    As you can see, we put together this reference a couple of years ago. So, yes the tools and software packages and been updating. Your stated goal was to look at the code, which you should be able to do with the package. If you want to recreate it for a product, I would recommend choosing the pieces that you want to move forward and pair those with the appropriate new versions of the software and tools. 

    However, if the software and tools versions that are referenced meet your needs, you are welcome to use them as well, but support from TI will be limited.

    Thank you.

  • Hi RonB,

    one last thing you can tell me...

    i also wanted to create the project file and load it in CodeComposerStudio.

    So the first thing i have to do is install the old tools refereneced in projectCreate.bat.

    After that i can create the 'old' Project file.

    right ???

    The next step is to update every tool, change the projectCreate.bat and check if the project is still working ?

    right ????

    Has any person done this before ?

    cheer and Thank You !

  • Yes, that method is incremental and valid. It may be a bit tedious.

    You could also study the sources and start a new project based on the current tools and adapt the sources this way. 

    I don't know if anyone has successfully ported this demo to the latest tools. I can't think of any reason it should not be possible, but I also have not tested it. 

    Thanks.

  • Ok, thank you RonB !