Endpoint  bulk  in jb 16.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Endpoint  bulk  in jb 16.

1,104 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

353 次查看
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 项奖励
回复

353 次查看
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 项奖励
回复