H89-USB CONTROLLER V1_0-2

Transcription

H89-USB CONTROLLER V1_0-2
2013
H89-USB/SERIAL CONTROLLER
Norberto Collado
[email protected]
12/31/2013
Revision History and Disclaimer
Revision History
Revision
Date
Comments
1.0
12/31/2013
Initial draft by Norberto Collado
The purpose of this document is to “SUPPORT” those who still use these great Heathkit
machines and to preserve the information of those who made a difference.
Another purpose of this document is to allow the surviving classic computers to continue to
function. Without the proper software support, the hardware cannot be seen in action, and a
piece of our digital history is lost. I have not included any material in this document which I
believe has current commercial value. Most of the material in this document is the intellectual
property of other companies or individuals. However many of the companies are no longer in
existence, and I do not have current contact information to obtained permission to include
them.
Please don't use any of this material for any purpose other than personal hobby/interest
without checking with the owner of the material.
Thank you for your understanding and consideration.
1/1/2014 7:45:37 PM
Page | 2
Table of Contents
Revision History and Disclaimer.................................................................................................................... 2
Table of Contents .......................................................................................................................................... 3
Introduction .................................................................................................................................................. 4
H89-USB/SERIAL Controller .......................................................................................................................... 4
Jumper Configuration ................................................................................................................................... 4
H89-USB/SERIAL Interface Register Definition ............................................................................................. 8
Board Assembly ............................................................................................................................................ 9
Installing the FT245 breakout Controller .................................................................................................... 14
Installing the VDIP1 Controller.................................................................................................................... 21
Testing of VDIP 1 via H89 MTR-90 Monitor ................................................................................................ 23
Testing the VDIP1 Controller with Glenn HDOS Utilities ............................................................................ 24
VTALK: ..................................................................................................................................................... 25
VDIR: ....................................................................................................................................................... 26
VGET: ....................................................................................................................................................... 26
VPUT:....................................................................................................................................................... 27
Testing the FT245 Controller with Windows and the MTR90 Monitor ...................................................... 28
Testing the ACE “DCE” Serial Ports ............................................................................................................. 32
FT245 Utilities by Dan Emrick ..................................................................................................................... 32
Installing H89 backplane Key pin ................................................................................................................ 32
Rework instructions to support the 74HCT74 IC in U610 location. ............................................................ 32
H89-USB/SERIAL TIE-WRAP......................................................................................................................... 33
1/1/2014 7:45:37 PM
Page | 3
Introduction
This document provides an overview on the H89-USB controller board assembly design by
Norberto Collado for the Heathkit H8 Computer.
H89-USB/SERIAL Controller
The H89-USB/SERIAL controller contains the FT245R which is a USB to parallel FIFO interface
and the VDIP1 Vinculum VNC1L device which supports two USB host ports. The FT245 USB
interface connects to your Windows or Linux workstation for H8D images or file transfers. The
VDIP1 controller allows the transfer of files between the PC and the H89 by using a USB flash
media device. Also it supports two ACE PORTS to connect to a line printer and a PC for files
transfers.
The H89-USB/SERIAL controller is operable at any CPU speed up to 4 MHz and it mounts inside
the H89 computer cabinet.
Jumper Configuration
(
) Solder two 3x2 pin header (LP, DCE) and insert a jumper across INT5 as shown below.
1/1/2014 7:45:37 PM
Page | 4
These jumpers determine the interrupt priority of the ports. When no jumper is
installed, no interrupt exists for that port. By installing the jumper at 3, 4, or 5, a
restart 30, 40, or 50 (respectively) instruction is executed when the interrupt for
that port occurs. If the ACE is set to generate, interrupts are vectored through
MTR-90 and UNIVEC.
The first port on the circuit is located at address 340/347 and it is used by HDOS
and CP/M as the Line Printer port. However, it is not restricted to that use only,
since it is a standard RS-232C interface with a “DCE” connector.
The second port on the circuit is located at address 320/327 is also available for
“DCE” applications.
( ) Solder a three pin header (JP2) and insert Jumper across between VCCIO and +5V as shown
(VCCIO gets power from the H89 power rail).
1/1/2014 7:45:37 PM
Page | 5
(
) VDIP1 FIFO jumper settings. J3 and J4 jumpers configuration for FIFO mode. Set J4 – Jumper
across pins 2-3 (Ground), Set J3 – Jumper across pins 1-2 (High) as shown below.
1/1/2014 7:45:37 PM
Page | 6
1/1/2014 7:45:37 PM
Page | 7
H89-USB/SERIAL Interface Register Definition
The bit definition for each register is described below:
HEX
Address
0xD8
0xD9
0xDA
0XE0
0XD0
Octal
Address
330Q
331Q
332Q
340Q
320Q
FT245/VDIP1 Status
Register
Operation
FT245 Controller
VDIP1 Controller
FT245/VDIP1 Status
Line Printer
DCE
Read and Write
Read and Write
Read Only
Read and Write
Read and Write
Input Address (0x332Q)
bit 7
SPARE - high level
bit 6
SPARE - high level
bit 5
SPARE - high level
bit 4
SPARE - high level
VDIP1 RXE# - When "low", do not read data from the FIFO. When "high", there is
data available in the FIFO which can be read by stro bing RD# low, then high
again.
bit 3
bit 2
bit 1
bit 0
1/1/2014 7:45:37 PM
VDIP1 TXE# - When "low", do not write data into the FIFO. When "high", data can
be written into the FIFO by strobing WR high, then low.
FT245 RXE# - When "low", do not read data from the FIFO. When "high", there is
data available in the FIFO which can be read by strobing RD# low, then high
again. During reset this signal pin is tri-state.
FT245 TXE# - When "low", do not write data into the FIFO. When "high", data can
be written into the FIFO by strobing WR high, then low. During reset this signal
pin is tri-state.
Page | 8
Board Assembly
1. Install all 0.01uF caps (C1,C2,C3,C4,C8,C9,C10,C11,C13,C16,C17)
2. Install all .0001uF caps (C18,C19,C20,C21,C22,C23,C24)
3. Install all ferrite beads for EMI control
(L601,L601,L602,L604,L605,L606,L607,L608,L609,L610,L611,L612,L613,L614)
4. Install 47pf caps at location C5 & C6
5. Install C7, C12, C13, C14, C15, and C17 - 2.2uF caps (observed polarity).
6. Install Green LED’s – LED1 and LED2 (observed polarity).
1/1/2014 7:45:37 PM
Page | 9
7. Install D3, D4 – 1N4004 diodes.
8. Install R1, R2 – 330 OHMS resistors.
9. Install R4, R5, R9, R10, R601 – 1K OHMS resistors.
10. Install R602,R603,R604,R608,R608,R605 – 150 OHMS resistors
1/1/2014 7:45:37 PM
Page | 10
11. Install R3 – 10K OHMS resistor.
12. Do not install R6, R7, and R8 10K resistors.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
Install FB1 – Ferrite Bead.
Install RESETTABLE FUSE – F1
Install CONN1 USB-2
Install all 14 pin IC sockets.
Install all 16 PIN IC sockets.
Install all 20 pin IC sockets.
Install 3 pin header (JP2).
Install 3x2 pin headers (LP, DCE)
Install 25 PIN MB Connector (P602)
Install 10 PIN MB Connector (P601)
Install 15-pin headers right angle (P603, P604)
1/1/2014 7:45:37 PM
Page | 11
24. Install U610 – 74F74 IC. Do not install a 74HCT74 IC.
1/1/2014 7:45:37 PM
Page | 12
25. Install U601 – 74LS05 or 74LS06 IC. Do not install a 74HCT04 IC.
26.
27.
28.
29.
30.
31.
Install U1 – 74LS04 or 74HCT04 IC.
Install U2, U3 – 74LS125 IC’s.
Install U604 – 74LS138 IC.
Install U606, U608 – DS1488/75188 IC’s.
Install U605, U607 – DS1489/75189 IC’s.
Install U602, U603 – ICS16550 IC’s.
1/1/2014 7:45:37 PM
Page | 13
Installing the FT245 breakout Controller
1. The FT245 breakout board comes with no header pins installed. Please follow the steps as
indicated for correct placement.
1/1/2014 7:45:37 PM
Page | 14
2. Insert the 1x9 male machined pin headers. The header can only be inserted in one direction to
mate properly with the female SIP. Do not solder the header to the FT245.
3. Insert the female SIP header to ensure that we have the correct orientation. Do not solder the
header to the FT245.
1/1/2014 7:45:37 PM
Page | 15
4. Insert 1x9 machined pin header and female SIP header on both sides of the FT245 board. Do not
solder side two yet!
5. Place FT245 board on top of the 1x9 machined pin headers.
1/1/2014 7:45:37 PM
Page | 16
6. While pushing down on the board, solder the 1x9 male pin headers from the top of the board.
1/1/2014 7:45:37 PM
Page | 17
7. Now solder side 2 of the 1x9 pins and then add two tied-wraps’ to keep board in place.
1/1/2014 7:45:37 PM
Page | 18
8. There is a solder bridge on the FT245 that we need to remove.
9. Using de-soldering braid remove the solder bridge as shown below (from Radio Shack)
1/1/2014 7:45:37 PM
Page | 19
10. Attached and secure USB cable as shown. Keep USB cable perpendicular to the H89-USB board
to avoid stressing the FT245 USB female connector.
1/1/2014 7:45:37 PM
Page | 20
Installing the VDIP1 Controller
11. Solder a 24 pin machined tooled low profile socket. This is an important requirement because
the VDIP1 controller uses the male SIP header.
1/1/2014 7:45:37 PM
Page | 21
12. Insert VDIP1 controller and secure controller with a tied-wrap.
1/1/2014 7:45:37 PM
Page | 22
13. Insert USB cable into the VDIP1 controller and secure cable with a tied-wrap as shown.
Testing of VDIP 1 via H89 MTR-90 Monitor
On an H89 system you can use the MTR-90 Monitor to test the VDIP-1 interface. The monitor can be
used to directly read and write to specific hardware ports. The VDIP data port is 331 (octal) and the
status port is 332 (octal). When you power cycle or reset the system the VDIP will generate a standard
power on report which normally looks like the following:
Ver 03.69VDAPF On-Line:
Device Detected P2
No Upgrade
D:\>
This assumes that there is a flash disk inserted (hence the “Device Detected P2” message). After a
system reset this data is stored in the VDIP cache until it is read. Here is how to read it from the MTR-90
Monitor:
1. Hardware reset the H89 or do a [Shift/RESET] key combination to reset via the H89 keyboard.
2. Read from the data port as follows, using the MTR-90 Monitor:
H: In 331 <cr>
3. You should see the following displayed on the H89 display: 0 1 5. This is the ASCII Carriage Return
character (that is the first character output by the device, not visible in the listing shown above).
4. Continue to type “H: In 331 <cr>” and you will get successive characters. You should see:
1/1/2014 7:45:37 PM
Page | 23
126
145
162
040
060
063
056
…
5. This is the ASCII equivalent of the power on report (i.e. “Ver 03.69VDAPF …”).
6. Continue to type “H: In 331 <cr>” until all of the data is read (about 60 bytes total). The last character
is a Carriage Return – when you get there successive “H: In 331 <cr>” will simply continue to yield the
last byte read, namely 0 1 5.
Testing the VDIP1 Controller with Glenn HDOS Utilities
1. Download VTALK.ABS utility from the following website by Glenn Roberts;
http://koyado.com/Heathkit/H-8_USB.html
2. Insert a FAT32 formatted USB flash device into the VDIP1 controller.
3. From the HDOS prompt type VTALK.ABS
4. Press the enter key to get the VDP1 prompt. Type DIR to display USB contents.
5. Type Control-C to exit the VTALK utility.
6. That completes the test of the VDIP1 controller.
Email: Glenn Roberts [email protected]
1/1/2014 7:45:37 PM
Page | 24
VTALK:
1/1/2014 7:45:37 PM
Page | 25
VDIR:
VGET:
1/1/2014 7:45:37 PM
Page | 26
VPUT:
1/1/2014 7:45:37 PM
Page | 27
Testing the FT245 Controller with Windows and the
MTR90 Monitor
1. Download from the ftdichip web site the Windows driver for the FT245 controller;
http://www.ftdichip.com/FTDrivers.htm
2. Insert FT245 USB cable into the Windows PC.
3. Open the Device Manager to find the port number. In my case is COM8.
4.
1/1/2014 7:45:37 PM
Page | 28
5. Open Putty and configured it for COM8 (in my case) as shown below. The baud rate does not
matter anymore because we are doing FIFO data transfers. COOL!
6. Reset the H89 computer to be at the “H:” prompt.
1/1/2014 7:45:37 PM
Page | 29
7. On putty type the letter “A”, nothing will be displayed.
8. On the H89 MTR90 Monitor type the following;
a. H: In 330 <cr>
101 ; you should get the 101 character = letter “A”
b. H: Out 330, 101 <cr>
9. The putty application should display the character “A”. How about that for the H89 without the
need to set up any baud rate.
1/1/2014 7:45:37 PM
Page | 30
10. That completes the test of the FT245 controller. 
Note: if the above test fails that could mean that the Port address (330Q) is not
working properly. Please review for correct IC placements because it could be
that a component was placed backwards. Finally re-flow side 2 of the board to
ensure that everything is soldered properly.
1/1/2014 7:45:37 PM
Page | 31
Testing the ACE “DCE” Serial Ports
The following website contains a link on how to program the “ACE” ports;
http://sebhc.lesbird.com/documentation/hardware/HZ89/H-88_Op.zip
FT245 Utilities by Dan Emrick
The following website contains a link to the FT245 utilities by Dan Emrick.
http://koyado.com/Heathkit/H-8_USB.html
Email: Dan Emrick [email protected]
Installing H89 backplane Key pin
This is the most important and simple operation that we need to do in order to avoid burning out the
H89 motherboard traces when the board is inserted and it is off by one pin.
Using Super Glue attached a SHORT BLOCK as shown below;
Rework instructions to support the 74HCT74 IC in U610
location.
In order to support the 74HCT74 IC in location U610, two 1K resistors will be needed and soldered from
VCC (+5V) to U610 pin 4 and to U610 pin 13. This improves the reliability of the board during power-on.
The original H89-Serial Board did not use them because they relied on the leakage voltage of the 74LS74
IC to such pins and it is not practical during power-on operations. There is a spare 20 pin socket that can
1/1/2014 7:45:37 PM
Page | 32
be used to support the two 1K resistors needed. If photos are needed just let me know. Rev 1.2 board
already have the fix.
H89-USB/SERIAL TIE-WRAP
1/1/2014 7:45:37 PM
Page | 33
Board Fully Assembled by Norberto Collado
1/1/2014 7:45:37 PM
Page | 34
H89-USB/SERIAL – Warning - Metallic USB connector in contact
with adjacent board. Add plastic spacing to avoid damaging the
nearby board.
1/1/2014 7:45:37 PM
Page | 35