Search found 10 matches

by bearing
Tue Nov 04, 2008 6:26 am
Forum: V-USB
Topic: About RC12.8MHz.
Replies: 12
Views: 12731

For fuse setting - look in the datasheet for the ATtiny2313. CKSEL[3:0] have to be changed as well as SUT[1:0].
by bearing
Tue Nov 04, 2008 3:40 am
Forum: V-USB
Topic: Device recognition fails sometimes
Replies: 7
Views: 9531

It should be:

Code: Select all

PIN---68ohm---_---Computer
              ^Zener
              |
              GND


The pins are used as both input and output. Impedance is probably too big with the 2.2k series resistance.
by bearing
Mon Nov 03, 2008 5:00 am
Forum: V-USB
Topic: 12.8mhz usbasploader
Replies: 5
Views: 5654

Did you turn off debugging?
Without debugging I got slightly below 2000 bytes when using bootloadHID at 12.8 MHz, using the same GCC version.
by bearing
Fri Oct 31, 2008 5:38 am
Forum: V-USB
Topic: About RC12.8MHz.
Replies: 12
Views: 12731

I actually tried to see what happened in different temperatures. The code calibrates the frequency by measuring the intervals between marker pulses. When putting a bag of ice on the IC OSCCAL moved from 249 to 250. When putting the IC under a lamp OSCCAL went down to 248. Those were not huge differe...
by bearing
Thu Oct 30, 2008 7:28 pm
Forum: V-USB
Topic: Using analog comparator
Replies: 3
Views: 4922

It may not be fast enough. According to the data sheet the typical propagation delay is 500 ns with VCC 5 V and 750 ns with VCC 2.7V. The bit time of the 1.5 Mbit/s signal is 667 ns.
by bearing
Thu Oct 30, 2008 6:27 pm
Forum: V-USB
Topic: hid-mouse in Ubuntu
Replies: 5
Views: 6409

Hi Gert, I think that when the device (during buggy development ) did something illegal the kernel stopped looking for devices on that USB-port. Later, when the bug was fixed and the device was connected to a different USB-port everything worked as it should. It is easier to write a command in the t...
by bearing
Thu Oct 30, 2008 5:42 pm
Forum: V-USB
Topic: About RC12.8MHz.
Replies: 12
Views: 12731

I have used the 12.8 MHz code on an ATMega88. It works great. ATMega168 is from the same family so that should work as well. With a VCC of about 3.4 volts, I had to load the value 249 into OSCCAL, to reach a frequency of 12.8 MHz. The frequency is dependent on temperature and voltage. 249 is close t...
by bearing
Tue Oct 28, 2008 12:58 am
Forum: V-USB
Topic: HID_data example has a number of errors in windows
Replies: 4
Views: 5730

Are you sure your hardware is working?

I tried hidtool on Linux first. It worked after some general debugging, like moving the physical connector between USB-ports.

After reading your first post I could compile it on Windows. hidtool.exe worked with my hardware right away.
by bearing
Mon Oct 27, 2008 9:00 pm
Forum: V-USB
Topic: hid-mouse in Ubuntu
Replies: 5
Views: 6409

Problem solved. I am using a USB-hub. After disconnecting the hub and connecting it to a different USB-port everything is working.

Is there a unix command which would make things work without manually disconnecting and changing USB-port?
by bearing
Mon Oct 27, 2008 7:03 pm
Forum: V-USB
Topic: hid-mouse in Ubuntu
Replies: 5
Views: 6409

hid-mouse in Ubuntu

I have successfully tried the hid-mouse example under Windows XP; the device is recognized and the mouse pointer starts to move in a big circle. However, in Ubuntu nothing seems to happen when i plug it in; dmesg says nothing, and no messages are appended in the log files. I'm quite new to both Linu...