Hi Pavel, I've implemented a bunch of communications protocols using the MSCOMM control for my job, and it's relatively easy. I did it with visual C++ so VB should be easier. I've had no problems whatsoever with the control. Just remember to set it up as a binary or ascii transmission. > -----Original Message----- > From: =?iso-8859-2?Q?Pavel_Ko=F8ensk=FD?= [SMTP:pavel.korensky@DATOR3.CZ] > Sent: Tuesday, February 17, 2004 10:42 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: 9bit RS-485 network and PC/WinXP ? > > Hello, > > I need to debug the networking protocol implemented in the PIC16F88. > Network is based on half-duplex RS-485 and the protocol use 9bit serial > communication (if the Bit8 is set, byte is address/command). Speed is > 19.200 Bd. > > I would like to use PC with simple Visual Basic 6.0 program for > debugging purposes (sending commands to network, receiving answers from > slaves etc.) > > I was planning to use standard MSComm object for communication, mode 8 > data bits, 1 parity bit and 1 stop bit. Parity either MARK or SPACE for > address and data. > But I found in several discussions, that this method does not work > correctly. > > Anybody tried this ? And, if this approach does not work, what are the > options ? > > It is a hobby project (network in a small robot) and I do not want to > buy special Windows drivers or fancy adapters. All what I need is to be > able to talk with several PICs in PWM/PID motor drivers, sensors etc. > and debug their firmware. > > > Thank you very much for any ideas. > > > > Best regards > > PavelK -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads