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/TM4C1294NCPDT: Example uart_echo debuggin

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

I have downloaded the TivaWare_C_Series-2.1.3.156 content

I imported the example uart_echo to my CCSv7 IDE.

Built the code and ran it.  The code executes properly.

I then tired to single step through the code with the debugger and encountered the following problem.

Code steps from line 148 to 166 back to 148 then to 155 to 160.  From their it appears to be in sync.  I don't understand what is going on here.

Code snippet for uart_echo.c:

......................................

//*****************************************************************************
//
// This example demonstrates how to send a string of data to the UART.
//
//*****************************************************************************
int main(void)
{
//
// Set the clocking to run directly from the crystal at 120MHz.
//
g_ui32SysClock = SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |
SYSCTL_OSC_MAIN |
SYSCTL_USE_PLL |
SYSCTL_CFG_VCO_480), 120000000);
//
// Enable the GPIO port that is used for the on-board LED.
//
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);

//
// Enable the GPIO pins for the LED (PN0).
//
ROM_GPIOPinTypeGPIOOutput(GPIO_PORTN_BASE, GPIO_PIN_0);

//
// Enable the peripherals used by this example.
//
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);