Hello All,
First of all let me say thanks to the lot of you for all the great info here in this forum. I've
recently used a few ideas from here and I didn't want to just take the code and run. Also
for DT_Ints. Code with this much functionality deserves a thanks. I'm sure it will probably
save my dignity some day.
I've been using the PIC for about 6 years now for work and home projects and I've managed
to learn on my own but I think I'm getting into deeper waters now. I need to ask for help.
I came across this post but I am having trouble making it work.
http://www.picbasic.co.uk/forum/show...4292#post94292
The PC does not recognize the device at all. But before you say, uh oh ... not another
clown who can't figure out USB, I have had success using other techniques.
I currently have a good connection using a timer interrupt to run USBSERVICE. The timer is set for 2.7ms. Anything slower and I have an intermittent connection. (or not at all)
I've used this at home with great success. But recently I've tried this on a computer at work
and it drops the connection after about 10 minutes. Tomorrow I am going to increase the
timer interrupt to see if that fixes it.
But I saw the post about CDC and USB interrupts and said that's a hell of lot better than a timer.
Here's what I'm using:
WinXP
PBPro v2.6b
MPLab v8.33
PIC18F2458
Vusb 0.33uF
PicKit2
20MHz Ext. Clock
Any suggestions is much appreciated
thanks -
Mike
Bookmarks