View previous topic :: View next topic |
Author |
Message |
JoeR
Joined: 26 Jul 2008 Posts: 3
|
USB CDC issue? |
Posted: Tue Jul 29, 2008 7:46 am |
|
|
Anyone else experience this.
I am using the USB CDC library on a PIC18F45550. And it works, usually.
If my pc host app is connected and talking across the USB, no problems.
If the USB is disconnected from the PC, no problem.
IF the USB is connected and the board is running, but the App is not running/exchanging data it will lock in about 2 minutes.
Is there a buffer thats filling...?
Should I catch the usb interrupt?
Thanks,
Joe |
|
|
abraxas Guest
|
same thing |
Posted: Mon Aug 25, 2008 1:43 pm |
|
|
got the same problem as you |
|
|
alex1784
Joined: 23 Aug 2008 Posts: 2
|
|
Posted: Tue Aug 26, 2008 1:22 pm |
|
|
Hi. I am a novice at this, but I recommend you before sending any data to USB module, verify flag of conextion:
Code: |
if(usb_cdc_carrier.dte_present){
...//send data
}
|
|
|
|
|