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.

CCS6 on AM437x series

Other Parts Discussed in Thread: SYSBIOS, AM4379

Hi ,

we are using AM437x evaluation board on CCS6 and also installed the sysbios_ind_sdk_win32setup_02_01_00_01 .

We are planning to add a new program from scratch which will toggle some GPIO pins.

for this what are the header files need to be added and where are those located?

 

is there a single file for AM437x which contains all the memory mappings?

 

 

  • Hi,

    I will ask the Industrial team to help on this.
  • Hi

    A good place to get  started on the AM437x ISDK EVM when using SYSBIOS is the  example utilities project in  $[IA_SDK_HOME}/examples/example_utils.

    David

  • Hello

    To answer your second question, the best location to get device register address information is the device technical manual.

    This is available on the device product techncal documents page - for the AM4379 this is: http://www.ti.com/product/AM4379/technicaldocuments .

    David Zaucha

  • Hi David,

    Thanks for the reply.

    Is there any single include file which contains these memory mapping(AM437x register address)?

    The examples provided in starterware are dependent project..

    So if we need to create a project from scratch, what are the minimum header files required ??assume that the project reuiqred only to toggle an LED.

    I can see that in the following path , ..\sysbios_ind_sdk_2.1.0.1\sdk\starterware\include, there are header files which includes the information about different pheriphers.

  • Jinu

    To support various devices and boards plus provide modular packaging of the abstraction layer, tools and utilities the SDK starterware examples draw upon several API and include files.
    The starterware user guide gives an overview of the starterware software architecture.
    The location for this document is {IA_SDK_HOME}\starterware\docs.

    As an example, the starterware gpio_app_led_blink example project in {IA_SDK_HOME}\starterware\examples\gpio\led_blink draws upon six dependent projects.
    These must be imported into the workspace when building the gpio_app_led_blink project.
    These are:
    board
    dal
    device
    example_utils
    soc
    utils

    David
  • Hi David,

    Thanks for the reply.

    To create a new project based on SysBios, i included the following header files in include path.

     

     

    But when i try to compile the project, i am getting the following error,

     

    i think its a problem with linker . i tried to add the path in linker as shown below. but still its not working

     

     

    Can you please help on this?

  • Hi Jinu

    The error is occurring during the link phase. This can be resolved by importing the board, dal, device, example_utils, soc, and utils Starterware projects in the workspace. These projects are built along with the gpio_app_led_blink project.

    David

  • Hi David,

    i was able to run the example Programs.

    But my concern is that I want to make an independent project not the example code.

    I created a new project in that i copied the GPIO toggling program(main.c file). 

    I also opened the board, dal, device, example_utils, soc, and utils Starterware projects in the workspace.

    But still getting the above mentioned error  like "undefined reference".

  • Hi David,

    To create a base project for AM437x , what are the steps to be followed?
    i tried to create a project as follows.
    using New->CCS project option, we created a project based on AM437x.
    i added gpio_app.c file from example project to this newly created project.
    Tfollowing include paths are added .
    C:\ti\sysbios_ind_sdk_2.1.0.1\sdk\starterware\include
    C:\ti\sysbios_ind_sdk_2.1.0.1\sdk\starterware\include\hw
    C:\ti\sysbios_ind_sdk_2.1.0.1\sdk\starterware\include\utils
    C:\ti\sysbios_ind_sdk_2.1.0.1\sdk\starterware\include
    C:\ti\sysbios_ind_sdk_2.1.0.1\sdk\starterware\examples\example_utils.


    Now if i want to toggle an LED pin using this , what all are the files need to be added?
    How can we link files in starterware dal folder(.c files) to this project?