Endpoint  bulk  in jb 16.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Endpoint  bulk  in jb 16.

1,054 Views
fredycolombia
Contributor I
Hi,

I have used testhid in jb16 to sending any data through  usb interface.
I only put  dato=PTA, and then I put it on   KbBuffer[0]=dato. The problem is that the data mean rate is to slow (2Kbytes/s) and  I need to increment data rate.

Now I burn TBDML_JB16 and windows recognize like "USB DEVICE" , I have used usbio driver and this identify endpoint like bulk.   I want to send it data through  usb without use bdm in this firmware, but I don't know where I can put "dato" or how to do the same as in  testhid  to send any data through usb.

I attach firmwares and  images about my problem.  I appreciate your help.

regards
Fredy.

firmwares_and_jpg_bulk.zip
Message Edited by t.dowe on 2009-10-19 10:46 AM
Labels (1)
0 Kudos
2 Replies

303 Views
JimDon
Senior Contributor III
You need to change bInterval in the endpoint descriptor.
- descriptor's bInterval value indicates the requested maximum number of milliseconds between transactions.

I highly recommend you get a JM60 Demo board and go with that. The generic hid demo pumps data quite well and the CDC demo work at 115K baud.
0 Kudos

303 Views
fredycolombia
Contributor I
Hi jim,

Thanks for answer, I  have already JM60, and I agree  with your suggestion, I think is a good  mcu to use usb.

regards,
fredy





Message Edited by fredycolombia on 2008-02-16 01:01 PM
0 Kudos