From: Michael McMaster Date: Sat, 27 Aug 2016 11:28:46 +0000 (+1000) Subject: Disable 20MB/s support until data corruption issue is fixed. X-Git-Tag: v6.0.8^0 X-Git-Url: http://git.codesrc.com/gitweb.cgi?a=commitdiff_plain;h=02a01b08d208abeeaeb12b46f200de7bec908776;p=SCSI2SD-V6.git Disable 20MB/s support until data corruption issue is fixed. --- diff --git a/CHANGELOG b/CHANGELOG index f16e0648..b11680d5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ -2016XXXX 6.0.7 +20160827 6.0.8 + - Fixed "protocol error" issues when saving configuration to SD cards. - Synchronous transfers supported ! 5MB/s and 10MB/s supported. - Fix for accessing data via USB with more than 2 devices configured. diff --git a/doc/SCSI2SD_QuickStartGuide.odt b/doc/SCSI2SD_QuickStartGuide.odt index 12739376..6d929b39 100644 Binary files a/doc/SCSI2SD_QuickStartGuide.odt and b/doc/SCSI2SD_QuickStartGuide.odt differ diff --git a/doc/dimensions.png b/doc/dimensions.png new file mode 100644 index 00000000..0902016b Binary files /dev/null and b/doc/dimensions.png differ diff --git a/src/firmware/config.c b/src/firmware/config.c index 800624ab..7acb0831 100755 --- a/src/firmware/config.c +++ b/src/firmware/config.c @@ -37,7 +37,7 @@ #include -static const uint16_t FIRMWARE_VERSION = 0x0607; +static const uint16_t FIRMWARE_VERSION = 0x0608; // 1 flash row static const uint8_t DEFAULT_CONFIG[128] = diff --git a/src/firmware/scsi.c b/src/firmware/scsi.c index ff54cd27..b2ab1e59 100755 --- a/src/firmware/scsi.c +++ b/src/firmware/scsi.c @@ -766,11 +766,17 @@ static void process_MessageOut() scsiDev.target->syncPeriod = 0; } else { scsiDev.target->syncOffset = offset < 15 ? offset : 15; + // FAST20 / 50ns / 20MHz is disabled for now due to + // data corruption while reading data. We can count the + // ACK's correctly, but can't save the data to a register + // before it changes. + // TODO work out the fastest sync period that will work + /* if (transferPeriod <= 12) { scsiDev.target->syncPeriod = 12; // 50ns, 20MB/s } - else if (transferPeriod <= 25) + else */if (transferPeriod <= 25) { scsiDev.target->syncPeriod = 25; // 100ns, 10MB/s } else {