Page 1 of 1

What I lost in usbdrv dir ?

Posted: Sat Nov 17, 2007 1:28 pm
by sprhawk
I have posted several posts in this forum, to ask why a correct(or even used to be correct) HID Report Descriptor didn't work correctly.

today, I deleted the usbdrv directory and copy a new one there, recompiled again, the Descriptors worked again!

However, when I changed the previous worked Descriptor , it did not work again!

:shock:

I don't why! is there a #define controled value or version relative or VID/PID relative value be there?

Who Can Help me? Thank you!

OK, maybe it's my fault

Posted: Sat Nov 17, 2007 1:58 pm
by sprhawk
I tested again:
i used "make clean --> make all"

and flashed the program to m16, the descriptor worked!!! :D

I don't know why? I used the method before, but failed.

Maybe, because the usbdrv I used today is a new one.

It worked! Thank you, AVR-USB, all the same.

Posted: Sun Nov 18, 2007 12:09 pm
by christian
If you tell me which was your previous version and which is the new, I can tell you what was changed (or you can see the Changelog in the driver directory to find out). It's possible that a bug was fixed which affects HID.

Posted: Sun Nov 18, 2007 3:30 pm
by sprhawk
the previous version was Release 2007-03-29

the new one is :Release 2007-08-07

Posted: Sun Nov 18, 2007 3:30 pm
by sprhawk
the previous version was Release 2007-03-29

the new one is :Release 2007-08-07

I tested again. I am sure that the previous can't work correctly.

Posted: Mon Nov 19, 2007 12:19 pm
by christian
That's interesting because we have only added new features between these releases, no bug fixes. Since the code structure has changed quite a bit, it's hard to find real differences. So I suggest that you stick with the new version and be happy that it works better :-)

Posted: Wed Nov 21, 2007 4:01 am
by sprhawk
Thank you!