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/TMDXICE110: NIMU ICSS example build errors

Part Number: TMDXICE110
Other Parts Discussed in Thread: SYSBIOS, AMIC110

Tool/software: Code Composer Studio

Hello.

Today I again tried deal with example NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject. It was working. But after I tryed load my another project to FLASH and after I return to NIMU_ICSS_BasicExample, I get errors. When I working with FLASH project, I'm changed some options in CCS and not remember. After maybe, NIMU_ICSS_BasicExample was corrupted. Now I can not restore the correct operation. Removing and re-importing the project from the PDK folder gives the same result. What are the ways to resolve?

For example, NIMU_BasicExample_bbbAM335x_armExampleproject, compiles and works.

  • The RTOS team have been notified. They will respond here.
  • Kiselev,

    >>Removing and re-importing the project from the PDK folder gives the same result

    Do you mean removing from CCS? Have you tried to delete the "Debug" folder (from CCS or PDK folder) then rebuild, or just delete the project and re-create it with the pdkProjectCreate.bat script?

    Regards, Garrett

  • No, I'm not tried delete the "Debug" folder, I'm omly delete the project and re-create it with the pdkProjectCreate.bat

  • What does your NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject\Debug\configPkg\linker.cmd look like?
    Region_alias for REGION_BSS should refer to APP_CACHED_DATA_MEM instead of APP_CODE_MEM shown in your snapshot.

    REGION_ALIAS("REGION_BSS", APP_CACHED_DATA_MEM);

    Have you modified pdk_am335x_1_0_9\packages\ti\build\am335x\config_am335x_a8.bld?

    -Garrett
  • In attached I put two files, that You mentioned. And as far as I remember, I did not change the file config_am335x_a8.bld

    /*
    * Copyright (c) 2016, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    */

    /*
    * ======== config_am335x_a8.bld ========
    * Build configuration script for BSP drivers
    */
    /* load the required modules for the configuration */
    var A8 = xdc.useModule('gnu.targets.arm.A8F');
    /* A8 compiler directory path */
    A8.rootDir = java.lang.System.getenv("CGTOOLS_A8");

    /* Read the current board */
    var CurrentPlatform = java.lang.System.getenv("BOARD");

    if (CurrentPlatform == null)
    {
    /* The env variable is probably not set while running inside CCS */
    CurrentPlatform = java.lang.System.getProperty("BOARD");
    }

    /*add bspLib to support SemiHosting to enable system_printf on A8*/
    /* GCC bare metal targets */
    var gccArmTargets = xdc.loadPackage('gnu.targets.arm');
    gccArmTargets.A8F.bspLib = "rdimon";


    /*
    Memory map

    DDR: 0x80000000 (Ist 512MB - Cached)

    NOTE: APP_CACHED_DATA_BLK1_MEM is used to route sections which needs to be in a
    separate section preferably at the end of 512 MB memory.
    For example:
    Frame buffer memory can be less at runtime depending on boards with lesser DDR (as in TDA 12x12 POP boards).
    If the same is routed to APP_CACHED_DATA_MEM section then the linker will
    place the frame buffer before other data section and the other data will fall into
    region outside the DDR in the board. Hence separate section is used!!

    +-----------------------------+
    | APP_CODE_MEM | 2MB
    +-----------------------------+
    | APP_CACHED_DATA_MEM | 20MB
    +-----------------------------+
    | APP_CACHED_DATA_BLK1_MEM | 244MB
    +-----------------------------+
    | APP_CACHED_DATA_BLK2_MEM | 128MB
    +-----------------------------+
    | NOT USED | Remaining MB
    +-----------------------------+

    DDR: 0xA0000000 (2nd 512MB - Non-Cached)
    +-----------------------------+
    | |
    | APP_UNCACHED_DATA_BLK3_MEM | 2MB
    +-----------------------------+
    | NOT USED | Remaining MB
    +-----------------------------+

    */

    var KB=1024;
    var MB=KB*KB;

    var DDR3_ADDR_0;
    var DDR3_ADDR_1;

    var APP_CODE_ADDR;
    var APP_CODE_SIZE;

    var APP_CACHED_DATA_ADDR;
    var APP_CACHED_DATA_SIZE;

    var APP_UNCACHED_DATA_BLK3_ADDR;
    var APP_UNCACHED_DATA_BLK3_SIZE;

    var APP_CACHED_DATA_BLK1_ADDR;
    var APP_CACHED_DATA_BLK1_SIZE;

    var APP_CACHED_DATA_BLK2_ADDR;
    var APP_CACHED_DATA_BLK2_SIZE;

    /* First 4KB reserved for components such as SBL */
    SBL_SIZE = 4*KB;
    DDR3_ADDR_0 = 0x80000000 + SBL_SIZE;
    DDR3_ADDR_1 = 0xA0000000;

    APP_CODE_SIZE = 2*MB - SBL_SIZE;
    APP_CACHED_DATA_SIZE = 20*MB;
    APP_CACHED_DATA_BLK1_SIZE = 244*MB;
    APP_CACHED_DATA_BLK2_SIZE = 128*MB;
    APP_UNCACHED_DATA_BLK3_SIZE = 2*MB;

    APP_CODE_ADDR = DDR3_ADDR_0;
    APP_CACHED_DATA_ADDR = APP_CODE_ADDR + APP_CODE_SIZE;
    APP_CACHED_DATA_BLK1_ADDR = APP_CACHED_DATA_ADDR + APP_CACHED_DATA_SIZE;
    APP_CACHED_DATA_BLK2_ADDR = APP_CACHED_DATA_BLK1_ADDR + APP_CACHED_DATA_BLK1_SIZE;
    APP_UNCACHED_DATA_BLK3_ADDR = DDR3_ADDR_1;

    myplatform = "ti.platforms.evmAM3359";


    Build.platformTable[myplatform] =
    {
    externalMemoryMap:
    [
    ["APP_CODE_MEM", {
    comment : "APP_CODE_MEM",
    name : "APP_CODE_MEM",
    base : APP_CODE_ADDR,
    len : APP_CODE_SIZE
    }],
    ["APP_CACHED_DATA_MEM", {
    comment : "APP_CACHED_DATA_MEM",
    name : "APP_CACHED_DATA_MEM",
    base : APP_CACHED_DATA_ADDR,
    len : APP_CACHED_DATA_SIZE
    }],
    ["APP_UNCACHED_DATA_BLK3_MEM", {
    comment : "APP_UNCACHED_DATA_BLK3_MEM",
    name : "APP_UNCACHED_DATA_BLK3_MEM",
    base : APP_UNCACHED_DATA_BLK3_ADDR,
    len : APP_UNCACHED_DATA_BLK3_SIZE
    }],
    ["APP_CACHED_DATA_BLK1_MEM", {
    comment : "APP_CACHED_DATA_BLK1_MEM",
    name : "APP_CACHED_DATA_BLK1_MEM",
    base : APP_CACHED_DATA_BLK1_ADDR,
    len : APP_CACHED_DATA_BLK1_SIZE
    }],
    ["APP_CACHED_DATA_BLK2_MEM", {
    comment : "APP_CACHED_DATA_BLK2_MEM",
    name : "APP_CACHED_DATA_BLK2_MEM",
    base : APP_CACHED_DATA_BLK2_ADDR,
    len : APP_CACHED_DATA_BLK2_SIZE
    }],
    ],
    codeMemory: "APP_CODE_MEM",
    dataMemory: "APP_CACHED_DATA_MEM",
    stackMemory: "APP_CACHED_DATA_MEM"
    };

    This is my linker.cmd file from project \Debug\configPkg\linker.cmd

    /*
    * This file was generated by linkcmd_bm_v7a.xdt from the gnu.target.arm package.
    */

    ENTRY(_c_int00)

    __TI_STACK_SIZE = 0x8000;
    __STACK_SIZE = __TI_STACK_SIZE;

    __HEAP_SIZE = 0x0;

    INPUT(
    "C:\Users\kdv\workspace_v8\NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject\Debug\configPkg\package\cfg\am335x_app_iceamic110_wSoCLib_pa8fg.oa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\hal\timer_bios\lib\hal_timer_bios.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\os\lib\os.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\hal\userled_stub\lib\hal_userled_stub.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\hal\eth_stub\lib\hal_eth_stub.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\tools\cgi\lib\cgi.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\tools\hdlc\lib\hdlc.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\tools\console\lib\console_min_ipv4.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\netctrl\lib\netctrl_min_ipv4.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\nettools\lib\nettool_ipv4.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\hal\ser_stub\lib\hal_ser_stub.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\tools\servers\lib\servers_min_ipv4.aa8fg"
    "C:\ti\ndk_2_26_00_08\packages\ti\ndk\stack\lib\stk.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\transport\ndk\nimu_icss\example\am335x\armv7\bios\src\sysbios\sysbios.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\board\lib\iceAMIC110\a8\release\ti.board.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\transport\ndk\nimu_icss\lib\a8\release\ti.transport.ndk.nimu_icss.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\drv\uart\lib\a8\release\ti.drv.uart.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\drv\icss_emac\lib\am335x\a8\release\ti.drv.icss_emac.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\drv\gpio\lib\a8\release\ti.drv.gpio.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\drv\pruss\lib\am335x\a8\release\ti.drv.pruss.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\drv\i2c\lib\a8\release\ti.drv.i2c.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\csl\lib\am335x\a8\release\ti.csl.aa8fg"
    "C:\ti\pdk_am335x_1_0_9\packages\ti\osal\lib\tirtos\a8\release\ti.osal.aa8fg"
    "C:\ti\bios_6_52_00_12\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg"
    "C:\ti\bios_6_52_00_12\packages\gnu\targets\arm\rtsv7A\lib\boot.aa8fg"
    "C:\ti\bios_6_52_00_12\packages\gnu\targets\arm\rtsv7A\lib\syscalls.aa8fg"
    )

    MEMORY
    {
    SRAM_LO (RWX) : org = 0x402f0000, len = 0x400
    SRAM_HI (RWX) : org = 0x402f0400, len = 0xfc00
    OCMC_SRAM (RWX) : org = 0x40300000, len = 0x10000
    DDR3 (RWX) : org = 0x80000000, len = 0x20000000
    }

    /*
    * In order to put the .bass, .text, .data, .heap or .stack into a
    * different memory section, change the corresponding REGION_ALIAS.
    */
    REGION_ALIAS("REGION_BSS", APP_CODE_MEM);
    REGION_ALIAS("REGION_TEXT", APP_CODE_MEM);
    REGION_ALIAS("REGION_DATA", APP_CODE_MEM);
    REGION_ALIAS("REGION_STACK", APP_CODE_MEM);
    REGION_ALIAS("REGION_HEAP", APP_CODE_MEM);
    REGION_ALIAS("REGION_ARM_EXTAB", APP_CODE_MEM);
    REGION_ALIAS("REGION_ARM_EXIDX", APP_CODE_MEM);

    /*
    * symbolic aliases for static instance objects
    */
    xdc_runtime_Startup__EXECFXN__C = 1;
    xdc_runtime_Startup__RESETFXN__C = 1;

    /*
    * Linker command file contributions from all loaded packages:
    */

    /* Content from ti.sysbios.family.arm (ti/sysbios/family/arm/linkcmd.xdt): */

    /* Content from ti.sysbios.rts (ti/sysbios/rts/linkcmd.xdt): */

    /* Content from ti.sysbios.family.arm.a8.intcps (ti/sysbios/family/arm/a8/intcps/linkcmd.xdt): */
    ti_sysbios_family_arm_a8_intcps_Hwi_intc = 0x48200000;


    SECTIONS {

    .c_int00 : {
    KEEP (*(.c_int00))
    } > REGION_TEXT

    .text : {
    CREATE_OBJECT_SYMBOLS
    KEEP (*(.resetVecs))
    KEEP (*(.text))
    *(.text.*)
    *(.gnu.linkonce.t*)
    *(.gnu.warning)
    *(.glue*)
    . = ALIGN(0x4);
    KEEP (*(.ctors))
    *(.gnu.linkonce.r.*)
    . = ALIGN(0x4);
    __init_array_start = .;
    KEEP(*(SORT(.init_array.*)))
    KEEP(*(.init_array))
    __init_array_end = .;
    *(.init)
    *(.fini*)
    } > REGION_TEXT

    .rodata : {
    *(.rodata)
    *(.rodata.*)
    } > REGION_TEXT

    .ARM.extab : {
    *(.ARM.extab*)
    *(.gnu.linkonce.armextab.*)
    } > REGION_ARM_EXTAB

    .ARM.exidx : {
    __exidx_start = .;
    *(.ARM.exidx*)
    *(.gnu.linkonce.armexidx.*)
    __exidx_end = .;
    } > REGION_ARM_EXIDX

    etext = .;
    _etext = .;
    __etext = .;

    .data : {
    __data_load__ = LOADADDR (.data);
    __data_start__ = .;
    *(.got.plt)
    *(.got)
    *(.shdata)
    KEEP (*(.data))
    KEEP (*(.data*))
    *(.gnu.linkonce.d.*)
    . = ALIGN (4);
    __data_end__ = .;
    } > REGION_DATA AT> REGION_TEXT

    /*
    * Place .heap section before .bss and .stack as the _sbrk
    * implementation in librdimon.a compares the (heap_end + incr)
    * to the current SP value to check if the heap has overlapped
    * with the stack.
    *
    * If .heap is placed between .bss and .stack in a SYS/BIOS app,
    * when the task stack (allocated in .bss) is the current stack,
    * the heap check in _sbrk will fail and trigger an error even
    * though the heap might not have actually overlapped with the
    * system stack.
    */
    .heap : ALIGN(0x100) {
    __heap_start__ = .;
    end = __heap_start__;
    _end = end;
    __end = end;
    . += __HEAP_SIZE;
    __heap_end__ = .;
    __HeapLimit = __heap_end__;
    } > REGION_HEAP

    .bss : {
    __bss_start__ = .;
    *(.shbss)
    KEEP (*(.bss))
    *(.bss.*)
    *(.gnu.linkonce.b.*)
    *(COMMON)
    . = ALIGN (4);
    __bss_end__ = .;
    } > REGION_BSS

    .stack : ALIGN(0x0008) {
    __TI_STACK_BASE = .;
    __stack = .;
    . += __TI_STACK_SIZE;
    } > REGION_STACK

    .stab 0 : { *(.stab) }
    .stabstr 0 : { *(.stabstr) }
    .stab.excl 0 : { *(.stab.excl) }
    .stab.exclstr 0 : { *(.stab.exclstr) }
    .stab.index 0 : { *(.stab.index) }
    .stab.indexstr 0 : { *(.stab.indexstr) }
    .comment 0 : { *(.comment) }

    .debug 0 : { *(.debug) }
    .line 0 : { *(.line) }
    .debug_srcinfo 0 : { *(.debug_srcinfo) }
    .debug_sfnames 0 : { *(.debug_sfnames) }
    .debug_aranges 0 : { *(.debug_aranges) }
    .debug_pubnames 0 : { *(.debug_pubnames) }
    .debug_info 0 : { *(.debug_info) }
    .debug_abbrev 0 : { *(.debug_abbrev) }
    .debug_line 0 : { *(.debug_line) }
    .debug_frame 0 : { *(.debug_frame) }
    .debug_str 0 : { *(.debug_str) }
    .debug_loc 0 : { *(.debug_loc) }
    .debug_macinfo 0 : { *(.debug_macinfo) }
    .debug_weaknames 0 : { *(.debug_weaknames) }
    .debug_funcnames 0 : { *(.debug_funcnames) }
    .debug_typenames 0 : { *(.debug_typenames) }
    .debug_varnames 0 : { *(.debug_varnames) }
    .debug_pubtypes 0 : { *(.debug_pubtypes) }
    .debug_ranges 0 : { *(.debug_ranges) }

    }

    /* function aliases */
    xdc_runtime_System_asprintf_va__E = xdc_runtime_System_asprintf_va__F;
    xdc_runtime_System_snprintf_va__E = xdc_runtime_System_snprintf_va__F;
    xdc_runtime_System_printf_va__E = xdc_runtime_System_printf_va__F;
    xdc_runtime_System_aprintf_va__E = xdc_runtime_System_aprintf_va__F;
    xdc_runtime_System_sprintf_va__E = xdc_runtime_System_sprintf_va__F;

  • It seems the config_am335x_a8.bld doesn't take effect, do you have the file in XDC build configuration?

    Also can you upload your build log file -  NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.build.log,  under C:\Users\YourID\ccs_workspace\.metadata\.plugins\org.eclipse.cdt.ui?

    You may try to re-install the PDK only and see if it helps.

    -Garrett

  • This is screen of my options XDCtools

    This is my  build log file


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs800\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    Invoking: XDCtools
    "C:/ti/ccs800/xdctools_3_50_05_12_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am335x_1_0_9/packages;C:/ti/edma3_lld_2_12_05_30B/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_20_00_02/packages;C:/ti/ccs800/ccsv8/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -b "C:/ti/pdk_am335x_1_0_9/packages/ti/build/am335x/config_am335x_a8.bld" -c "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" -DBOARD=iceAMIC110 "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am335x_app_iceamic110_wSoCLib.xa8fg from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.board:./lib/iceAMIC110/a8/release/ti.board.aa8fg
    Linking with library ti.drv.uart:./lib/a8/release/ti.drv.uart.aa8fg
    Linking with library ti.drv.icss_emac:./lib/am335x/a8/release/ti.drv.icss_emac.aa8fg
    Linking with library ti.drv.gpio:./lib/a8/release/ti.drv.gpio.aa8fg
    Linking with library ti.drv.pruss:./lib/am335x/a8/release/ti.drv.pruss.aa8fg
    Linking with library ti.drv.i2c:./lib/a8/release/ti.drv.i2c.aa8fg
    Linking with library ti.csl:./lib/am335x/a8/release/ti.csl.aa8fg
    Linking with library ti.osal:./lib/tirtos/a8/release/ti.osal.aa8fg
    Starting build of library sources ...
    making C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios/sysbios.aa8fg ...
    gmake[1]: Entering directory `C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    Build of libraries done.
    cla8fg package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c ...
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Invoking: GNU Compiler
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"I2C_soc.d" -MT"I2C_soc.o" @"configPkg/compiler.opt" -o"I2C_soc.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Invoking: GNU Compiler
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"UART_soc.d" -MT"UART_soc.o" @"configPkg/compiler.opt" -o"UART_soc.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    Invoking: GNU Compiler
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"netHooks.d" -MT"netHooks.o" @"configPkg/compiler.opt" -o"netHooks.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    Invoking: GNU Compiler
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main_a8.d" -MT"main_a8.o" @"configPkg/compiler.opt" -o"main_a8.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    Invoking: GNU Compiler
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"osdrv_ndkdeviceconfig.d" -MT"osdrv_ndkdeviceconfig.o" @"configPkg/compiler.opt" -o"osdrv_ndkdeviceconfig.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c: In function 'main':
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:279:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:305:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle1->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c: In function 'OSDRV_addNetifEntry':
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:56:42: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    NIMUDeviceTable[nimuDeviceIndex].init = initFct ;
    ^
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"

    Building target: "NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out"
    Invoking: GNU Linker
    "C:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a8 -marm -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.map" -nostartfiles -Wl,--gc-sections -L"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,STACKSIZE=0x1C000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -static C:/ti/pdk_am335x_1_0_9/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU0.bin C:/ti/pdk_am335x_1_0_9/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU1.bin -o"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out" "./I2C_soc.o" "./UART_soc.o" "./main_a8.o" "./netHooks.o" "./osdrv_ndkdeviceconfig.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -Wl,-T",C:/ti/pdk_am335x_1_0_9/packages/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" -lgcc -lrdimon -lm -lnosys -lc -Wl,--end-group
    makefile:151: recipe for target 'NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out' failed
    c:/ti/ccs800/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:53: error: memory region `APP_CODE_MEM' for alias `REGION_BSS' does not exist
    collect2.exe: error: ld returned 1 exit status
    makefile:147: recipe for target 'all' failed
    gmake[1]: *** [NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out] Error 1
    gmake: *** [all] Error 2

    **** Build Finished ****

    Reinstalled the PDK I so.

    And I found one line where the path is not defined. Where should the path of this folder point?

  • Kiselev,

    Did you check if the /packages is also present in other successfully built project? If there is really a package missing, I think it should complain during compilation rather than link stage.
    From your build log, I noticed the versions of many component (XDC, compiler, NDK...) are not aligned with the recommended/verified as shown in the wiki - processors.wiki.ti.com/.../Processor_SDK_RTOS_Release_Notes . The FLASH project you were working on probably changed the component versions that made the nimu_icss AMIC110 example failure. The example project should be built successfully with the recommended components. Also did you upgrade CCS for your FLASH project?

    Regards,
    Garrett
  • I completely removed SDK from the disk and installed it again. That helped. The problem has disappeared, but there are two questions left.

    First. When I compaling NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject, I have warnings.


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs800\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am335x_1_0_9/packages;C:/ti/edma3_lld_2_12_05_30B/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_20_00_02/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -b "C:/ti/pdk_am335x_1_0_9/packages/ti/build/am335x/config_am335x_a8.bld" -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" -DBOARD=iceAMIC110 "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am335x_app_iceamic110_wSoCLib.xa8fg from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.board:./lib/iceAMIC110/a8/release/ti.board.aa8fg
    Linking with library ti.drv.uart:./lib/a8/release/ti.drv.uart.aa8fg
    Linking with library ti.drv.icss_emac:./lib/am335x/a8/release/ti.drv.icss_emac.aa8fg
    Linking with library ti.drv.gpio:./lib/a8/release/ti.drv.gpio.aa8fg
    Linking with library ti.drv.pruss:./lib/am335x/a8/release/ti.drv.pruss.aa8fg
    Linking with library ti.drv.i2c:./lib/a8/release/ti.drv.i2c.aa8fg
    Linking with library ti.csl:./lib/am335x/a8/release/ti.csl.aa8fg
    Linking with library ti.osal:./lib/tirtos/a8/release/ti.osal.aa8fg
    Starting build of library sources ...
    making C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios/sysbios.aa8fg ...
    gmake[1]: Entering directory `C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    Build of libraries done.
    cla8fg package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c ...
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"C:/ti/edma3_lld_2_12_05_30B/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"UART_soc.d" -MT"UART_soc.o" @"configPkg/compiler.opt" -o"UART_soc.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/uart/soc/am335x/UART_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"C:/ti/edma3_lld_2_12_05_30B/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"netHooks.d" -MT"netHooks.o" @"configPkg/compiler.opt" -o"netHooks.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"C:/ti/edma3_lld_2_12_05_30B/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"I2C_soc.d" -MT"I2C_soc.o" @"configPkg/compiler.opt" -o"I2C_soc.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"C:/ti/edma3_lld_2_12_05_30B/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"main_a8.d" -MT"main_a8.o" @"configPkg/compiler.opt" -o"main_a8.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c: In function 'main':
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:279:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:305:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle1->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"

    Building file: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -I"C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_9/packages" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_9/packages/ti/starterware/soc" -I"C:/ti/edma3_lld_2_12_05_30B/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"osdrv_ndkdeviceconfig.d" -MT"osdrv_ndkdeviceconfig.o" @"configPkg/compiler.opt" -o"osdrv_ndkdeviceconfig.o" "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c: In function 'OSDRV_addNetifEntry':
    C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:56:42: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    NIMUDeviceTable[nimuDeviceIndex].init = initFct ;
    ^
    Finished building: "C:/ti/pdk_am335x_1_0_9/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"

    Building target: "NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a8 -marm -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Damic110 -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -mfloat-abi=hard -Wl,-Map,"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.map" -nostartfiles -Wl,--gc-sections -L"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,STACKSIZE=0x1C000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -static C:/ti/pdk_am335x_1_0_9/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU0.bin C:/ti/pdk_am335x_1_0_9/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU1.bin -o"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out" "./I2C_soc.o" "./UART_soc.o" "./main_a8.o" "./netHooks.o" "./osdrv_ndkdeviceconfig.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -Wl,-T",C:/ti/pdk_am335x_1_0_9/packages/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" -lgcc -lrdimon -lm -lnosys -lc -Wl,--end-group
    Finished building target: "NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out"

    C:/ti/pdk_am335x_1_0_9/packages/pdkAppImageCreate.bat C:/ti/pdk_am335x_1_0_9/packages C:/ti/gcc-arm-none-eabi-6-2017-q1-update C:/Users/kdv/workspace_v8/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject AM335x arm

    **** Build Finished ****

    And second.

    Where can I download UIA 2.21.02.07, taht is need necessary for the script to function correctly? (pdkProjectCreate.bat) 

    By the link from the CCS APP center is only the oldest version UIA 2.20.02.02. (downloads.ti.com/.../)

  • Hi

    The build warnings are expected. There is some casting. e.g Task_FuncPtr, need to be added. I will open a JIRA to track this internally.
    For UIA 2.21.02.07, it's a known issue, please check out this thread - e2e.ti.com/.../663217

    Regards,
    Garrett