Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello,
I am working on an application that uses Linux on the ARM core and RTOS on the c66x. For my application, I have to have Linux running in order for the DSP to be doing much of anything. I am trying to do some profiling on the DSP to see what my utilization is looking like, but I can only get the legacy "load" tool working.
My version numbers:
Bios version 6.52.00.12
UIA Version 2.21.02.07
IPC Version 3.47.00.00
PDK K2G Version 1.0.8
PSDK RTOS K2G Version 4.02.00.09
XDC Tools 3.50.03.33_core
I first attempted to add the UIA module. I enabled the product in Properties->CCS General->Products, then added it through XGConf. I enabled Logging Setup, Service Mgr, RTA, and Logger Stop Mode, hoping to do basic stop mode JTAG profiling. This would not build because it required the NDK. I added the NDK and started to run into a bunch of memory map issues (running out of memory, etc). I then learned I could build UIA without the NDK support, so I did that. Now when I try to build, the linker cannot find some symbols:
Undefined reference to 'ti_uia_sysbios_Adaptor_clockFxn__E'
Undefined reference to 'ti_uia_sysbios_Adaptor_Module_startup__E'
Undefined reference to 'ti_uia_sysbios_Adaptor_rxTaskFxn__E'
Undefined reference to 'ti_uia_sysbios_Adaptor_transferAgentTaskFxn__E'
The recommended solution (by the tools) is to add "var ti_uia_sysbios_Adaptor = xdc.useModule('ti.uia.sysbios.Adaptor');" to my cfg, but even with that addition the problems still remain.
After wrestling with this for a day, I removed all of this and used the sysbios load tool. That gave me a basic load percentage, which is useful, but it would be nice to have the full set of UIA tools.
Any guidance that can be provided is appreciated.
Jeff