Problem: Tiny45 USB device not recognized when PC is restart
Posted: Thu Aug 27, 2009 6:43 am
Hi,
I was trying the Easy Logger project to understand the internal RC oscillator calibration of ATtiny45.
The device worked well until I restarted my PC (running on windows xp) with the device connected, then I get the message "USB device not recognized", i.e. the device fails to enumerate.
I have tried it to another PC also running on windows xp and the problem is also there.
The device works fine when I disconnect and connect physically to the PC, but the problem occurs when the device is connected to the PC and I shutdown the PC then Turn on again or restart the PC.
I know that the possible close calibration value is written in EEPROM and reloaded to OSCCAL during device reset, So why the problem is there?
Can any one check that it is a real problem(not my mistake) with the internal oscillator calibration for 16.5 MHz for ATtiny45?
How the problem can be solved?
Thanks..
I was trying the Easy Logger project to understand the internal RC oscillator calibration of ATtiny45.
The device worked well until I restarted my PC (running on windows xp) with the device connected, then I get the message "USB device not recognized", i.e. the device fails to enumerate.
I have tried it to another PC also running on windows xp and the problem is also there.
The device works fine when I disconnect and connect physically to the PC, but the problem occurs when the device is connected to the PC and I shutdown the PC then Turn on again or restart the PC.
I know that the possible close calibration value is written in EEPROM and reloaded to OSCCAL during device reset, So why the problem is there?
Can any one check that it is a real problem(not my mistake) with the internal oscillator calibration for 16.5 MHz for ATtiny45?
How the problem can be solved?
Thanks..