Easylogger not recognized

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
chris

Easylogger not recognized

Post by chris » Thu Sep 20, 2007 9:21 pm

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?

chris

Post by chris » Thu Sep 20, 2007 9:29 pm

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?

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Tue Sep 25, 2007 9:57 am

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.

jacques

fuses

Post by jacques » Sun Nov 04, 2007 4:49 am

please, can you say how the clock fuses should be set.
(pll or internal 8mhz)
thank you

Guest

Post by Guest » Sun Nov 04, 2007 5:09 am

sorry, it was in the makefile :oops:

XP detects a hid keyboard, but i have no text coming!
led is on.
:?: if anyone can help

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Sun Nov 04, 2007 11:29 am

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?

Guest

Post by Guest » Wed Nov 21, 2007 4:10 pm

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!!

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Wed Nov 21, 2007 4:19 pm

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.

Post Reply