Page 1 of 1
Easylogger not recognized
Posted: Thu Sep 20, 2007 9:21 pm
by chris
Hi,
I tried to get the Easylogger working but the balloon says that the device can't be recognized.
The fusebit are set as shown in the makefile, the tiny45 is also ok (tried usb-i2c) but the clock rate irritates me - in the programming dialog (AVRStudio 4.13 528) shows only 6.4 and 8 MHz in the calibration tab.
Can you give any hint to get my device working?
Posted: Thu Sep 20, 2007 9:29 pm
by chris
what I forgot...:
when I press the button to record, the led turns on - so the chip should be ok.
Also the USB-level-"converter" should be ok, it works fine with other devices.
Have I to keep in mind something else?
Posted: Tue Sep 25, 2007 9:57 am
by christian
The RC oscillator clock must be calibrated to half of the system clock, that's 8.25 MHz. This is not one of the default rates which can be calibrated with AVRStudio.
I did calibration by changing the fuse values temporarily so that the clock rate was output at the CLKOUT pin and measured it with a scope. I have then changed the calibration value to approximate 16.5 MHz as close as possible.
In principle, it should be possible to calibrate against the USB clock "on the fly". However, that's a tough exercise we have reserved for future experiments.
fuses
Posted: Sun Nov 04, 2007 4:49 am
by jacques
please, can you say how the clock fuses should be set.
(pll or internal 8mhz)
thank you
Posted: Sun Nov 04, 2007 5:09 am
by Guest
sorry, it was in the makefile
XP detects a hid keyboard, but i have no text coming!
led is on.
if anyone can help
Posted: Sun Nov 04, 2007 11:29 am
by christian
It looks as if the host were not polling the interrupt endpoint. Can you try to debug this with a USB sniffer? Maybe toggle the LED when a new ADC value is captured?
Posted: Wed Nov 21, 2007 4:10 pm
by Guest
Hi, I am also trying to make the Easylogger work.
The fusebits are set as in the makefile. And I have also used a scope to measure the CLKOUT pin and have changed the calibration value to approximate 16.5MHz.
But XP still says it can't be recognized.
The LED turns on when I press the button.
Can you help me?
Thanks a lot in advance!!
Posted: Wed Nov 21, 2007 4:19 pm
by christian
This is different. If XP does not recognize the device, it's either a hardware problem (D+ D- swapped, missing zener diodes or wrong zener voltage, etc.) or a problem with the clock rate.
I think, we should come up with an auto-calibration algorithm. It should be possible to take the host's USB clock as a reference.