Hi Laurence, I don't have a solution to your problem, unfortunately, but maybe you can help me. I also got the Proteus Virtual Simulator + the '874 model. However, I can't get it to work, not even a simple setting of output pins. I'm using a simple piece of software that runs on the hardware OK, but no success with the VSM. Could you mail me a source (jan.didden@skintech.be) that you know runs on the VSM so I can see what I maybe do wrong? Thanks beforehand, Jan Didden By the way PIClisters, it's worthwhile to check out www.labcenter.co.uk, their VSM simulates pic systems interactively, i.e. you mouse-click a switch on the schematic and the pic reacts etc. Including interactive debugging etc. Very neat! There is a lite version for < 100 US$ ----- Original Message ----- From: "Laurence Evans" To: Sent: Wednesday, November 28, 2001 12:48 PM Subject: [PIC]: UART Rx Problems > Hello All, > > I am having trouble with the UART of an 16F877. > > I am using a piece of software which simulates the PIC extremely > well and does simulate the UART (Proteous). Every time I initialise > the UART the Rx State changes to "Start Bit" straight away > despite the input being configured as an input and its being driven > high. > > The UART goes to start bit as soon as the instruction: > > bsf rcsta, cren > > is executed. Because the UART thinks it has recived a start bit, it > gets a framing error which is impossible to clear for some reason. > Mabe its because the UART status goes immediatly to start bit > again after recieveing anything ???? > > Thanks for any help in advance > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body