PIC Serial USB & PC Comports
Posted: Sat Sep 04, 2010 2:48 pm
Hi
If I can a couple of questions in one but both very related (for me anyway).
I have with the help of you guys got my pic18F2550's talking to a PC over USB (serial USB configuration), it works great with the following exceptions that I hope someone can help me out...
The when I send serial data over USB to the PC from the PICs it is at 9600 baud, is there any way of making this faster? say 19200?
And when the pics are connected to the USB ports of my PC they come up at com 10 and above, a lot of the times it is over com 16 and that is causing me problems. I am using Visual Basic 6 pro to write the PC side of things and that can only talk to com ports up to com 16, anything above that it doesn't want to know.
I have heard that if a USB serial device is given a serial number it will show up on any PC it is plugged into on the same com port every time, any idea how I do that? Is it in the driver or the software on the pic? Or.... any help on making VB6 talk to com ports above 16?? I have searched all day looking for a fix but have only found VB6 extras that want to charge me in excess of £50
So... some help in the pic side of things would be very much appreciated.
Regards
If I can a couple of questions in one but both very related (for me anyway).
I have with the help of you guys got my pic18F2550's talking to a PC over USB (serial USB configuration), it works great with the following exceptions that I hope someone can help me out...
The when I send serial data over USB to the PC from the PICs it is at 9600 baud, is there any way of making this faster? say 19200?
And when the pics are connected to the USB ports of my PC they come up at com 10 and above, a lot of the times it is over com 16 and that is causing me problems. I am using Visual Basic 6 pro to write the PC side of things and that can only talk to com ports up to com 16, anything above that it doesn't want to know.
I have heard that if a USB serial device is given a serial number it will show up on any PC it is plugged into on the same com port every time, any idea how I do that? Is it in the driver or the software on the pic? Or.... any help on making VB6 talk to com ports above 16?? I have searched all day looking for a fix but have only found VB6 extras that want to charge me in excess of £50
So... some help in the pic side of things would be very much appreciated.
Regards