[long] IR mouse problem

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Tue Feb 13, 2007 11:45 pm

I doubt that it's a problem with the rxBuffer crossing a page. If it were a page boundary problem, it would not depend on whether interrupts are actually received or not.

Grendel
Rank 4
Rank 4
Posts: 167
Joined: Sat Dec 16, 2006 9:53 pm
Location: Oregon, USA
Contact:

Post by Grendel » Tue Feb 13, 2007 11:54 pm

How big is ir.data[] dimensioned ? I could see that overflowing if it's smaller than 253.

ksz
Rank 1
Rank 1
Posts: 26
Joined: Tue Jan 09, 2007 9:10 pm
Location: Poland

Post by ksz » Wed Feb 14, 2007 4:49 am

Grendel wrote:How big is ir.data[] dimensioned ? I could see that overflowing if it's smaller than 253.


It is 64
Change to 256 doesn't help..

EDIT:
Well, on two tinys connected via USART it just works..
No dmesg's errors, everything is OK..

Thanks for help any way!

Post Reply