I'm using a PIC 18F4685 running 8Mhz w/ 4x PLL at 32mhz. I'm using the CCS compiler. I also have a Max233 in the mix as well.
I'm using the printf("") to send my string data back.
My PIC application works fine with a normal(real) serial port on my desktop.
But when I use my Prolific usb to serial converter I have a problem receiving data from PIC. The PIC receives my command fine from the PC via the Prolific, but the data sent back from the PIC to the PC becomes all garbled.
I've tried several versions of the prolific driver as well without any luck.
I've tried several PC side applications as well with all the same result.
Any ideas? I'm kinda stumped.....as to what the problem might be.
parity=E you have parity enabled
surely it should be parity=1
also perhaps your streem doesnt take parity into account bi dir
as the target port may not be set to allow parity coms
in this case the usb interface
there maybe an adjustment in its driver applet to allow parity
as it may not be driver file rx tx deep
try adjusting the driver for the virtual serial thing
i use a serial hub for comvdd too allow you to use an adjuster and tag on another adjuster instance
within the same simulation
handy for psus it means you can have two vairents of a circuit running and adjust both at once
however if i use parity i must adjust the hub cable
just a thought...