[comp.sys.att] 3B2/400 data transfer higher than 3

bsteve@gorgo.UUCP (05/01/87)

Steve Haran writes:
>I'm trying to transmit data from a DATA I/O 29B prom programmer
>to a 3B2/400. The DATA I/O will send data at several baud rates,
>but it seems that my 3B2 will only accept data sent to it at 300
>baud. Does anyone have a clue as to how I might speed things up.
>This is the way I currently transfer data.
>
>1. connect DATA I/O to tty12
>	inittab entry for tty12 is -->	12:2:off:/etc/getty tty12 tty12
>
>2. execute 'cat /dev/tty12 > ouputfile' on 3B2
>
>3. send data up from DATA I/O at 300 baud

I wouldn't have responded but for the numerous misleading responses to
this one. First off, inittab has no bearing on the port modes unless
it respawns a getty or something else on the port. Second, cat is probably
not sufficient for your application, since the default port mode also
has raw mode set and software flow control turned off. If you use an EPORTS
board under SVR3.1 you can get hardware flow control and may still be
able to use cat after a fashion.

The correct approach to this includes a C program that you run on the
port that sets the baudrate appropriately and the operational mode
of the port appropriately. The real problem with reading from prom
reader/programmers is that there is not a real end-of-file generated.
The DataIO won't necessarily drop the CD line at the end of transmission,
so your program must detect the end of data itself. To add an additional
fly to the ointment, early versions of the DataIO programmer do not support
software handshake at all, thus requiring the use of 1200 bps or less on
a conventional ports board on the 400 OR the use of the Eports board
with SVR3.1.


  Steve Blasingame (Oklahoma City)
  ihnp4!gorgo!bsteve