Page 1 of 1
Problem after driver update
Posted: Wed Feb 13, 2008 5:58 pm
by iphi
Hi,
as I want to use usbSofCount in my Easylogger variant, I went about to upgrade to the latest USB driver.
I deleted the usbdrv directory and replaced it by the one found in the latest powerswitch files.
I DID NOT MODIFY usbconfig.h.
Recompilation went ok with 0 warnings and 0 errors, but the device won't connect with the new drivers. Changing back to the old drivers everything works fine again.
What did I overlook?
Regards, Tom
Posted: Thu Feb 14, 2008 12:25 am
by christian
Which version works and which does not? Maybe we have introduced a bug in one of the last changes...
Posted: Thu Feb 14, 2008 9:10 am
by iphi
Hi Christian,
I have run successfully EasyLogger.2007-07-19.zip.
I have replaced the drivers by the ones found in PowerSwitch.2008-02-05.zip with the described problem.
Is there something I can do for troubleshooting?
BTW: I have flashed the above powerswitch application to an ATTINY2313 with 12MHz and it works fine. But of course, there's not the 16.5MHz driver used.
Regards, Tom
Posted: Thu Feb 14, 2008 2:39 pm
by christian
It's hard to compare these versions because a lot of re-structuring occurred between them. But as far as I can see, none of the changes should affect the 16.5 MHz module.
I currently don't have my EasyLogger board available, so I can't run my own tests. Can you please try the other releases between these two? Maybe it's easier to see the difference if only a few lines have changed. Please don't for get a "make clean" before you compile with the new driver.
Posted: Thu Feb 14, 2008 5:40 pm
by iphi
Up to version 2007_10_23 the 16.5MHz driver works for EasyLogger.
Starting version 2007_12_01 there's the problem.
Regards, Tom
Posted: Thu Feb 14, 2008 10:38 pm
by christian
There was a restructuring between these versions where common parts of the assembler module were moved to a single file. I have overlooked that one register was different in the 16.5 MHz module.
Can you contact me by e-mail (AVR-USB support address) so that I can send you a fixed version for testing?
Posted: Fri Feb 15, 2008 10:17 pm
by christian
OK, this is a bug in all versions from 2007-12-01 to 2008-02-05. It will be fixed in all future versions. This bug affects the 16.5 MHz module only.