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.

Starterware/AM4378: AM437x SK example projects

Part Number: AM4378

Tool/software: Starterware

Hello.

I am starting winth AM437X SK.

Is there any place where I can download or find example projects for  AM437xSK?

Thanks.

  • Dionisio,

    Please take a look at the AM437x RTOS package at software-dl.ti.com/.../index_FDS.html If you rebuild the PDK accorsing to these instructions processors.wiki.ti.com/.../Rebuilding_The_PDK it will create SK examples at C:\ti\pdk_am437x_1_0_5\packages\MyExampleProjects

    Lali
  • Hello.
    Thanks for the information.
    I am not able to build the content. I have executed pdksetupenv.bat, and then gmake clean. After that, when I execute gmake all I obtain an error:
    Could you please tell me what is the problem?
    Thankyou in advance.

    C:\ti\PDK_AM~1\packages>gmake all
    gmake -C ./ti/csl all
    gmake[1]: Entering directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake libcores SOC=am437x
    gmake[2]: Entering directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake lib_allendians CORE=a9host BUILD_PROFILE_a9host=release
    gmake[3]: Entering directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake comp_libs ENDIAN=little
    gmake[4]: Entering directory `C:/ti/PDK_AM~1/packages/ti/csl'
    Nothing to be done for am437x csl_init
    Nothing to be done for am437x csl_intc
    gmake -C /ti/PDK_AM~1/packages//ti/csl -fmakefile.mk
    gmake[5]: Entering directory `C:/ti/PDK_AM~1/packages/ti/csl'
    # Compiling am437x:a9host:release:csl: src/ip/elm/V0/priv/elm.c
    C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -M
    D -MF /ti/PDK_AM~1/packages//ti/binary/ti/csl/obj/am437x/a9/release/.deps/elm.P
    -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections
    -mlong-calls -fdata-sections -c -mcpu=cortex-a9 -g -mtune=cortex-a9 -march=arm
    v7-a -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2
    -s -DNDEBUG -DSOC_AM437x -IC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-
    2015q3/arm-none-eabi/include -I. -I. -Isrc/ip/elm/V0 -I. -Isrc/ip/gpio/V1 -I. -I
    src/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -I. -Isrc/ip/mcasp/V1 -I. -Isrc/ip/mcspi/V0 -
    I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/
    V1 -I/ti/PDK_AM~1/packages/ -I/ti/PDK_AM~1/packages//ti/csl -I/ti/PDK_AM~1/packa
    ges//ti/csl -I/apps/apps_nonbam/inc -I/ -I/common -o /ti/PDK_AM~1/packages//ti/
    binary/ti/csl/obj/am437x/a9/release/elm.oa9fg src/ip/elm/V0/priv/elm.c
    process_begin: CreateProcess(NULL, C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-
    4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF /ti/PDK_AM~1/packages//ti/binary/ti/csl
    /obj/am437x/a9/release/.deps/elm.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -W
    unknown-pragmas -ffunction-sections -mlong-calls -fdata-sections -c -mcpu=cortex
    -a9 -g -mtune=cortex-a9 -march=armv7-a -mfpu=neon -mfloat-abi=hard -mabi=aapcs -
    mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DSOC_AM437x -IC:/ti/ccsv6/tools/c
    ompiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I. -Isrc/ip/elm/
    V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -I. -Isrc/ip/mc
    asp/V1 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/qspi/V1 -I. -Isrc/
    ip/timer/V1 -I. -Isrc/ip/uart/V1 -I/ti/PDK_AM~1/packages/ -I/ti/PDK_AM~1/package
    s//ti/csl -I/ti/PDK_AM~1/packages//ti/csl -I/apps/apps_nonbam/inc -I/ -I/common
    -o /ti/PDK_AM~1/packages//ti/binary/ti/csl/obj/am437x/a9/release/elm.oa9fg src/i
    p/elm/V0/priv/elm.c, ...) failed.
    make (e=2): El sistema no puede encontrar el archivo especificado.
    gmake[5]: *** [/ti/PDK_AM~1/packages//ti/binary/ti/csl/obj/am437x/a9/release/elm
    .oa9fg] Error 2
    gmake[5]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake[4]: *** [csl] Error 2
    gmake[4]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake[3]: *** [little_lib] Error 2
    gmake[3]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake[2]: *** [a9host_lib] Error 2
    gmake[2]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake[1]: *** [am437x_lib] Error 2
    gmake[1]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/csl'
    gmake: *** [csl] Error 2

    C:\ti\PDK_AM~1\packages>
  • Dionisio,

    Please ensure that in pdksetupenv.bat, the CCS path is defined correctly. The assumption is that CCS is installed at    

    set TOOLS_INSTALL_PATH=C:/ti

    Also, are the new packages registered with CCS? (Window>preferences>Code Composer Studio>RTSC>Products). If registered with CCS, you will see the products in installed products

    From processors.wiki.ti.com/.../Rebuilding_The_PDK

    • Ensure all dependent/prerequisite products are installed and registered with CCS before proceeding with the examples and/or unit test. Starting CCS after installing the Processor SDK products will cause CCS to find and register any new products. Errors will occur during PDK project creation if any dependent products have not been registered with CCS.

    Lali

  • Hello.

    Thnaks for the answer. I still have the same problem. CCS is installed in c:\ti\ directory, and also the rest of the components: NDK 2.25.0.09, SYS/BIOS 6.46.2.47, XDCtools 3.32.1.22, arm437x PDK 1.0.5. I have checked that theese components are also registered in CCS. I have the same problem in windows 7 x64 ans windows 10 x64.

    Any idea what the problem is?

    Thankyou.

  • Sorry, again. I have noticed also that when I execute gmake clean command I obtain another errors at the end:
    gmake[5]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/drv/spi'
    gmake[4]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/drv/spi'
    gmake[3]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/drv/spi'
    gmake[2]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/drv/spi'
    gmake[1]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/drv/spi'
    gmake -C ./ti/starterware clean PLATFORM=am43xx-evm KW_BUILD=no
    gmake[1]: Entering directory `C:/ti/PDK_AM~1/packages/ti/starterware'
    gmake -C C:/ti/PDK_AM~1/packages/ti/starterware/dal clean
    gmake[2]: Entering directory `C:/ti/PDK_AM~1/packages/ti/starterware/dal'
    C:/ti/ccsv6/utils/cygwin/rm -f C:/ti/PDK_AM~1/packages/ti/starterware/binary/dal/obj/am43xx-evm/a9/debug/gcc/* C:/ti/PDK_AM~1/packages/ti/starterware/binary/dal/obj/am43xx-evm/a9/debug/gcc/.deps/* C:/ti/PDK_AM~1/packages/ti/starterware/binary/dal/lib/am43xx-evm/a9/debug/gcc/*
    C:/ti/ccsv6/utils/cygwin/rm: not found
    gmake[2]: *** [clean] Error 127
    gmake[2]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/starterware/dal'
    gmake[1]: *** [dal_clean] Error 2
    gmake[1]: Leaving directory `C:/ti/PDK_AM~1/packages/ti/starterware'
    gmake: *** [starterware_clean] Error 2

    C:\ti\PDK_AM~1\packages>
  • Hello.
    Solved. I updated the compiler in CCS and problem is solved.
    Thanks.