> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Harold > Hallikainen > Sent: 27 July 2010 16:28 > To: Pic List > Subject: Bus Error with no USB host plugged in >=20 > I'm running Generic USB client on USB stack 2.6a on a PIC32. It has worked > very well. But on some boards, it appears I'm getting a lot of bus errors > with no host plugged in. This seems to result in my code spending a bunch > of time servicing this interrupt instead of doing real work. I eventually > get a watchdog timeout. I'm not sure this is the problem, but I've caught > the system in this USB bus error several times just before the WDT times > out. It seems that the lack of Vbus should indicate that no host is > present and any noise on the bus would be ignored. Is there perhaps > something I missed in configuring the stack? >=20 > THANKS! >=20 > Harold I would look at the current stack, v2.7 I believe, to see if there is anything fixed in there. This sounds like the sort of error that must get noticed somewhere before this, and get into the stack revision. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .