What I lost in usbdrv dir ?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
sprhawk
Posts: 11
Joined: Sun Oct 28, 2007 5:52 am

What I lost in usbdrv dir ?

Post by sprhawk » Sat Nov 17, 2007 1:28 pm

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!

sprhawk
Posts: 11
Joined: Sun Oct 28, 2007 5:52 am

OK, maybe it's my fault

Post by sprhawk » Sat Nov 17, 2007 1:58 pm

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.

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

Post by christian » Sun Nov 18, 2007 12:09 pm

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.

sprhawk
Posts: 11
Joined: Sun Oct 28, 2007 5:52 am

Post by sprhawk » Sun Nov 18, 2007 3:30 pm

the previous version was Release 2007-03-29

the new one is :Release 2007-08-07

sprhawk
Posts: 11
Joined: Sun Oct 28, 2007 5:52 am

Post by sprhawk » Sun Nov 18, 2007 3:30 pm

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.

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

Post by christian » Mon Nov 19, 2007 12:19 pm

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 :-)

sprhawk
Posts: 11
Joined: Sun Oct 28, 2007 5:52 am

Post by sprhawk » Wed Nov 21, 2007 4:01 am

Thank you!

Post Reply