Date: Thu, 25 Jan 2001 19:26:17 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: JURAK Mihaly Message-Id: <2950-Thu25Jan2001192614+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <3A70368F.578C101E@mm.bme.hu> (message from JURAK Mihaly on Thu, 25 Jan 2001 15:22:07 +0100) Subject: Re: serial com References: <3A6D8201 DOT 24783550 AT mm DOT bme DOT hu> <94k43k$du3vv$1 AT ID-57378 DOT news DOT dfncis DOT de> <3A6D984A DOT F22716B1 AT mm DOT bme DOT hu> <94k5uk$e3874$1 AT ID-57378 DOT news DOT dfncis DOT de> <3A6DA064 DOT FB98761A AT mm DOT bme DOT hu> <94knel$e3ht7$1 AT ID-57378 DOT news DOT dfncis DOT de> <3A6FD5DD DOT 6AD151AD AT mm DOT bme DOT hu> <3A70368F DOT 578C101E AT mm DOT bme DOT hu> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: JURAK Mihaly > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 25 Jan 2001 15:22:07 +0100 > > > > > > Thanks > > > Although it is not a modem, I found the parameters as 9600,8,N,1 > > > > Standard parameter choice. XXXXX,8,N,1 should work with most devices when > > XXXXX varies from 4800 to 115200. > > Now I'm able to controll the device, but about every second character produce a > Framing error. Does anyone know what is it? Framing error means that the parameters with which you set the UART are incorrect. A "frame" is a unit of information used in async communications to transmit data. For 8,N,1 the frame consists of a start bit, 8 data bits, and a stop bit. This is what the UART expects; if it detects a stop bit that is not at the end of a 10-bit packet, it issues a Framing error, meaning that the frame it received is incompatible with what it was told to expect.