PDA

View Full Version : create an USB virtual serial port on pic18f4550



iw2fvo
- 22nd November 2016, 19:54
Thank for the previous reply. I would like to pose question in a different way:
I am using the pb 2.50b since long time ago with good results. Now my PC's do not have the serial port anymore.
I decided to switch to the pic18f 4550 that has the USB hw interface on board. But now I am in trouble since I do not know what is the way to install the firmware for having a virtual serial port on the USB :I would like to use it as I did use the serial in the past.
I am asking if someone could help me in achieving that suggesting a ready to install sw pack ?
Thanks
regards,
Ambro

richard
- 23rd November 2016, 00:59
it looks like none of this stuff has been kept up to date , since the w10 anniversary update none of my pbp usb devices have valid drivers any longer.
even the demos fail miserably.

towlerg
- 23rd November 2016, 15:13
This is just a guess but try the drivers from Microchip, you'll find them in the MLA.

Scampy
- 23rd November 2016, 18:04
If I've read the post correctly, you want to use the USB connectivity of the 18F4550 in the same way as using the normal serial statements when communicating with an RS232 type port. USB connectivity isn't that straight forward, however I would suggest that you look at using an FTDI based USB to serial converter, either as one of their cables or a small breakout board. This will mean you don't need to change PICs, and have USB connectivity at the PC, with the connection being seen as a standard COM port on the PC. If you get a genuine FTDI chipset (ie not a doggy £3 cable off e-bay) the drivers are supported under windows 10.

iw2fvo
- 23rd November 2016, 18:42
Thanks Scampy.
this will be a ready available solution and it is strightforward.
regards,
Ambrogio