From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a438e555c2c12bb2,start X-Google-Attributes: gid1164f8,public From: jens@cs.tu-berlin.de (Jens Bruening) Subject: Access of printer port on AlphaStation 200 Date: 1996/01/12 Message-ID: <4d62dr$3vj@news.cs.tu-berlin.de>#1/1 X-Deja-AN: 135143280 organization: TU Berlin Fachbereich Informatik content-type: text/plain; charset=iso-8859-1 mime-version: 1.0 newsgroups: comp.sys.dec Our problem =========== We (AEG Mobile Communication GmbH in Ulm, Germany) need a possibility to access our target systems (mobile phones) directly from the developer's workstation (AlphaStation 200 with OSF1, SUN workstations with SunOS). We don't want to overload our LAN with software downloads and therefore look for a solution to connect the target (via the Motorola Background Debug Mode = BDM interface) directly to the workstation. The printer port seems to be designed to solve this problem. For the PC market there exist lots of completely developed I/O hardware devices that permit access to nearly everything, including A/D converters, relay switches and BDM adaptors. In the UNIX world there doesn't seem to be a similar solution. Requirements for our special needs ================================== What we need is a possibility to access the printer port of an 'AlphaStation 200' with OSF1 (and of a SUN workstation with SunOS) directly, while bypassing all existing printer device drivers. A simple routine which shows how to make lowest-level accesses to the printer port hardware registers (Output a byte of data, set and reset the printer control lines, Input of printer status lines) is everything necessary for us. With the help of this example routine we will be able to build the complete software for accesses to an externally connected hardware device. In our case this will be the BDM interface. In future we intend to do JTAG accesses as well. We assume that the hardware registers of the printer port of an AlphaStation are laid out similar to the printer port of a PC, and that the access to certain pins on the connector is made through the same bits of the same port addresses. Please correct us if we're wrong. Any hints welcome. Please answer via email, since we have no regular access to news. Answers to jens@cs.tu-berlin.de or bruening@amc.de. Many thanks for your cooperation. Jens