Michael McMaster
8dc9a838f5
Allow custom VPD pages
2016-01-19 20:27:31 +10:00
Michael McMaster
760222798c
Support custom mode pages
2016-01-13 21:22:16 +10:00
Michael McMaster
ff3ca448a5
Lots of bug fixes.
...
- Reset fix
- Overrun fifo on fast scsi host fix
- Startup time improvement
- Allows overwriting the bootloader
- Adds "sticky" sel option
- Adds map luns to id option
2016-01-07 22:15:45 +10:00
Michael McMaster
5418ee6229
Fix for using scsi2sd-util on Windows 10.
2015-12-07 19:59:25 +10:00
Norman Schleicher
0b44126260
Fixed linking erro on Ubuntu 15.10
...
Signed-off-by: Michael McMaster <michael@codesrc.com>
2015-11-14 09:32:26 +10:00
Michael McMaster
e13a6e2678
Final tweaks for v4.5
2015-11-05 21:43:36 +10:00
Michael McMaster
0b558479a6
Compile fixes
2015-11-01 20:30:53 +10:00
Michael McMaster
56f1d31703
Bug fixes galore! Added lots more settings, and moved them into another config tab
...
- wxWidgets upgrade to 3.02
- PSoC Creator upgrade to 3.3
2015-10-30 13:43:44 +10:00
Laurent Vivier
0c1e0071de
CDROM: allow to boot from MacOS 7.6 CDROM
...
Reading one sector from the CDROM is always reading several (4)
from the SD card, so always set multBlock to one in this case.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-25 00:45:58 +02:00
Michael McMaster
ceb8d24303
Add DB25 adapter hardware design, plus other minor fixes
2015-09-23 20:23:45 +10:00
Laurent Vivier
6d5c68d676
SCSI2SD: correctly manage media type
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-22 23:39:49 +02:00
Laurent Vivier
ec0058772c
Move log dump to a function
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-22 10:52:33 +02:00
Laurent Vivier
dcb5ee0056
Add a .spec to create scsi2sd-util RPM
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-20 01:43:17 +02:00
Laurent Vivier
748d52b1c8
Add dist and install targets
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-20 01:43:16 +02:00
Laurent Vivier
9ac16657e5
Add USE_SYSTEM makefile variable to use system libraries
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2015-09-20 01:42:48 +02:00
Michael McMaster
4f14ac665a
compile fixups
2015-09-06 15:31:30 +10:00
Michael McMaster
c9096e9725
Merge branch 'master' of ssh://webhost.codesrc.com/home/michael/projects/SCSI2SD
2015-09-06 15:17:23 +10:00
Michael McMaster
6a7207c092
Initial tape and magneto-optical support
2015-09-06 15:15:41 +10:00
Michael McMaster
55beeb5bd3
Glitch filter configuration options and update to PSoC Creator v3.2
2015-08-13 18:06:19 +10:00
Michael McMaster
9f5624ddd7
Performance fixes, scsi2sd-util crash fixes, scsi2 config option.
2015-07-21 10:55:08 +10:00
Michael McMaster
446892cde0
scsi2sd-util crash on exit fix (again)
2015-06-14 18:57:28 +10:00
Michael McMaster
94cc9e77bc
Adding configurable geometry support to firmware.
...
Fix for scsi2sd-util crashes on exit.
2015-06-12 09:44:34 +10:00
Michael McMaster
6c7ac0966f
EMU EMAX 1/2 fixes.
...
Additional delays for SCSI1 hosts to improve compatibility with slow SCSI
controllers
Slight performance improvement for SCSI2 hosts (500us per command)
Config settings may now be saved/loaded via XML files in scsi2sd-util.
2015-06-10 14:57:13 +10:00
Michael McMaster
ee846f4226
Add missing SWV trace functions.
2015-05-05 20:15:22 +10:00
Michael McMaster
e309282563
Hardcode a default config, which is written to flash on first boot.
...
The bootloader fails checksums if the config is defined within a
code section, then later modified.
Hacking the .hex file isn't possible either because PSoC Programmer
checks that the non-bootloadable part of the flash is empty.
2015-05-04 23:51:11 +10:00
Michael McMaster
84112d50dc
Clean up version number mishap (4.2.3 reported as 4.2.2)
...
Reduce size of mode pages for SCSI1 hosts
Stability improvements whan handling resets during SCSI reads.
2015-05-04 21:38:14 +10:00
Michael McMaster
dd079ff2be
Supply dummy trace.h to get the code to compile.
2015-05-04 21:03:05 +10:00
Michael McMaster
0cf125fc05
SWV tracing for diagnosing hangs.
...
Patch provided by James Laird-Wah <james@laird-wah.net>
2015-05-04 20:39:25 +10:00
Michael McMaster
cb79ac4e9a
Reduce size of mode pages for SCSI1 hosts
2015-05-04 20:20:53 +10:00
Michael McMaster
1b14acad1a
Removed default config from flash.
...
The bootloader checksum check fails if the configuration is changed.
2015-04-26 08:10:09 +10:00
Michael McMaster
9ad7cc15d0
Small compatibility improvements, and added scsi2sd-monitor test program
2015-04-20 16:09:51 +10:00
Michael McMaster
95b519789b
Implement WRITE BUFFER and WRITE WITH VERIFY commands
...
Also fixes a problem with SD card initialisation not setting
the clock back to normal on an error condition. The next
initialisation attempt ends up running the card at a very slow
rate.
2015-02-20 16:56:27 +10:00
Michael McMaster
5446dc86ba
Support VMS 5.5_2 mode page bits.
2015-02-01 19:13:33 +10:00
Michael McMaster
70257ca867
SD card interface rewrite to improve compatibility with some SD cards.
...
- Fixed write problems with Samsung SD card controllers
- Added workaround to prevent timeouts on slow writes.
- Upgrade to PSoC Creator 3.1 and gcc 4.8.4
2015-02-01 13:42:01 +10:00
Michael McMaster
64fed3d6b1
Change default configuration to 2GB limit, no parity, no attention.
2015-01-08 20:54:27 +10:00
Michael McMaster
49c9b7d734
Fix SD hotswap when using long microSD to SD cables.
2014-12-23 21:15:52 +10:00
Michael McMaster
638c94ce5c
scsi2sd-util bug fixes and hot swap support.
2014-12-23 09:22:01 +10:00
Michael McMaster
b19a0a4c7c
Emulation of multiple SCSI targets now working.
...
The CDROM device support has a few bugs, as does scsi2sd-util
2014-12-05 13:17:06 +10:00
Michael McMaster
2354021f55
Merge scsi2sd-util GUI changes
...
Conflicts:
software/SCSI2SD/src/config.c
software/SCSI2SD/src/disk.c
software/SCSI2SD/src/scsi.c
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitter.h
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitter_cfg.c
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfittergnu.inc
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitteriar.inc
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitterrv.inc
software/SCSI2SD/v3/SCSI2SD.cydsn/Generated_Source/PSoC5/project.h
software/SCSI2SD/v3/SCSI2SD.cydsn/SCSI2SD.cycdx
software/SCSI2SD/v3/SCSI2SD.cydsn/SCSI2SD.cyfit
software/SCSI2SD/v3/SCSI2SD.cydsn/SCSI2SD.cyprj
software/SCSI2SD/v3/SCSI2SD.cydsn/SCSI2SD.svd
software/SCSI2SD/v3/SCSI2SD.cydsn/TopDesign/TopDesign.cysch
software/SCSI2SD/v3/SCSI2SD.cydsn/scsiTarget/scsiTarget.v
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitter.h
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitter_cfg.c
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfittergnu.inc
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitteriar.inc
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/cyfitterrv.inc
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoC5/project.h
software/SCSI2SD/v4/SCSI2SD.cydsn/Generated_Source/PSoCCreatorExportIDE.xml
software/SCSI2SD/v4/SCSI2SD.cydsn/SCSI2SD.cycdx
software/SCSI2SD/v4/SCSI2SD.cydsn/SCSI2SD.cyfit
software/SCSI2SD/v4/SCSI2SD.cydsn/SCSI2SD.cyprj
software/SCSI2SD/v4/SCSI2SD.cydsn/SCSI2SD.svd
software/SCSI2SD/v4/SCSI2SD.cydsn/TopDesign/TopDesign.cysch
2014-11-28 13:47:49 +00:00
Michael McMaster
75f825e6d5
Initial scsi2sd-util GUI tool.
...
Firmware upgrade and config save/load mostly works.
Firmware isn't making use of the new configuration yet.
2014-11-28 16:54:42 +10:00
Michael McMaster
f2ce3c3c6b
Fix stop-bit for samsung SD cards.
2014-10-27 23:27:46 +10:00
Michael McMaster
a8cd4216a2
Fixed parity handling to respect the --no-parity config option.
...
- Automatically disable parity checks for old SASI/SCSI1 hosts.
- Add scsi disconnect/reconnect support for long SD card writes.
2014-10-09 09:47:46 +10:00
Michael McMaster
5456126c99
Added glitch filter to ACK, RST, SEL, BSY and ATN lines.
2014-08-29 22:35:05 +10:00
Michael McMaster
7db82a4e4a
Added glitch filter on ACK line, registered all outputs, double-synced inputs, and fixed parity checks.
2014-08-28 23:28:09 +10:00
Michael McMaster
f45769aed5
Use the LUN provided in IDENTIFY messages in preference to the CDB.
...
This fixes extra LUNS being seen by VMS.
2014-07-24 06:52:34 +10:00
Michael McMaster
91fbbd80d6
Fixed missing SCSI ID in scsi2sd-config
...
Added vendor-defined usage page to USB HID device descriptors for
more reliable operation on Mac.
2014-07-20 17:01:22 +10:00
Michael McMaster
8721b36467
Ugly workaround for lack of multiple HID device support on OSX.
2014-07-17 23:57:31 +10:00
Michael McMaster
70a3b594c2
Removed C++11 dependencies, and compile Windows binaries staically with mingw.
2014-07-17 15:49:51 +10:00
Michael McMaster
53fb77e7ad
Fix compile on OSX.
...
Moved to clang++ for better c++11 support. No more fat binaries,
min OSX 10.7
2014-07-14 20:28:33 +10:00
Michael McMaster
2cb04473ba
Fix utility Makefiles to output Windows binaries using mingw
2014-07-14 14:45:05 +10:00
Michael McMaster
0140bd9125
Fixed external LED detection
...
Updated parts list for the V4 boards.
2014-07-13 20:15:28 +10:00
Michael McMaster
5e0f1e3360
Added support for v4.2 boards
...
Renamed "pbook" firmware to "v4". Original "green" boards now under "v3".
Add external LED support for v4 firmware.
Added --reset to scsi2sd-config
bootloaderhost can now reset the board.
2014-07-12 23:55:57 +10:00
Michael McMaster
5ede6f0d07
Updating Powerbook firmware with the latest mainline changes.
2014-06-23 13:52:05 +10:00
Michael McMaster
092541dd02
Fix DMA transfer bug.
2014-05-30 23:35:19 +10:00
Michael McMaster
5bcd0c3a18
Use DMA for SCSI and SD card transfers for a massive performance boost.
2014-05-30 11:09:55 +10:00
Michael McMaster
5be00f0632
Merge latest bugfixes
2014-05-18 03:57:01 +00:00
Michael McMaster
db9c316019
More compatibility and bug fixes.
...
- Maximum sector size increased to 8192
- Fix for REQUEST SENSE to support Ensoniq ASR-10
- Fix to configurable sector sizes
2014-05-18 13:42:51 +10:00
Michael McMaster
2bad7c0d85
Build utilities for Mac OSX 10.5+ using Xcode 3.1.4
2014-05-05 11:18:59 +00:00
Michael McMaster
767f12e481
Adding Ensoniq ASR-10 support and improved FORMAT UNIT command.
...
- Read the data-phase bytes during a FORMAT UNIT command
- Return the exact number of bytes requested for the REQUEST SENSE command
2014-04-29 17:40:22 +10:00
Michael McMaster
3762d59973
Add all phase bits to a control register for atomic phase changes.
...
Slowed the SCSI bus clock to 30MHz to meet timing constraints. No
overall change in performance.
2014-04-22 21:21:37 +10:00
Michael McMaster
537ddcc953
Fix scsi2sd-config failures under windows.
2014-04-17 20:13:36 +10:00
Michael McMaster
36ce697d7a
Force unit-attention-condition off for pre-SCSI2 hosts
2014-04-16 21:46:01 +10:00
Michael McMaster
48bfd6f343
Fix completely broken MODE SELECT.
...
Setting the blocksize via a MODE SELECT works now.
2014-04-16 20:43:43 +10:00
Michael McMaster
0bb5ed8349
Added configurable block-size support
2014-03-28 00:24:33 +10:00
Michael McMaster
7231a4e210
Compile fix.
2014-03-23 22:30:53 +10:00
Michael McMaster
abe0a5f51a
Powerbook firmware!
...
Includes updates to the bootloderhost utility to compare the USB device release
number against an expected firmware filename to prevent loading the Powerbook
firmware on the normal board, and vice-versa.
2014-03-23 08:36:29 +10:00
Michael McMaster
9dab0bcac4
Adding minimum command timer.
2014-03-03 22:08:40 +10:00
Michael McMaster
030fc25ffb
Fixed broken Unit Attention Condition and reset behaviour.
2014-03-02 21:52:06 +10:00
Michael McMaster
0913298097
Removing unneccessary hack.
2014-02-15 10:04:20 +10:00
Michael McMaster
6c8cbf54c6
Many bug fixes, including selection fixes.
...
- Better selection support for SCSI1 initiators
- Support select-with-atn
2014-02-15 06:58:27 +10:00
Michael McMaster
09782fcdc5
Fix errors reading the last sector of SD card.
2013-12-23 22:59:31 +10:00
Michael McMaster
0629f76919
Write performance improvements. Doubled performance to 900kb/sec.
2013-12-23 21:51:23 +10:00
Michael McMaster
3e22ca4e6f
Removing obsolete files.
2013-12-20 21:57:03 +10:00
Michael McMaster
c8389e5ff7
Read performance improvements
...
- More than 2x improvement in read performance, to 930KB/sec
- Added compatibility for the Keil ARM compiler. Provides an
additional 1.5% performance improvement.
2013-12-20 21:54:41 +10:00
Michael McMaster
b50aad09c8
Reliability improvements for SD init and reads.
2013-12-09 22:00:49 +10:00
Michael McMaster
a835e7a1d3
Added MODE SELECT stub to enable Apple HD SC Setup formatting. Thanks dougg3!.
2013-12-09 12:16:24 +10:00
Michael McMaster
890106c806
Fix typo in scsi2sd-config Makefile for building on Mac OSX
2013-10-30 09:13:55 +10:00
Michael McMaster
7193c6f29b
Added the scsi2sd-config utility, and updated firmware to suit.
2013-10-29 21:48:07 +10:00
Michael McMaster
ed1dff172e
Added Windows support for the bootloaderhost utility
...
Compile on Linux using the mingw cross compiler.
2013-10-28 21:08:29 +10:00
Michael McMaster
32a39b08be
Added Mac OSX support for the bootloaderhost utility (not tested)
2013-10-27 21:35:25 +10:00
Michael McMaster
2db48d9211
The bootloaderhost utility is now working under Linux.
2013-10-27 21:10:54 +10:00
Michael McMaster
c693c7fac1
Updated firmware for PCB Revision 3.0
...
- A USB Bootloader is now used. Use either the bootloader host supplied
with PSoC Creator 3.0, or else the standalone app included with
Cypress AN73503. You have 2 seconds between connecting the USB cable
and hitting the "program" button.
- The bootloaderhost program included in this repository doesn't quite
work yet. When functional it should simplify firmware updates on Linux
and Mac OSX
- Fixed an error in the parts spreadsheet which had a 22k resistor for
USB termination instead of a 22 Ohm resistor.
- Updated parts spreadsheet with part number of PSoC actually used
(CY8C5267AXI-LP051).
2013-10-27 00:21:42 +10:00
Michael McMaster
b4667837de
Modified PSoC Creator project file to use relative paths
2013-10-25 06:59:59 +10:00
Michael McMaster
ad91a39f77
Implemented multi-sector SD read command.
2013-10-20 19:50:47 +10:00
Michael McMaster
b9ed365266
SCSI data read/write implemented using the PSoC datapath
...
Moved some configuration parameters into EEPROM
2013-10-20 18:27:57 +10:00
Michael McMaster
cc6921e4ce
Write performance improvements.
...
- Multi-sector SD card writes supported.
- Updated to PSoC Creator 3.0
2013-10-14 22:24:04 +10:00
Michael McMaster
27e482ea8c
Multi-sector writes, increased SPI clock to 24MHz, Added support for SDHC/SDXC.
2013-10-12 00:37:27 +10:00
Michael McMaster
75de12268f
Creating new repository to prune history.
2013-10-03 07:07:58 +10:00