Other Parts Discussed in Thread: EK-TM4C129EXL, STRIKE
Tool/software: Code Composer Studio
Hi,
I am using TM4C129EXL kit and CCS 7.0.
I have modified enet_lwip.c for sending serial data ( string characters) through Ethernet. It is working fine.
My program starts with initializing the main clock, peripherals for ethernet, uart, gpio, spi communicaiton, enabling interrupts and few UARTprintf statements and goes to an infinite while loop. Whenever data
is sent through ethernet, an interrupt occurs and it breaks the infinite while loop and goes to the interrupts subroutine and reads the data, prints them and returns back to the infinite while loop.
I power the board through the USB port of my laptop.
The problem is: If I unplug the power going through a USB cable and reconnect it, the program does not start from the beginning. I can't even know where the program control is.
However, if I press the reset button, the program starts from the beginning and works fine. Do I need to enable power-on reset in the controller?
I feel like, Pressing the reset button and Power On reset has a different effect on the controller.
Thank You.