> Thanks Stef and Olin. I was simply looking at it from the wrong > perspective. Of course the first few bytes out of the USB chip > are going to > be garbled if your sending from the PIC regardless of whether the chip is > functioning or not (i.e. no USB cable plugged in or not). I should just > filter this out on the PC side. If I want to eliminate it, then the PIC > should not send if the USB interface is not fully functioning. > Unfortunately, I cannot see a way of doing this without > monitoring a pin on > the USB chip. Build it into the protocol between the PIC and PC, i.e. keep sending some "hello are you there" sort of message, until both respond with "I am here" don't send anything, or something like that. TTYL -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.