BlueSCSI / BlueSCSI-v2

Open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350
https://bluescsi.com
GNU General Public License v3.0
259 stars 29 forks source link

Configurable SDIO Clocking #197

Closed androda closed 2 months ago

androda commented 2 months ago

These changes are designed to try and mitigate the effects of using BlueSCSI in a high-EMI environment. High-noise environments are causing disruption of the SDIO bus, which usually manifests as disk image write issues and log entries such as the following: SDIO card reports write CRC error, status 0x000000EB

This mitigation does result in an overall read/write speed decrease. On my PowerMac 7300, max read speeds usually run around 8000k and max write speeds around 4800k. With mitigation level 2 in place this drops to 7000k read and 3800k write.

To configure this mitigation, place these lines in your bluescsi.ini file. Only 1 and 2 are valid for this configuration, with increasing slowdown when 2 is specified.

[SDIO]
AddClockDelay=1