Search found 18 matches

by pronk
28 Sep 2009 03:04
Forum: mikroC General
Topic: Error Routine InitUSBdsc not defined
Replies: 14
Views: 7534

try using another version of micro c if this error appear again
if you can send your project files , i will try to compile it
by pronk
21 Sep 2009 03:17
Forum: mikroC General
Topic: Error Routine InitUSBdsc not defined
Replies: 14
Views: 7534

Put a delay about 200ms in do-while loop and try
by pronk
04 Sep 2009 15:34
Forum: mikroC General
Topic: USB project
Replies: 5
Views: 3499

Re: USB project

open c:\program files\Mikroelektronika\mikroC PRO for PIC\Examples\Internal MCU modules\p18F4550\HID Read Write Test

you will find VARs.h and Definit.h copy and paste them in your project folder
by pronk
03 Sep 2009 16:36
Forum: mikroC General
Topic: usb problem using 18f4550
Replies: 17
Views: 13752

Thank you alot yt7pwr. I can now send and recieve data using hid terminal of mikroc . now i tried to use a bootloader , i installed MCHPFSUSB then C:\Microchip Solutions\USB Device - Bootloaders\HID - Bootloader\ then i programed my pic to USB Device - HID - HID Bootloader - C18 - PIC18F4450.hex fil...
by pronk
01 Sep 2009 13:03
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

Sorry if I missed this info- I scanned the thread but didnt see it. Donot worry at all .Thank you alot for your reply wooooooooooooooooooow my code is now working i put some delays in the loop as you say and it works excellant now . thanks alot but when i send 1 the Ic writes to me AAAAAAA .i want ...
by pronk
01 Sep 2009 00:40
Forum: mikroC General
Topic: usb problem using 18f4550
Replies: 17
Views: 13752

Try example "Hid ReadWrite test" in example folder. If that dont help try MicroC Pro compiler version. thank you alot for your reply I have some questions what exactly this function do ? HID_Write(&userWR_buffer, 1) if it takes one byte from the buffer as random? or the first byte only userWR_buffe...
by pronk
31 Aug 2009 23:39
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

pronk wrote:Thank you alot.
but when i use ur code this message is appear again
Image

my setting is
Image

do you thing that is from the configurations ?
if yes , what configrations do you use ?
by pronk
31 Aug 2009 23:37
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

Thank you alot.
but when i use ur code this message is appear again
Image

do you thing that is from the configurations ?
if yes , what configrations do you use ?
by pronk
31 Aug 2009 19:22
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

Post your code hard to say with out your new verion of code this is an new code program usb18f4550 include USBdsc Dim k as byte Dim userWR_buffer as byte[64] Dim userRD_buffer as byte[64] sub procedure interrupt HID_InterruptProc end sub sub procedure Init_Main '------------------------------------...
by pronk
31 Aug 2009 02:17
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

I am also new to all this HID USB stuff However if you are using the dsc file from the mE example I expect that it has speciied the In and out report lenghts as 1 and you are sending 8 make a new dsc file and specify the IN and out lengths as 8 use a new VID to do this as long as you use the applic...
by pronk
30 Aug 2009 03:06
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

I think your Microcontroller is not runnig or you have an error in your USBdsc file . did you generate the descriptor file to suite your In and output report lengths did you enable the USB regulator in the configuration Thank u alot for your reply my microcontroller is running because when i put th...
by pronk
29 Aug 2009 02:52
Forum: mikroC General
Topic: usb problem using 18f4550
Replies: 17
Views: 13752

Try HIDTerminal from MicroE for testing and HID echo example. I tried hid terminal but there is nothing happen and now when i chang any thing in the code my pc say http://img194.imageshack.us/img194/5088/94101258.jpg i need a help , i realy donot know my error :cry: i tried to write my program in b...
by pronk
29 Aug 2009 01:57
Forum: mikroBasic PRO for PIC General
Topic: usb hid problem using pic18f4550
Replies: 12
Views: 5639

usb hid problem using pic18f4550

I have a problem that when i connect the usb to my pc this message appears http://img194.imageshack.us/img194/5088/94101258.jpg my program is program usb18f4550 include USBdsc Dim k as byte Dim userWR_buffer as byte[64] Dim userRD_buffer as byte[64] sub procedure interrupt HID_InterruptProc end sub ...
by pronk
22 Jul 2009 19:26
Forum: mikroC General
Topic: usb problem using 18f4550
Replies: 17
Views: 13752

:lol: thank you yt7pwr the proteus now detect a usb and then i made the circuit on a board and now in practical my computer detects a new hardware but now I cannot sending or recieving a data
Image

what do you think i must do now?

Go to advanced search