I tried to write PBP programm with an interruption on USB bus activity.
Here is my code ..
http://www.picbasic.co.uk/forum/showthread.php?t=3434
Any ideas ?
I tried to write PBP programm with an interruption on USB bus activity.
Here is my code ..
http://www.picbasic.co.uk/forum/showthread.php?t=3434
Any ideas ?
CDC is using the Virtual COM Port Similar to a serial COM port. not the USB Port. Make sure you know the difference. CDC uses a serial communication Protocol, while the USB uses it's own protocol, stacks, etc.
Srig
for sure, but CDC is th way to be recognise by PC. I use USB WITH CDC protocol.
USB or USB CDC it doesn't change the way to code a USB com in PBP.
For example : when you're waiting for a byte from the PC , you will use "USBin" command. The PC will send you a byte thru his virtual com port but for you it will come in PIC as a standart USB communication.
So logicaly it will be possible to try to detect this activity... but i don't know how![]()
Bookmarks