SCSI2SD: Difference between revisions

From code/src wiki
Jump to navigationJump to search
No edit summary
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p><strong>The SCSI Hard Drive Emulator for retro computing.</strong></p>
<p><strong>The SCSI Hard Drive Emulator for retro computing.</strong></p>


[http://www.codesrc.com/images/SCSI2SD/scsi2sd-v6.02.jpg http://www.codesrc.com/images/SCSI2SD/scsi2sd-v6.02-small.jpg]
[http://www.codesrc.com/images/SCSI2SD/scsi2sd-5.1-6.0.jpg http://www.codesrc.com/images/SCSI2SD/scsi2sd-5.1-6.0-small.jpg]




== Download ==
== Download ==
# [http://www.codesrc.com/files/scsi2sd/latest downloads] for v3/v4/v5 hardware revisions.
# [http://www.codesrc.com/files/scsi2sd/latest downloads] for v3/v4/v5/v5.1/v5.5 hardware revisions.
# [http://www.codesrc.com/files/scsi2sd-v6/latest downloads] for v6 hardware revisions. This firmware will NOT work on the older boards.
# [http://www.codesrc.com/files/scsi2sd-v6/latest downloads] for v6 hardware revisions. This firmware will NOT work on the older boards.


== News ==
== News ==
<p>
<strong>[11 Oct 2018]</strong>[http://www.codesrc.com/files/scsi2sd-v6/v6.2.1 v6.2.1] Bugfix
<ul>
<li>Fix bug with drives > 4GB when connecting over USB</li>
</ul>
</p>


<p>
<p>
<strong>[12 March 2017]</strong>[http://www.codesrc.com/files/scsi2sd/v4.7 v4.7] New firmware
<strong>[26 Sep 2018]</strong>[http://www.codesrc.com/files/scsi2sd/v4.8.1 v4.8.1] [http://www.codesrc.com/files/scsi2sd-v6/v6.2.0 v6.2.0] New Firmware
<ul>
<ul>
<li>Fix bug in SCSI Inquiry command for SCSI2 hosts</li>
<li>Fix bug when writing with multiple SCSI devices on the chain (4.8.1, 6.2.0).</li>
<li>Added OMTI host quirks mode</li>
<li>Fix bug with non-512 byte sectors (6.2.0)</li>
<li>Fix for booting from early Mac Plus ROMS</li>
<li>Performance improvements to write speeds (6.2.0)</li>
<li>Performance fix when SCSI2 mode is enabled. Some users may need
        to disable SCSI2 mode if it was incorrectly enabled previously.</li>
<li>Added support for configurable mode pages</li>
<li>Fix for exporting selectionDelay/startupDelay parameters to XML
        via scsi2sd-util</li>
<li>scsi2sd-util is now built with libudev1 on Linux, as all distros have
        moved to this version. Users on older Linux distributions will need to
        compile from source.</li>
</ul>
</ul>
</p>
</p>


<p>
<p>
<strong>[7 October 2016]</strong>[http://www.codesrc.com/files/scsi2sd-v6/v6.0.13 v6.0.13] Bugfix release
<strong>[16 April 2018]</strong>[http://www.codesrc.com/files/scsi2sd/v4.8 v4.8] New Firmware
<ul>
<ul>
<li>Added glitch filter to SCSI signals</li>
<li>Support for v5.1 hardware boards, including faster bootloader for better Staubli and Amiga support.</li>
<li>Restored parity-checking option (defaults to disabled)</li>
<li>Added a speed selection to scsi2sd-util. Users with older SASI or SCSI1 controllers should select the lower speed for stability.</li>
<li>Added specific support for emulating XEBEC controllers</li>
<li>Added SCSI host-types selection to scsi2sd-util. Apple Macintosh users should manually fix their settings to use the Apple mode.</li>
<li>Apple mode pages now only sent when in Apple mode.</li>
<li>Fix Unit Serial Number inquiry page to use return configured serial number</li>
</ul>
</ul>
</p>
</p>


<p>
<p>
<strong>[12 January 2016]</strong>[http://www.codesrc.com/files/scsi2sd/v4.6 v4.6] New firmware
<strong>[31 Jan 2018]</strong>[http://www.codesrc.com/files/scsi2sd-v6/v6.1.3 v6.1.3] Bugfix release
<ul>
<ul>
<li>Fixed bug when using sector size that isn't a multiple of 4 (eg. 522 bytes)</li>
<li>Fixes several synchronous transfer bugs, especially write issues at 10MB/s</li>
<li>Fixed a bug that caused hanging or scsi phase errors on high speed scsi hosts.</li>
<li>Fixed a hang when processing a SCSI RESET in a data phase.</li>
<li>scsi2sd-util: Fixed USB connection problems under Windows 10.</li>
<li>Added option to treat luns as separate devices</li>
<li>Improved boot up time. It is now possible to replace the bootloader with a version that doesn't pause for 2 seconds ([http://www.codesrc.com/files/scsi2sd/v4.6/bootloader/USB_Bootloader-V5_nodelay.bin bootloader]). This is required on some Amigas and the Staubli JC5. Replacing the bootloader '''CAN BRICK YOUR DEVICE''' if it fails half-way, so do not attempt this unless necessary.</li>
</ul>
</ul>
</p>
</p>
Line 53: Line 48:
== Overview ==
== Overview ==
SCSI2SD is an emulator for old SCSI hard drives. It allows replacing one or several old broken SCSI drives with a SD memory card.
SCSI2SD is an emulator for old SCSI hard drives. It allows replacing one or several old broken SCSI drives with a SD memory card.
== Unlicenced Copies ==
Older versions of the SCSI2SD hardware designs were published under the [https://www.gnu.org/licenses/gpl-3.0.en.html GPL] licence. This permits anyone to build their own board from the original or modified designs, so long as they abide by the licence terms.
* The source/designs of any modifications must be provided to those you distribute the board to.
* Clones are based on the obsolete V4 design, lack features, and may not be compatible with all the systems listed on these pages.
Artmix is currently selling unlicensed modified clones ("SD SusanoMonster"), and refuses to comply with the GPL. Please do not purchase this board. If you have already purchased, please request the seller provides you with the modified designs under the GPL licence.


== Which version should you buy ? ==
== Which version should you buy ? ==
{|border="1px"
{|border="1px"
|SCSI2SD V6
|This board offers significantly better performance than the V5.x boards by adding support for synchronous SCSI transfers.
Easy access to virtual disk data over USB.
* See [[SCSI2SD V6 Compatibility]]
|-
|SCSI2SD V5.1
|This is a newer version of the V5 board, with software-enabled termination, full-size SD card, and floppy-style power connector.
This version provides a faster startup time than V5, which is needed to boot some Amiga and Staubli machines
|-
|SCSI2SD V5.5
(coming soon)
|Plugs directly into an external DB25 connector without a cable. Uses micro SD card.
|-
|SCSI2SD V5
|SCSI2SD V5
|This is the stable version, with the widest compatibility. Most people should buy this version. It works well with both SCSI1 and SCSI2 systems.
|This is the older version which uses micro SD cards.
|-
|SCSI2SD V6
|This board offers better performance, but is less compatible.
* It may not work properly in SCSI1 systems, including any system using DB25 cabling or passive terminators.
* It may not work properly with old ribbon cables.
* It may not work with multiple devices on the SCSI bus.
* It requires more power than the V5 board and may not be stable using the scsi cable terminator power alone.
* There are known compatibility issues. See [[SCSI2SD V6 Compatibility]]
|-
|-
|SCSI2SD for Powerbook
|SCSI2SD for Powerbook
Line 73: Line 82:
== Purchase ==
== Purchase ==


The new V6 board and 2.5" PowerBook version are available at:
* [http://shop.codesrc.com/ codesrc.com] (Australia)
* [http://shop.codesrc.com/ codesrc.com] (Australia)
 
* [http://store.inertialcomputing.com/category-s/100.htm Inertial Computing] (USA)
The 3.5" boards are available from the following distributors:
* [http://imall.itead.cc/scsi2sd.html itead] (China)
* [http://imall.itead.cc/scsi2sd.html itead] (China)
* [http://store.inertialcomputing.com/category-s/100.htm Inertial Computing] (USA)
* [http://amigakit.leamancomputing.com/catalog/product_info.php?products_id=1264 AmigaKit] (UK)
* [http://amigakit.leamancomputing.com/catalog/product_info.php?products_id=1264 AmigaKit] (UK)


Line 85: Line 91:
* [http://www.thingiverse.com/thing:1131419 Thingiverse] nibblernibbles has created a 3d-printable external enclosure for the SCSI2SD + DB25 adapter. Power can be supplied over USB for hosts which don't supply termination power.
* [http://www.thingiverse.com/thing:1131419 Thingiverse] nibblernibbles has created a 3d-printable external enclosure for the SCSI2SD + DB25 adapter. Power can be supplied over USB for hosts which don't supply termination power.
* [http://www.shapeways.com/shops/roymaya SCSI2SD V5 & V6 Bracket] by Maya Designs
* [http://www.shapeways.com/shops/roymaya SCSI2SD V5 & V6 Bracket] by Maya Designs
* [http://www.samplerzone.com SamplerZone.com] External cases for V5.0, V5.1, and V6 boards, internal cables for all music samplers, and fully-realized SCSI2SD sampler solutions.


== Features ==
== Features ==
Line 103: Line 110:
|
|
|V5 hardware
|V5 hardware
|V5.1 hardware
|V5.5 hardware
|V6 hardware
|V6 hardware
|-
|-
|SCSI Interface
|SCSI Interface
|SCSI-2 Narrow 8-bit 50-pin connector.
|SCSI-2 Narrow 8-bit 50-pin connector.
Supports asynchronous transfers only.
|SCSI-2 Narrow 8-bit 50-pin connector with optional DB25 female socket.
Supports asynchronous transfers only.
|DB25 male socket.
Supports asynchronous transfers only.
Supports asynchronous transfers only.
|SCSI-2 Narrow 8-bit 50-pin connector.
|SCSI-2 Narrow 8-bit 50-pin connector.
FAST10 (10MB/s) synchronous transfers.
FAST10 (10MB/s) synchronous transfers.
|-
|SCSI Terminator
|Active Terminator
Resistor packs can be removed from the socket to disable the terminator
|Active Terminator
Enabled via software using scsi2sd-util
|Active Terminator
Always-on
|Active Terminator
Enabled via software using scsi2sd-util
|-
|-
|SD Card Interface
|SD Card Interface
|microSD, tested up to 64GB<br />
|microSD, tested up to 64GB<br />
Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)
Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)
|Full-size SD, tested up to 32GB<br />
|Full-size, tested up to 128GB<br />
Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)
|microSD, tested up to 64GB<br />
Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)
|Full-size SD, tested up to 128GB<br />
Up to 20MB/s
Up to 20MB/s
|-
|-
|USB Interface
|USB Interface
|Firmware updates and configuration
USB 2.0 micro-B
|Firmware updates and configuration
USB 2.0 micro-B
|Firmware updates and configuration
|Firmware updates and configuration
USB 2.0 micro-B
USB 2.0 micro-B
Line 128: Line 159:


<strong>DO NOT CONNECT 12V</strong> at all if you need to make your own power cable as it risks destroying the board if you accidentally swap the wires.
<strong>DO NOT CONNECT 12V</strong> at all if you need to make your own power cable as it risks destroying the board if you accidentally swap the wires.
|5V via floppy 4-pin drive connector, USB, or self-powered using the SCSI host termination power.
2.35W maximum (500mA)
<strong>DO NOT CONNECT 12V</strong> at all if you need to make your own power cable as it risks destroying the board if you accidentally swap the wires.
|5V via DB25 SCSI connector, or USB.
2.35W maximum (500mA)
<strong>Requires SCSI host that supplies terminator power on pin 25 of the DB25 socket</strong>
|5V via floppy 4-pin drive connector, USB, or self-powered using the SCSI host termination power.
|5V via floppy 4-pin drive connector, USB, or self-powered using the SCSI host termination power.
2.35W maximum (500mA)
2.35W maximum (500mA)
Line 133: Line 172:
|Dimensions (L x W x H)
|Dimensions (L x W x H)
|5cm x 10cm x 1.5cm
|5cm x 10cm x 1.5cm
|10cm x 9cm x 1.5cm
|7.5cm x 5.5cm x 1.8cm (External case)
|10cm x 9cm x 1.5cm
|10cm x 9cm x 1.5cm
|-
|-
Line 138: Line 179:
Tested under optimal conditions.
Tested under optimal conditions.
For comparison, here are some [http://mastodonpc.tripod.com/bench/scsi.html benchmarks] of some older SCSI hardware.
For comparison, here are some [http://mastodonpc.tripod.com/bench/scsi.html benchmarks] of some older SCSI hardware.
|Up to 2.6MB/s read, 2.3MB/s write.
|Up to 2.6MB/s read, 2.3MB/s write
(1.1MB/s on most older SCSI hosts)
|Up to 2.6MB/s read, 2.3MB/s write
(1.1MB/s on most older SCSI hosts)
|Up to 2.6MB/s read, 2.3MB/s write
(1.1MB/s on most older SCSI hosts)
|Up to 10MB/s.
|Up to 10MB/s.
|}
|}
Line 145: Line 191:
* [[SCSI2SD V5 Compatibility]]
* [[SCSI2SD V5 Compatibility]]
* [[SCSI2SD V6 Compatibility]]
* [[SCSI2SD V6 Compatibility]]
* [[2.5" Powerbook SCSI2SD Compatibility]]


== Files ==
== Files ==
Firmware update utility and configuration tool at:
Firmware update utility and configuration tool at:
# [http://www.codesrc.com/files/scsi2sd/latest downloads for v3/v4/v5].
# [http://www.codesrc.com/files/scsi2sd/latest downloads for v3/v4/v5/v5.1/v5.5].
# [http://www.codesrc.com/files/scsi2sd-v6/latest downloads for v6].
# [http://www.codesrc.com/files/scsi2sd-v6/latest downloads for v6].


Line 167: Line 214:
* [[SCSI2SD UserManual]]
* [[SCSI2SD UserManual]]
* [[FormatWithBasiliskII]] Format an SD card for use with Apple Macintosh hardware using the [http://basilisk.cebix.net/ Basilisk II] emulator
* [[FormatWithBasiliskII]] Format an SD card for use with Apple Macintosh hardware using the [http://basilisk.cebix.net/ Basilisk II] emulator
== Alternative Open SCSI Projects ==
* [https://bitbucket.org/ajessop/scsi/wiki/Home AJ's alternative implementation]. AJ and I originally had a competition to design and build a SCSI device to boot an old Mac LCIII. The deadline for that competition has long-since expired without a winner, but we have both continued to progress our designs.
* [http://n8vem-sbc.pbworks.com/w/browse/#view=ViewFolder&param=SCSI2IDE S2I] (was: SCSI2IDE)
* [http://micha.freeshell.org/ramdisk/index.php AVR based SCSI RAM disk]
== Old ==
For historical project information see [[SCSI2SD old]]

Revision as of 13:35, 31 October 2018

The SCSI Hard Drive Emulator for retro computing.

scsi2sd-5.1-6.0-small.jpg


Download

  1. downloads for v3/v4/v5/v5.1/v5.5 hardware revisions.
  2. downloads for v6 hardware revisions. This firmware will NOT work on the older boards.

News

[11 Oct 2018]v6.2.1 Bugfix

  • Fix bug with drives > 4GB when connecting over USB

[26 Sep 2018]v4.8.1 v6.2.0 New Firmware

  • Fix bug when writing with multiple SCSI devices on the chain (4.8.1, 6.2.0).
  • Fix bug with non-512 byte sectors (6.2.0)
  • Performance improvements to write speeds (6.2.0)

[16 April 2018]v4.8 New Firmware

  • Support for v5.1 hardware boards, including faster bootloader for better Staubli and Amiga support.
  • Added a speed selection to scsi2sd-util. Users with older SASI or SCSI1 controllers should select the lower speed for stability.
  • Added specific support for emulating XEBEC controllers
  • Added SCSI host-types selection to scsi2sd-util. Apple Macintosh users should manually fix their settings to use the Apple mode.
  • Apple mode pages now only sent when in Apple mode.
  • Fix Unit Serial Number inquiry page to use return configured serial number

[31 Jan 2018]v6.1.3 Bugfix release

  • Fixes several synchronous transfer bugs, especially write issues at 10MB/s

SCSI2SD Archived News

Overview

SCSI2SD is an emulator for old SCSI hard drives. It allows replacing one or several old broken SCSI drives with a SD memory card.


Unlicenced Copies

Older versions of the SCSI2SD hardware designs were published under the GPL licence. This permits anyone to build their own board from the original or modified designs, so long as they abide by the licence terms.

  • The source/designs of any modifications must be provided to those you distribute the board to.
  • Clones are based on the obsolete V4 design, lack features, and may not be compatible with all the systems listed on these pages.

Artmix is currently selling unlicensed modified clones ("SD SusanoMonster"), and refuses to comply with the GPL. Please do not purchase this board. If you have already purchased, please request the seller provides you with the modified designs under the GPL licence.

Which version should you buy ?

SCSI2SD V6 This board offers significantly better performance than the V5.x boards by adding support for synchronous SCSI transfers.

Easy access to virtual disk data over USB.

SCSI2SD V5.1 This is a newer version of the V5 board, with software-enabled termination, full-size SD card, and floppy-style power connector.

This version provides a faster startup time than V5, which is needed to boot some Amiga and Staubli machines

SCSI2SD V5.5

(coming soon)

Plugs directly into an external DB25 connector without a cable. Uses micro SD card.
SCSI2SD V5 This is the older version which uses micro SD cards.
SCSI2SD for Powerbook Designed for Apple Powerbook laptops using 2.5" drives.

Purchase

3rd party accessories

  • durhamcardco.com Internal faceplates for V5 and V6 boards, and external V5 case.
  • Thingiverse nibblernibbles has created a 3d-printable external enclosure for the SCSI2SD + DB25 adapter. Power can be supplied over USB for hosts which don't supply termination power.
  • SCSI2SD V5 & V6 Bracket by Maya Designs
  • SamplerZone.com External cases for V5.0, V5.1, and V6 boards, internal cables for all music samplers, and fully-realized SCSI2SD sampler solutions.

Features

  1. In-built active terminator.
  2. Emulates up to 4 SCSI devices (7 for the V6 version)
  3. Supports sector sizes from 64 bytes to 8192 bytes
  4. Firmware updatable over USB
  5. Highly configurable over USB
    • Selectable SCSI ID
    • Selectable parity support
    • Enable/disable Unit Attention Condition
    • Artificial limits on the SCSI disk size (eg. limit size to 4G to avoid OS bugs)
    • Sector size (can also be set via the SCSI MODE SELECT command, as sent by SCSI format utilities).
  6. External LED connector.

Technical Specifications

V5 hardware V5.1 hardware V5.5 hardware V6 hardware
SCSI Interface SCSI-2 Narrow 8-bit 50-pin connector.

Supports asynchronous transfers only.

SCSI-2 Narrow 8-bit 50-pin connector with optional DB25 female socket.

Supports asynchronous transfers only.

DB25 male socket.

Supports asynchronous transfers only.

SCSI-2 Narrow 8-bit 50-pin connector.

FAST10 (10MB/s) synchronous transfers.

SCSI Terminator Active Terminator

Resistor packs can be removed from the socket to disable the terminator

Active Terminator

Enabled via software using scsi2sd-util

Active Terminator

Always-on

Active Terminator

Enabled via software using scsi2sd-util

SD Card Interface microSD, tested up to 64GB

Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)

Full-size, tested up to 128GB

Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)

microSD, tested up to 64GB

Communication is via the SPI protocol at 25MHz (3MB/s theoretical max)

Full-size SD, tested up to 128GB

Up to 20MB/s

USB Interface Firmware updates and configuration

USB 2.0 micro-B

Firmware updates and configuration

USB 2.0 micro-B

Firmware updates and configuration

USB 2.0 micro-B

Firmware updates, configuration, and mass-storage

USB 2.0 micro-B. Mass-storage at USB 2.0 FS speeds (1.2MB/s max)

Power 5V via standard Molex 4-pin drive connector, USB, or self-powered using the SCSI host termination power.

2.35W maximum (500mA)

DO NOT CONNECT 12V at all if you need to make your own power cable as it risks destroying the board if you accidentally swap the wires.

5V via floppy 4-pin drive connector, USB, or self-powered using the SCSI host termination power.

2.35W maximum (500mA)

DO NOT CONNECT 12V at all if you need to make your own power cable as it risks destroying the board if you accidentally swap the wires.

5V via DB25 SCSI connector, or USB.

2.35W maximum (500mA)

Requires SCSI host that supplies terminator power on pin 25 of the DB25 socket

5V via floppy 4-pin drive connector, USB, or self-powered using the SCSI host termination power.

2.35W maximum (500mA)

Dimensions (L x W x H) 5cm x 10cm x 1.5cm 10cm x 9cm x 1.5cm 7.5cm x 5.5cm x 1.8cm (External case) 10cm x 9cm x 1.5cm
Performance

Tested under optimal conditions. For comparison, here are some benchmarks of some older SCSI hardware.

Up to 2.6MB/s read, 2.3MB/s write

(1.1MB/s on most older SCSI hosts)

Up to 2.6MB/s read, 2.3MB/s write

(1.1MB/s on most older SCSI hosts)

Up to 2.6MB/s read, 2.3MB/s write

(1.1MB/s on most older SCSI hosts)

Up to 10MB/s.

Compatibility

Files

Firmware update utility and configuration tool at:

  1. downloads for v3/v4/v5/v5.1/v5.5.
  2. downloads for v6.

These files are currently available for Windows, Linux, and Mac OSX.

A copy of all sources can be obtained via the command:

git clone --recursive git://www.codesrc.com/git/SCSI2SD

or (for V6)

git clone --recursive git://www.codesrc.com/git/SCSI2SD-V6


Alternatively, the git sources can be viewed using your web browser by clicking here or here (V6)

Howto