"Invalid or incomplete multibyte or wide character"
Posted: Mon May 21, 2007 1:07 pm
hi. i've built a USB device on Atmega8 which counts seconds, measures temperature in fixed intervals and stores data in EEPROM. when connected via USB it is polled every second to give current time and temperature. it works fine, but from time to time I get errors like those:
commandline:dmesg:
there is no rule whether it happens after 10 minutes or 10 hours of work, it appears to be random. i use 16bit timer and interrupt (to count seconds and measure fixed intervals for polling sensors), is it possible that it interferes with communication? any ideas, please?
commandline:
Code: Select all
USB error: error sending control message: Invalid or incomplete multibyte or wide character
only -84 bytes status received
Code: Select all
[17182281.564000] usb 2-2: new low speed USB device using uhci_hcd and address 3
[17182281.736000] usb 2-2: configuration #1 chosen from 1 choice
[17183069.944000] usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd USBterm rqt 192 rq 2 len 8 ret -84
there is no rule whether it happens after 10 minutes or 10 hours of work, it appears to be random. i use 16bit timer and interrupt (to count seconds and measure fixed intervals for polling sensors), is it possible that it interferes with communication? any ideas, please?