|  | 4 年之前 | |
|---|---|---|
| .vscode | 4 年之前 | |
| 3D-Files | 4 年之前 | |
| docs | 4 年之前 | |
| include | 4 年之前 | |
| lib | 4 年之前 | |
| src | 4 年之前 | |
| test | 4 年之前 | |
| .gitignore | 4 年之前 | |
| ArdSCSinoV2.png | 5 年之前 | |
| LICENSE | 4 年之前 | |
| README.md | 4 年之前 | |
| platformio.ini | 4 年之前 | 
BlueSCSI & ArdSCSino are hardware that reproduces SCSI devices (hard disks) with an Arduino STM32F103C (aka Blue Pill.)
BlueSCSI created by erichelgeson is a fork of ArdSCSino-stm32 which adds:
ArdSCSino-stm32 created by ztto is the STM32 version of ArdSCSino
ArdSCSino created by Tambo (TNB Seisakusho)
Join us in #bluescsi on Discord
Or open an issue on this repo.
If your computer is not listed below - it may be compatible but there is no guarantee it will work. This device is designed and tested to work with pre-PowerPC Macs.
SE, SE/30, Classic, Classic II, Color Classic, LC I/II/III
IIcx, PowerBook 100 (with custom adapter)
Plus, PowerPC
Tested on a Color Classic with SCSI Director Pro 4
1024KB/Sec Write
900KB/Sec Read
1.01ms Seek
See Assembly.md
Hard Disk image files are placed in the root directory of a FAT32 (or ExFat) formatted SD card. You can create a disk image using dd or download one from the blank_images.zip file. These images are compatible with the RaSCSI device and Basilisk II emulator.
The naming convention is as follows (file name max 32 characters). Note you may mount multiple drives at a time to different SCSI ID's.
HDxy_512.hda
HD - Hard Disk
x - SCSI ID to attach to. 0-7 (though 7 on a Macintosh is the System)
y - LUN id usually 0. 
512 - Sector size. Usually 512. 256, 512, & 1024 supported.
HD10_512.hda - Hard Disk at SCSI ID 1, LUN 0, sector size of 512.
HD51_512 System 6.0.8L LC.hda - Hard Disk at SCSI ID 5, LUN 1, sector size of 512. Text between block size and .hda is ignored.
HD99_712 foo bar fizz buzz bang.hda Over 32 chars and invalid SCSI/LUN/Block size....
If no image files are found PC13 will pulse on and off. Check the log file for any errors.
To enable termination place the two jumpers on the TERM block. Termination should be enabled if it is the last device in the chain - which is normally how it is used.
If your device is not working - check the LOG.txt in the root of the SD card.
How to tell if your STM32 is fake: https://github.com/keirf/Greaseweazle/wiki/STM32-Fakes
Try a different SD card. Cheap/old SD cards can affect performance.
Below is for users who wish to edit or develop on the BluePill - normal users should not need to worry about this.
Open the project in PlatformIO and everything is pre-configured.
You only need to setup the Arduino IDE if you are planning on developing and contributing to the project. Otherwise flash a provided .bin file.
Arduino IDE version 1.8.x - https://www.arduino.cc/en/software
Arduino SAM Boards (32-bits ARM) Cortext-M3) version 1.6.12SdFat by Bill Greiman version 2.0.2Generic STM32F103C series - Copy the latest .ino file into a sketch and compile.When flashing you have two options:
Flash by setting up the IDE and re-compiling and programming. If you are a developer and plan to contribute this method is what you should use.
You may also flash the .bin file directly from STM32CubeProgrammer. If you are not a developer and just wish to get the code to the BluePill, use this (as development environment setup can be a bit tricky!)
SWDIO(2), GND(4), SWCLK(6), and 3.3v(8) from the programmer to the Blue Pill. NOTE: These are not the same as Serial ports.If the device is not detected you may need to hold reset, click program, once it is detected release reset.
If you are unable to get the device in DFU mode for programming you may need to use STM32CubeProgrammer to erase the chip.
I used these - but any USB->TTL device should work https://www.amazon.com/gp/product/B07D6LLX19/
Note: I have not been able to get this method to work.
https://support.jlcpcb.com/article/44-how-to-export-kicad-pcb-to-gerber-files