Use BlueSCSI (STM32 SCSI emulator) in the Apple PowerBook, and to replace other 40-pin 2.5in mobile scsi devices
Go to file
Matthew Nielsen cc917f898e Add reference images 2021-04-05 15:56:53 -06:00
images Add reference images 2021-04-05 15:56:53 -06:00
v1.0 rename 2021-04-05 10:26:39 -06:00
v1.1 Add v1.1 files 2021-04-05 10:26:57 -06:00
.gitignore initial commit 2021-04-03 21:23:17 -06:00
LICENSE.md initial commit 2021-04-03 21:23:17 -06:00
README.md Update readme with board v1.1 changed and details 2021-04-05 11:04:19 -06:00

README.md

PowerBook adapter for BlueSCSI

https://github.com/xunker/bluescsi_pb

This project allows you to use BlueSCSI (STM32 SCSI emulator) in the Apple PowerBook, or in any other device that uses 40-pin 2.5in mobile SCSI devices.

Picture of bluescsi_pb connected to PowerBook 520c

Board Versions and Gerber Files

version 1.1 (April 2021) - current

v1.1 sent to fab today (Monday, Apr 5), hope to have to have it back by the weekend for testing.

Changes:

  • Connect RETURN on 40-pin SCSI connector with signal ground
  • STM32 +5 is connected to TERMPWR by default, via breakable jumper pad
  • Separate jumpers provided for powering via TERMPWR or MOTORPWR
    • MOTORPWR is a separate +5v provided to run the drive motor and actuator
    • This change will be helpful for debugging power issues where MOTORPWR appears to be inconsistent
  • Mounting hole locations adjusted so they match an actual drive
  • Activity LED (LED_BUILTIN) broken-out if you want to have an external LED
    • You can use the cathode (negative) pin of the LED footprint to monitor drive activity from an external device directly
  • Traces and resistor packs are moved farther away from mounting holes to avoid potential shorts
  • Increased TERMPWR trace width
  • Back silkscreen marks location of the key pin (17) within the 40-pin connector
  • Moved legends for J1, J2 and J8 so they are next to pin 1 on their respective connectors
  • Corners rounded more
  • Shorten board by about 5mm
    • This is the shortest practical length to maintain all four screw holes
  • Numerous changes to the routing of traces

3D rendering of bluescsi_pb v1.1 board

First version. 50-pin-SCSI, termination and SD card worked first time, right out of the gate. However, problems:

  • The screw holes are slightly too far in from edges
  • RETURN lines are not connected to signal ground
  • Can only power STM32 from MOTORPWR or USB, no option to power it from from TERMPWR alone
  • No option to disconnect STM32 from both TERMPWR and MOTORPWR power and use USB power alone without backfeeding

If you choose to use this board design, please do the following:

  • break the MOTORPWR trace, as seen in this image
  • Solder a wire from any ground pin to one of the RETURN pins (number 3, 4, 37 or 38) of J1. These are 1 column in from each edge, and and connected together. They are next to the MOTORPWR pins, the trace you broke above.
  • Ensure J9 ("bridge +5v and term power") is always shorted/jumped

Why the modifications? the MOTORPWR pins do not appear to be working the way I expect. The power was being disconnected at unexpected times and I could not see a pattern. Maybe it is a power-saving feature? Until I figure it out and update the board design, I recommend you power the device from TERMPWR as usual.

3D rendering of bluescsi_pb v1.0 board

Board Tour

40-pin connector (J1)

This is a 2.0mm, two-row, right angle header connector. It connects to the ribbon cable inside the PowerBook. Most ribbon cables have a "key pin" located at pin 17. If this is the case, you will need to break that pin off the connector on your board. The side the key is located on is indicated by the "[" symbol.

8-pin connector (J2)

This is also a 2.0mm, two-row, right angle header connector, located to the right of the 40-pin connector. This connector is *not required for operation, you do not have to solder headers to it if you don't want to.

This is used in some, but not all, PowerBooks. For example, it is present in my PowerBook 520c but it is not present in my PowerBook 145.

In some systems, it is used to change the SCSI ID of the drive, trigger spin-up and provide an activity LED. Since BlueSCSI selects SCSI IDs based on filename then this is not needed.

Picture of unpopulates J2 connector

50-pin connector (J8)

This is provided to connect to a desktop SCSI connection. If you only intend to use this inside a PowerBook then this is not required.

If you do not use a shrouded connector, then you can still know the correct orientation of the SCSI cable by looking for the "[" symbol next to the connector, which represents the key cutout in a shrouded connector.

Termination Resistors Packs and Termination Enable Jumpers (J4, J5)

Solder two 220-ohm and two 330-ohm in to the correct positions. Please note the position of pin 1, it is different on either side.

Solder 2 standard 2.54mm header pins to J4 and J5, and then cap them with a jumper/shunt to enable termination.

MicroSD card (J3) and SD Card Breakout (J7)

Pad J3 is used for a Molex 104031-0811 MicroSD card slot.

If you do not have the correct part (or don't like soldering SMD, which is totally understandable), you can also solder 2.54mm male headers to an SD-to-MicroSD adapter and connect it to J7.

Picure of MicroSD connector pad and SD-to-MicroSD adapter with header pins soldered to it

Caveats

Termination

Although documentation for the IBM DHAS-2270 drive that originally came in my PowerBook 520c claims:

The drive does not have termination nor pull up resistors for SCSI interface

.. I have found that this adapter does not want to work as the internal drive unless you enable termination. The PB 520c does supply termination power to the internal drive (although it does not supply it to the external HDI-30 SCSI connector).

Clearance

Most SCSI PowerBooks used 17mm-tall SCSI drives. In order for this board to fit in that height, you will either need to permanently solder the STM32 module directly to the bluescsi_pb board or to use "low-profile" female headers. If you use standard-height headers, you will need a space of 19-20mm.

Even with low-profile headers, you may have to bend the "boot select" jumpers on the top of the STM32 module off to the side.

Using the 50-pin connector at the same time as the 40-pin connector

I recommend that you do not use the 50-pin and 40-pin connectors at the same time. If you know what you are doing then you are welcome to try, but please be careful.

Credits

This project would not be possible without the work done by ztto, Tambo, Eric Helgeson, and many others.

The "Blue Pill" footprint was originally created by Yet-Another-Average-Joe.

License

See LICENSE.md.