-
Notifications
You must be signed in to change notification settings - Fork 20
Initiator Mode and ZuluSCSI
The ZuluSCSI initiator mode is specific to the RP2040-based full-size and Compact Homebrew ZuluSCSI boards, and enables RP2040-based ZuluSCSI boards to initiate SCSI transfers from SCSI devices such as hard drives, CD-ROM drives, Magneto Optical drives, Zip/Jaz/Orb drives, and other removable drives. In order to enable initiator mode, the DIP switch labeled INITIATOR must be switched to the ON position. The current implementation allows you to image the contents of any hard drive it finds on the bus, to a file on an SD card.
As of firmware version 2023.5.4, the initiator mode support is considered production quality. Always make sure the SD card you're using has enough free capacity to fit the capacity of the hard drive you're dumping. If the drive you're dumping is larger than 4GB, you must use an exFAT-formatted SD card, as FAT32's maximum file size is 4GB.
Here's example output from zululog.txt, after a successful HDD read/dump:
[10ms] Platform: ZuluSCSI RP2040
[10ms] FW Version: 23.05.04-devel May 4 2023 14:54:07
[11ms] DIP switch settings: debug log 0, termination 1
[11ms] SCSI termination is enabled
[12ms] Flash chip size: 4096 kB
[14ms] SCSI initiator mode selected by DIP switch, expecting SCSI disks on the bus
[32ms] SD card detected, FAT64 volume size: 60902 MB
[33ms] SD MID: 0x03, OID: 0x53 0x44
[33ms] SD Name: SN64G
[33ms] SD Date: 12/2022
[34ms] SD Serial: 0xC90F1F3E
[787ms] Initialization complete!
[41333ms] Target 6 reports UNIT_ATTENTION, running INQUIRY
[41336ms] Target 6 reports NOT_READY, running STARTSTOPUNIT
[57942ms] SCSI id 6 capacity 832527 sectors x 512 bytes
[57943ms] Drive total size is 406 MiB
[57951ms] Preallocating image file
[57960ms] Starting to copy drive data to HD60_imaged.hda
[58081ms] SCSI read succeeded, sectors done: 512 / 832527 speed 2221 kB/s
[58203ms] SCSI read succeeded, sectors done: 1024 / 832527 speed 2166 kB/s
[58320ms] SCSI read succeeded, sectors done: 1536 / 832527 speed 2240 kB/s
[58440ms] SCSI read succeeded, sectors done: 2048 / 832527 speed 2202 kB/s
[58559ms] SCSI read succeeded, sectors done: 2560 / 832527 speed 2221 kB/s
[58676ms] SCSI read succeeded, sectors done: 3072 / 832527 speed 2259 kB/s
[58796ms] SCSI read succeeded, sectors done: 3584 / 832527 speed 2202 kB/s
[snip]
[298005ms] SCSI read succeeded, sectors done: 824320 / 832527 speed 1551 kB/s
[298163ms] SCSI read succeeded, sectors done: 824832 / 832527 speed 1669 kB/s
[298362ms] SCSI read succeeded, sectors done: 825344 / 832527 speed 1323 kB/s
[298531ms] SCSI read succeeded, sectors done: 825856 / 832527 speed 1551 kB/s
[299248ms] SCSI read succeeded, sectors done: 826368 / 832527 speed 366 kB/s
[299662ms] SCSI read succeeded, sectors done: 826880 / 832527 speed 640 kB/s
[300865ms] SCSI read succeeded, sectors done: 827392 / 832527 speed 218 kB/s
[301267ms] SCSI read succeeded, sectors done: 827904 / 832527 speed 658 kB/s
[302040ms] SCSI read succeeded, sectors done: 828416 / 832527 speed 339 kB/s
[302340ms] SCSI read succeeded, sectors done: 828928 / 832527 speed 888 kB/s
[302768ms] SCSI read succeeded, sectors done: 829440 / 832527 speed 612 kB/s
[303903ms] SCSI read succeeded, sectors done: 829952 / 832527 speed 230 kB/s
[304534ms] SCSI read succeeded, sectors done: 830464 / 832527 speed 418 kB/s
[305170ms] SCSI read succeeded, sectors done: 830976 / 832527 speed 412 kB/s
[305483ms] SCSI read succeeded, sectors done: 831488 / 832527 speed 845 kB/s
[305791ms] SCSI read succeeded, sectors done: 832000 / 832527 speed 853 kB/s
[306332ms] SCSI read succeeded, sectors done: 832512 / 832527 speed 484 kB/s
[306342ms] SCSI read succeeded, sectors done: 832527 / 832527 speed 1536 kB/s
[313019ms] Finished imaging drive with id 6