Search found 6 matches

by dehghanimeh
Thu Aug 19, 2010 8:17 pm
Forum: V-USB
Topic: need help to compile commandline application on windows
Replies: 3
Views: 6667

Re: need help to compile commandline application on windows

hi
1- install winavr
2- install mingw
3- install msys
4- download libusb-win32
5- copy libusb.a from libusb-win32\lib\gcc directory to MinGW\lib
6- run msys and go to the commandline directory
7- make -f MakeFile.windows
:wink:
by dehghanimeh
Fri Oct 30, 2009 11:18 pm
Forum: V-USB
Topic: When the PC turn on or off?
Replies: 1
Views: 2285

When the PC turn on or off?

hi I want to know that When the PC turn on or off (hid-data sampel) i am using this macro #define USB_RX_USER_HOOK(data, len) if(usbRxToken == (uchar)USBPID_SETUP) blinkLED(data, len); -------------------------------------------- void blinkLED(uchar *data, uchar len) { usbRequest_t *rq = (void *)dat...
by dehghanimeh
Fri Oct 23, 2009 11:30 am
Forum: V-USB
Topic: cryptography library for pc and microcontroller
Replies: 0
Views: 4511

cryptography library for pc and microcontroller

i want encrypt my data that transfer between Computer(pc) and usb device(atmega8 + v-usb) i found several cryptography library for 8bit microcontroller https://cryptolux.org/Links_to_Embedded_Crypto_Implementations and many cryptography library for Computers like http://www.polarssl.org the cryptogr...
by dehghanimeh
Fri Oct 23, 2009 10:35 am
Forum: V-USB
Topic: very time cost function in v-usb
Replies: 1
Views: 2331

very time cost function in v-usb

when i using a very time cost function(2s to 12s) in usbFunctionWrite or usbFunctionRead (hid-data sample)the usb device disconnected.
i use usbPoll function in my function and upgrate my crystal to 20mhz .but stay my problem
how can i solve this problem?
thank you
by dehghanimeh
Thu Jan 29, 2009 11:30 pm
Forum: V-USB
Topic: compile hid-data host software sample
Replies: 3
Views: 4027

I use win xp pro and install DDK. $ cd commandline Mehdi@MEHDI-XP ~/examples/hid-data/commandline $ make -f MakeFile.windows gcc -o hidtool.exe hidtool.o hiddata.o -lhid -lusb -lsetupapi C:\AVR\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lusb collect2: ld returned...
by dehghanimeh
Mon Jan 12, 2009 12:01 pm
Forum: V-USB
Topic: compile hid-data host software sample
Replies: 3
Views: 4027

compile hid-data host software sample

hi
I want to create usb hid-data device
but I can't compile the host sample on win or linux.
please help me about how can I comile it with mingw or vs6.
thank