Quote Originally Posted by Darrel Taylor
Well, I don't really know.

But, the datasheet for the 18F4550 shows 12 different interrupts from the USB module that all funnel into the single USB_INT. So I doubt it's that easy.

But if I were going to try it, I might set the ...

TRNIE: Transaction Complete Interrupt Enable bit

and see what happens.

DT

Added: and then all the others just to be sure.

WHAT DO YOU MEAN "You don't know?"


Hmmm, I would tend to believe that flag does not distinguish between upload and download transactions; I really need a PC-to-PIC complete flag.

Well, since I have an interrupt controlling user input on the PIC, I can just loop the PC-to-PIC USB routine. This will make things much easier to manage, I'm not very fond of using that all-encompassing USB_INT interrupt.

Now if I can only find out why Windows won't recognize the device, things would be peachy:
http://www.picbasic.co.uk/forum/show...8&postcount=55

Robert