> >> Out of interest what is pathetic about the attempt to deliberately >> fire a >> watchdog timeout by using an infinite loop? Surely you agree that it >> is >> good practice to trap invalid states such as this? > > Without commenting on i2c, I think it's bad form form for code that is essentially an IO library to decide on its own to cause a WDT. if some error occurs, that SHOULD be part of the API to whatever app is using the i2c routines, and then IT can decide whether an "unrecoverable i2c comm error" is a good reason to reset the entire chip or not... BillW -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads