Oluseyi Odeinde wrote: > >main(void){ > ........... > .......... > ClearCrc(); > for (i=0;i UpdateCrc(xmodem_buffer1[i]); > } This may be an error introduced when you copied the code to the email, but without an 'i++' in this for loop, it will never terminate. (The second for loop wouldn't terminate either for the same reason.) Does your program run to completion? Regards, Bob _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads