tags:

views:

1325

answers:

5

Where can I buy a programmable USB dongle that supports C as a development language?

+5  A: 
  1. Senselock
  2. rockey
  3. Aladdin

We use Senselock in our application. It is a smart dongle, that you can download your custom code into it. The way it works is that instead of just checking the presence of a dongle, your code should expect a correct output from the dongle emitted from your code inside the dongle.

Ngu Soon Hui
+1 I never heard of code in a dongle, could be a good approach. Thanks.
kenny
+2  A: 

One place to start is Hexwax. Try http://www.hexwax.com/Products/expandIO%2DUSB/ which will give you an idea of what you can do and where to start. These are firmwares for the PIC18 series of microcontrollers but you can buy the modules off the shelf. They may not suit perfectly but they'll give you an idea of what is possible without having to build your own from scratch.

Don't forget that you would have to build a Windows driver if you rolled your own USB device. The hexwax firmwares use the HID interface (keyboard, mouse, joystick etc) so drivers come with Windows/Linux/OS-X already. This is a significant bonus.

If I rolled my own I would use a PIC18 device, snarf as much code as possible from Microchip's (the maker of the PIC) website - they have USB interface code - and go down the HID route. Other sources: MicroElektronika (www.mikroe.com) do lots of C libraries and compilers for exactly this kind of stuff. Google for pic, hid, usb to get lots of info, people have made their own keyboards from scratch without too much trouble.

heh? now I'm wondering what the original question was.
kenny
+1  A: 

http://www.sg-lock.com/fr/index.php

tinmaru
A: 

Where can I buy a programmable USB dongle that supports C as a development language?

Try ROCKEY6 its Executable and programmable inside the dongle itself. Works fine with our software on its secure protection.

http://www.rockey.com.my/prod-dongle-rockey6.php

JC Sio
A: 

I found this thread while looking for an answer, so joining to the questioner... I intend to use the USB bus directly, for producing a serial pulse train, use it for rf modulation, instead of using a PIC. The bursts are quick short and rare.
Any recommendation for a WIN USB C++ API?

xaim