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.

RE: RTOS/AM3358: UIA question after version update

Other Parts Discussed in Thread: SYSBIOS

This is continuation of the thread on UIA here:

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/663529 

Now that I have the LED blink demo running with UIA, I am trying to get UIA running on my actual project and am running into a lot of build issues.  My guess is it has to do with the version of UIA I am using?

I am running with GNU compiler 4.9.3 and the following products selected:

Let me know if you want me to open a different thread for this or keep it here.

  • Can you please provide the build log from your project. This will help us understand if the reason for the build failure is your UIA version.

    Regards,
    Rahul
  • Here you go:


    **** Build of configuration Debug for project MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject ****

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

    'Building file: "../spi_arm_bbbAM335x_slavemode.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/bios_6_46_05_55/packages;C:/ti/edma3_lld_2_12_05_30B/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/pdk_am335x_1_0_8/packages;C:/ti/uia_2_20_00_02/uia_2_20_00_02/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.beaglebone -r debug -c "C:/ti/gcc-arm-none-eabi-4_9-2015q3" "../spi_arm_bbbAM335x_slavemode.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring spi_arm_bbbAM335x_slavemode.xa8fg from package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.transport.ndk.nimu:./lib/am335x/a8/release/ti.transport.ndk.nimu.aa8fg
    Linking with library ti.drv.emac:./lib/am335x/a8/release/ti.drv.emac.aa8fg
    Linking with library ti.drv.uart:./lib/am335x/a8/release/ti.drv.uart.aa8fg
    Linking with library ti.board:./lib/bbbAM335x/a8/release/ti.board.aa8fg
    Linking with library ti.drv.i2c:./lib/am335x/a8/release/ti.drv.i2c.aa8fg
    Linking with library ti.drv.spi:./lib/am335x/a8/release/ti.drv.spi.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:/Users.../CCSworkspace/MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject/src/sysbios/sysbios.aa8fg ...
    gmake[1]: Entering directory `C:/Users/...CCSworkspace/MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject/src/sysbios'
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/Cache_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/Mmu_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv7A ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/BIOS.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/TaskSupport.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Clock.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Idle.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Intrinsics.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Event.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Queue.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Semaphore.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Swi.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Swi_andn.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/knl/Task.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Cache.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Core.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/CoreNull.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Hwi.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Hwi_stack.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Hwi_startup.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/hal/Timer.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/heaps/HeapMem.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/heaps/HeapTrack.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/Cache.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/Mmu.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/TimestampProvider.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/intcps/Hwi.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/exc/Exception.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/gates/GateHwi.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/gates/GateMutex.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/utils/Load.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/utils/Load_CPU.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/timers/dmtimer/Timer.c ...
    cla8fg C:/ti/bios_6_46_05_55/packages/ti/sysbios/family/arm/a8/ti81xx/TimerSupport.c ...
    ara8fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o a8_Cache_asm_gnu.o a8_Mmu_asm_gnu.o a8_TimestampProvider_asm_gnu.o intcps_Hwi_asm_gnu.o exc_Exception_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o hal_Cache.o hal_Core.o hal_CoreNull.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o hal_Timer.o heaps_HeapMem.o heaps_HeapTrack.o gnu_ReentSupport.o gnu_SemiHostSupport.o a8_Cache.o a8_Mmu.o a8_TimestampProvider.o intcps_Hwi.o exc_Exception.o gates_GateHwi.o gates_GateMutex.o utils_Load.o utils_Load_CPU.o dmtimer_Timer.o ti81xx_TimerSupport.o ...
    gmake[1]: Leaving directory `C:/Users/.../CCSworkspace/MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject/src/sysbios'
    Build of libraries done.
    cla8fg package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c ...
    subdir_rules.mk:19: recipe for target 'build-384502063-inproc' failed
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:1429:9: warning: initialization from incompatible pointer type
    ti_uia_loggers_LoggerStopMode_Object__create__S,
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:1429:9: warning: (near initialization for 'ti_uia_loggers_LoggerStopMode_Module__FXNS__C.__sfxns.__create')
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10238:15: error: unknown type name 'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10238:118: error: 'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10238:168: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10297:15: error: unknown type name 'CT__ti_uia_events_UIAErr_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10297:114: error: 'CT__ti_uia_events_UIAErr_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10297:162: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10428:15: error: unknown type name 'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10428:114: error: 'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10428:162: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10624:15: error: unknown type name 'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10624:132: error: 'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10624:189: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10713:15: error: unknown type name 'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10713:120: error: 'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10713:171: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10787:15: error: unknown type name 'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10787:134: error: 'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10787:192: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10846:15: error: unknown type name 'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn'
    __FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10846:126: error: 'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn' undeclared here (not in a function)
    __FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:10846:180: error: expected ')' before numeric constant
    __FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);
    ^
    package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:17369:9: error: conflicting types for 'ti_uia_loggers_LoggerStopMode_Object__create__S'
    xdc_Ptr ti_uia_loggers_LoggerStopMode_Object__create__S (
    ^
    In file included from package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.c:76:0:
    C:/ti/uia_2_20_00_02/uia_2_20_00_02/packages/ti/uia/loggers/LoggerStopMode.h:514:18: note: previous declaration of 'ti_uia_loggers_LoggerStopMode_Object__create__S' was here
    __extern xdc_Ptr ti_uia_loggers_LoggerStopMode_Object__create__S( xdc_CPtr __aa, const xdc_UChar *__pa, xdc_SizeT __psz, xdc_runtime_Error_Block *__eb );
    ^
    gmake.exe: *** [package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.oa8fg] Error 1
    js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-384502063-inproc] Error 1
    gmake: *** [build-384502063] Error 2
    subdir_rules.mk:16: recipe for target 'build-384502063' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • Here are my errors as well:

    Description Resource Path Location Type
    'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10238 C/C++ Problem
    'CT__ti_uia_events_UIAErr_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10297 C/C++ Problem
    'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10428 C/C++ Problem
    'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10624 C/C++ Problem
    'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10713 C/C++ Problem
    'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10787 C/C++ Problem
    'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn' undeclared here (not in a function) MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10846 C/C++ Problem
    conflicting types for 'ti_uia_loggers_LoggerStopMode_Object__create__S' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 17369 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10238 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10297 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10428 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10624 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10713 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10787 C/C++ Problem
    expected ')' before numeric constant MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10846 C/C++ Problem
    gmake: *** [build-384502063] Error 2 MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject C/C++ Problem
    gmake: Target 'all' not remade because of errors. MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject C/C++ Problem
    gmake.exe: *** [package/cfg/spi_arm_bbbAM335x_slavemode_pa8fg.oa8fg] Error 1 MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject C/C++ Problem
    gmake[1]: *** [build-384502063-inproc] Error 1 MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject C/C++ Problem
    recipe for target 'build-384502063-inproc' failed subdir_rules.mk /MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject/Debug line 19 C/C++ Problem
    recipe for target 'build-384502063' failed subdir_rules.mk /MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject/Debug line 16 C/C++ Problem
    unknown type name 'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10238 C/C++ Problem
    unknown type name 'CT__ti_uia_events_UIAErr_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10297 C/C++ Problem
    unknown type name 'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10428 C/C++ Problem
    unknown type name 'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10624 C/C++ Problem
    unknown type name 'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10713 C/C++ Problem
    unknown type name 'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10787 C/C++ Problem
    unknown type name 'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn' MCSPI_SlaveMode_MasterExample_bbbAM335x_armExampleProject line 10846 C/C++ Problem
  • Alex,

    Your suspicion is correct UIA 2.21.xx.xx requires SYS/BIOS 6.50.00.08 and XDCtools 3.50.00.10 and higher. the recommendation is to either upgrade those components also, or move to UIA 2.00.06.52 as you see from Todd`s response here:
    e2e.ti.com/.../602189

    Regards,
    Rahul
  • Rahul,
    I installed 2.00.06.52 and all my compile issues went away but now I am back to the "Could not detect a UIA configuration" issue when trying to do analysis. I copied over all your edits from the .cfg file you sent me and it still doesn't work.

    Any ideas?
  • Sorry, but I'm a little late to this party (and the thread is a little hard to follow), so I have a couple basic questions.
    1. What exact versions are you using of
    - CCS
    - UIA (assuming 2.00.06.52)
    - SYS/BIOS (assuming bios_6_46_05_55)
    - XDCtools (assuming xdctools_3_32_01_22_core)

    2. Do you have a simple project you could attach that shows the problem? For example, import one of the UIA or SYS/BIOS examples and tweak it to cause the issue.

    3. When you try to open System Analyzer, do you have the debug session active? For example, load the .out via CCS, run, halt, open System Analyzer.

    Todd
  • No problem.  I have attached a screen shot of my package versions that I am using:

    I am running the PDK example: UART_BasicExample_bbbAM335x_armTestProject so you should be able to try it as well.  

    I have edited my .cfg file per some previous posts that worked in a newer version of UIA but they aren't working here.  I have attached my .cfg file for the example here as well.

    7762.am335x_app_bbbam335x.cfg

    When I run in debug and pause, then select Tools --> RTOS analyzer --> execution analysis.  I get the following screen:

  • Hi Alexander,

    There are three reasons (that I know of) why you are getting this.

    1. You don't have any UIA Loggers in your application. This is not your problem, but you can confirm by opening up ROV on a loaded device and making sure LoggerStopMode is present.

    2. You are not using the CCS debug session to load the image. It does not sound like this is the case either.

    3. You are missing the <CCS build configuration>/configPkg/package/cfg/<.cfg name>_<target>.rta.xml and/or <CCS build configuration>/configPkg/package/cfg/<.cfg name>_<target>.uia.xml files.

    For example (different device, but the same idea) C:\workspace\F28379D\stairstepStopMode_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT\Debug\configPkg\package\cfg\stairstep_pem4f.rta.xml.

    These files get built as part of the build. They are found automatically by System Analyzer as long as they are underneath the .out location or in the same directory as the .out.

    I'm hoping it's number 3.

    Todd
  • Sorry - it looks like I have all those items accounted for.

    You should be able to easily reproduce this issue as it is using an out of the box example with Processor SDK  4_01_00_06 and UIA 2.0.6.52.

  • Unfortunately I don't have that board. I need to look around and try and find one. Which CCS are you using?
  • I am using Version: 7.4.0.00015