USB module questions

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
Anonymous

USB module questions

Post by Anonymous » Mon Sep 17, 2007 8:55 pm

Does the USB module that comes with full version pass the HID Command verifier tests?

The reason I ask this is because I have another compiler that generate code that works, but does not pass the USB command verifier.

Thanks,
Durango

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Sep 19, 2007 9:03 am

The short answer is I do not know. The Swordfish USB implementation is pretty much a direct port from the Microchip C18 firmware.

Anonymous

Post by Anonymous » Wed Sep 19, 2007 2:41 pm

David,

Could I ask a favor of you?

Could you please provide a hex file of the sample HID_1.bas that has the PLLDIV set to 2 . I have an EP4 with a PIC18F4550 with an 8MHz clock.
This way I could test to see if tit passes the USB command verifier.

Thanks,
Durango :)

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Sep 19, 2007 3:51 pm


Anonymous

Post by Anonymous » Wed Sep 19, 2007 6:41 pm

David,

Thank you for your example. It passes the HID tests of the USB Command Verifier tool.

Now, to try an get approval for purchasing a license.
If I get one I am sure I will have some more questions for you and the forum members.

Thanks again for quick response and an example.

Durango :D

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Sep 19, 2007 6:50 pm

Thanks for letting me know, I'm pleased it passed. Could you let me know the name of the compiler that failed. I realise you may not want to mention it on the forum, but perhaps you can send me a private email.

> Now, to try an get approval for purchasing a license.

What is it you are looking to do? You only need to go through compliance testing if you want to show the USB logo on a product. In many cases, you don't have to go through the certification process. You just need a VID and PID combination and you can sell a product. There is no requirement for certification.

Post Reply