From: Michael McMaster Date: Wed, 24 Apr 2019 11:53:16 +0000 (+1000) Subject: Improved async noise model that considers all 9 dbx signals. X-Git-Tag: v6.2.3-beta X-Git-Url: http://git.codesrc.com/gitweb.cgi?a=commitdiff_plain;h=f6ef77a355db2a3882a53020d89a2e1a79fb8a6a;p=SCSI2SD-V6.git Improved async noise model that considers all 9 dbx signals. --- diff --git a/CHANGELOG b/CHANGELOG index 04f6656f..a98974e6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ 2019XXXX - Port XEBEC support from v5 firmware - Add Flexible Disk Drive Geometry SCSI MODE page + - Stability improvements 20181011 6.2.1 - Fix bug in USB disk interface with disks over 4GB diff --git a/rtl/fpga_bitmap.o b/rtl/fpga_bitmap.o index cb1310f4..48d78e9e 100644 Binary files a/rtl/fpga_bitmap.o and b/rtl/fpga_bitmap.o differ diff --git a/src/firmware/config.c b/src/firmware/config.c index ead6f286..503833ac 100755 --- a/src/firmware/config.c +++ b/src/firmware/config.c @@ -37,7 +37,7 @@ #include -static const uint16_t FIRMWARE_VERSION = 0x0621; +static const uint16_t FIRMWARE_VERSION = 0x0623; // 1 flash row static const uint8_t DEFAULT_CONFIG[128] = @@ -219,7 +219,7 @@ debugCommand() response[27] = scsiDev.lastSenseASC >> 8; response[28] = scsiDev.lastSenseASC; response[29] = *SCSI_STS_DBX & 0xff; // What we've read - response[30] = 0; // obsolete + response[30] = *SCSI_STS_SELECTED; response[31] = *SCSI_STS_DBX >> 8; // What we're writing hidPacket_send(response, sizeof(response)); } diff --git a/src/firmware/scsiPhy.c b/src/firmware/scsiPhy.c index 48bf535c..c00b8d56 100755 --- a/src/firmware/scsiPhy.c +++ b/src/firmware/scsiPhy.c @@ -30,8 +30,8 @@ static uint8_t asyncTimings[][4] = { /* Speed, Assert, Deskew, Hold, Glitch */ -{/*1.5MB/s*/ 28, 18, 13, 15}, -{/*3.3MB/s*/ 13, 6, 6, 13}, +{/*1.5MB/s*/ 28, 18, 13, 6}, +{/*3.3MB/s*/ 13, 6, 6, 6}, {/*5MB/s*/ 9, 6, 6, 6}, // 80ns {/*safe*/ 3, 6, 6, 6}, // Probably safe {/*turbo*/ 3, 3, 3, 2} @@ -576,6 +576,7 @@ void scsiEnterPhase(int newPhase) if (scsiDev.compatMode < COMPAT_SCSI2) { + // EMU EMAX needs 100uS ! 10uS is not enough. s2s_delay_us(100); } }