Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!husc6!cmcl2!rna!cubsvax!dss From: dss@cubsvax.UUCP (David Silver) Newsgroups: net.micro.amiga Subject: Re: Sending multiple chars out serial port Message-ID: <532@cubsvax.UUCP> Date: Fri, 22-Aug-86 12:49:26 EDT Article-I.D.: cubsvax.532 Posted: Fri Aug 22 12:49:26 1986 Date-Received: Wed, 27-Aug-86 09:59:35 EDT References: Reply-To: dss@cubsvax.UUCP (David Silver) Organization: Columbia Univ. Bio. CG Fac., NY Lines: 24 In article dyon@batcomputer.UUCP (Dyon Anniballi) writes: >From dyon Wed Aug 20 22:35:49 EDT 1986 > >Ok, this function works perfectly if "length = 1", ie if you are only >writing one character out the port. However, if we are writing a >known length string out the port, say "char data[5] = {'h','e','l','l','o'} " >and we give data = &data[0] and length = 5, then we get maybe the >first two characters received by the serial listener fine, but the rest >is random garbage chars. By the way, this occurs at Baud rates as slow I have had no problem sending any number of chars out through the serial port at 31.25 Kbaud (midi rates) using appropriately set io_Length and io_Data fields in my IO request structure. I have exercised no voo-doo which is not easily found in the RKM. I'm running V1.1 WB. Sorry I can't corroborate your findings, but maybe this will serve to convince you to look elsewhere for the source of your difficulty. I would be glad to mail you some code, but as I say, it's right out of the RKM. -- David Silver {philabs,rna}!cubsvax!dss cubsvax!dss@columbia