Part Number: TM4C1294NCPDT
Hello All,
I am trying to get the trace information from TM4C1294ncpdt board using SEGGER J-Trace Pro.
TM4C1294 Board has the following pins for tracing.
PF0 - Trace data 2.
PF1 - Trace data 1.
PF2 - Trace data 0.
PF3 - Trace clock.
PF4 - Trace data 3.
In order to configure the trace pins , I have used certain functions in my code.
This is the trace configuration that I have done in my code.
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_GPIOF))//waiting for port F to be ready
{
}
//Trace pin configuration
GPIOPinConfigure(GPIO_PF3_TRCLK);
GPIOPinConfigure(GPIO_PF2_TRD0);
GPIOPinConfigure(GPIO_PF1_TRD1);
GPIOPinConfigure(GPIO_PF0_TRD2);
GPIOPinConfigure(GPIO_PF4_TRD3);
GPIOPinTypeTrace(GPIO_PORTF_BASE,GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4);
With these configurations when I try to capture trace, i cant get the trace data properly.The segger debugger software(ozone) shows unknown trace data packet detected
Is there something which I missed to be added as a part of the trace configuration.
It would really helpfull if anyone could provide an idea about this.
Thanks in advance.