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.

RTOS/CC2630: View User Logs & Instrumentation for I2C driver in IAR

Part Number: CC2630
Other Parts Discussed in Thread: Z-STACK

Tool/software: TI-RTOS

I am playing with Sample Switch App provided with Z-Stack HA.

I found out my I2C code to read from Magnetic Sensor LSM303D is not working properly, so decided to add some Log info into  the code to find where the problem is, but i am struck with other issues to see the Log.

1.  The Z-stack Core Thread provided in Z-stack HA is bounded to IAR compiler, so I can only use IAR IDE and therefore can't use Code Composer Studio to view Logs & Instrumentation as mentioned in TIRTOS 2.20 User Guide.  (so RTOS Analyzer and System Analyzer is out of the picture)

2. Another issue is that  following the TIRTOS 2.20 User guide,  in configuring  I2C driver Instrumentation using xdc -> throws Error @XDC not able to run

var driversConfig = xdc.useModule('ti.drivers.Config');  

driversConfig.libType = driversConfig.LibType_Instrumented; //For log

I think the 2nd issues is bcoz  Z-Stack HA is using tirtos v2.11.01.

I just want to see the Instrumentation Logs of  what happens when the I2C code  runs either via UART or in Terminal in IAR.

Does anyone know how to solve this ?