CPU keeps on rebooting

hi,
Iam reading GPS data from uart2,

This is my timer definition

adl_tmrSubscribe(FALSE,50,ADL_TMR_TYPE_100MS,(adl_tmrHandler_t)uart_function);

after 15-20 minutes the the CPU starts rebooting

+WIND: 3

+WIND: 13

+CREG: 0

+CGREG: 0
INSIDE MAIN FUNCTION STARTING THE TIMER

+WIND: 1

+CREG: 2
INSIDE UART INIT HANDLER

FLOW IS OPENED NOW
tuned uart2 to 9600
switching uart2 to data mode
RESPONSE from ipr
ALREADY IN DATA MODE
*7D
426,21,30,37,313,16*70

$GPRMC,093419.00,A,1300.23792,N,07739.55436,E,0.526,353.60,131109,,,A*65
$GPVTG,353.60,T,,M,0.526,N,0.975,K,A*34
$GPGGA,093419.00,1300.23792,N,07739.55436,E,1,08,1.30,919.6,M,-86.3,M,,*73
$GPGSA,A,3,04,15,30,27,12,05,02,10,,,,,1.78,1.30,1.21*0F
$GPGSV,4,1,14,01,32,317,,02,32,021,39,04,07,047,30,05,79,078,48*7D
$GPGSV,4,2,14,09,18,211,,10,68,059,48,12,72,289,33,15,18,168,21*73
$GPGSV,4,3,14,17,05,106,23,21,04,254,,24,35,282,29,27,16,204,23*7C
$GPGSV,4,4,14,29,10,316,21,30,37,313,16*70
$GPGLL,1300.23792,N,07739.55436,E,093419.00,A,A*6B

then after this it sends gps data say to 5 packets and again reboots. whether rebooting again and again reduces life of CPU? My gps module is connected to uart2. Please guide me.Why and when CPU reboots.

Rebooting does not reduce life of the CPU but there is a possiblity of NOT rebooting and therefore freezing the entire module if you do not have external watchdog.
Your CPU may reboot with a lot of reasons. Probably it is a memory issue (since we do not see your code) - you are overflowing your memory buffers, using wrong memory addresses… I am pretty sure it does not have anything with your UART or GPS.

Unless of course you are saving something in Flash on each cycle.

And Hmmm… external Watchdog!! That could solve my other problem of CPU hanging for I2C…