Wire up a drive¶
This page connects a QIC-117 floppy-tape drive to the Greaseweazle and gets the drive listening. A floppy-tape drive uses the same 34-pin cable as a floppy drive, but it is commanded by pulses on the STEP line and answers on TRK0, so selecting it works differently from a floppy drive. The protocol is summarised in QIC-117 command interface.
Prerequisites¶
- A Greaseweazle v4.1 running the Tapewyrm firmware (Flash the Greaseweazle).
- A 34-pin floppy cable.
- A PC power supply, or a bench supply with 5 V and 12 V outputs and a 4-pin floppy-drive power connector.
- The drive's page under Drives, if there is one.
Do not power the drive from the Greaseweazle
The Greaseweazle's power header supplies 5 V only, and a tape drive needs 12 V for its motors. Power the drive from a separate supply. Leave the Greaseweazle on USB power.
Connect the drive¶
-
Connect the drive to the Greaseweazle's 34-pin header with the floppy cable, pin 1 to pin 1. Pin 1 is usually marked by a red stripe on the cable and a small
1or a square pad on each connector.Put one drive on the cable. Phantom-select drives on a shared cable can interfere with each other; see Drive selection.
-
Connect the drive to the external supply's 4-pin power connector.
-
Connect the Greaseweazle to the host over USB.
-
Switch the supply on.
-
Check the board with
tw info.tw infoYou should see the
firmwareline with a protocol version. If not, see Flash the Greaseweazle. -
Wake the drive and check it is listening.
tw drive selectstatus : 0x25 [ready cartridge_present referenced] select : yes -- cue INDEX every 2.9 ms(Example output.)
select : yesmeans the drive is selected and ready: a selected, ready drive pulses its INDEX line every few milliseconds. Iftwstops withno drive answered auto-detection, see The drive does not answer.
Drive selection¶
A floppy controller selects a drive by asserting one of the drive-select lines
on the cable. Many floppy-tape drives do not use those lines. tw wakes the
drive with a drive profile, which says how the drive expects to be
selected. The default profile, auto, tries the four wake-ups the Linux
ftape driver tries, in ftape's order, and keeps the first one the drive
answers. Profiles are listed in Drive profiles.
| How the drive is selected | Examples | Profile | Cable notes |
|---|---|---|---|
| Phantom Select: a QIC-117 command (46) followed by a unit-address argument | Colorado Jumbo 350, Colorado 1400, TEAC FT-3010 | colorado, colorado.1400, teac |
The drive ignores the drive-select lines, so the cable twist and any select jumper do not matter. |
| Soft Select: a QIC-117 command (23) followed by a 20-pulse train | Conner, Archive, Summit (per ftape) |
mountain |
Untested. |
| Motor-on: the drive-select and motor-enable lines of unit 0 | Irwin/Insight 80, early Iomega (per ftape) |
insight |
Untested. tw drives cable pins 14 and 10 (unit 0 on the IBM PC bus). A drive strapped as unit 1 (pins 12 and 16) needs a copy of the profile with arg = 1. |
| Already listening: the drive answers without a wake | a phantom drive left selected by an earlier session | default |
Apart from the Motor-on wake, tw releases every drive-select line before it
talks to the drive, and again at the end of every command.
Phantom drives stay selected¶
A drive selected with Phantom Select stays selected after tw exits. It
stays selected until you run tw drive deselect, the drive is reset, or you
switch its power off. Two consequences:
- The second
twcommand after a cold start usually reportsdrive answered default. The drive was still listening from the first command, soauto's first try, which sends nothing, got an answer. This is expected;defaulthas the same timings ascolorado. - Two phantom drives on one cable can both be selected at once. Run
tw drive deselectbefore you switch to the other drive, or keep one drive per cable.
The Colorado drives and the TEAC answer at unit address 0. To try another
address, run tw drive select --unit N. See tw drive.
Choose a profile¶
auto works for the tested drives. Name a profile when you know the drive,
when auto picks the wrong one, or when the drive needs one auto never
tries (teac, conner, iomega, or your own file). Put the profile before
the subcommand:
tw --profile colorado drive status
To set it once, put it in the config file
(~/.config/tapewyrm/config.toml):
profile = "colorado"
See Configuration and logging.
TEAC FT-3010
Use --profile teac. auto would talk to it with a 2.2 ms STEP period,
which this drive does not tolerate; teac uses 1.5 ms. An interrupted report command can
leave it unresponsive until you switch its power off and on. Details are
on the TEAC FT-3010 page.