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
35d88b4d1f
Add tool to allow manual hacking of .hex firmware files
2015-05-04 20:21:28 +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
0a83042b0d
Merge branch 'scsi2sd-util'
2014-12-23 09:25:55 +10:00
Michael McMaster
638c94ce5c
scsi2sd-util bug fixes and hot swap support.
2014-12-23 09:22:01 +10:00
Michael McMaster
1108cdc899
Preparing for pick-and-place assembly (xy file)
2014-12-09 20:31:11 +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
762b96f77b
Update 3.5" board revision to 4.2c.
...
Added bulk capacitance to help resolve SD card write issues.
2014-11-25 19:40:23 +10:00
Michael McMaster
f2ce3c3c6b
Fix stop-bit for samsung SD cards.
2014-10-27 23:27:46 +10:00
Michael McMaster
0c53240659
Update parts list for 4.2b revision PCB and DB25 version.
2014-10-21 23:28:41 +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
e71076759c
Merge PCB updates
2014-08-31 13:25:40 +00:00
Michael McMaster
4409cd610a
Rev 4.2b PCB - Replace obsolete 2.85V regulator with adjustable regulator
...
Added new DB25 version of the PCB.
2014-08-31 23:23:41 +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
186938a03f
Merge Powerbook firmware updates
2014-06-23 03:55:32 +00:00
Michael McMaster
5ede6f0d07
Updating Powerbook firmware with the latest mainline changes.
2014-06-23 13:52:05 +10:00
Michael McMaster
dd1bd2f4d3
Merging exported gerbers
2014-06-22 10:48:16 +00:00
Michael McMaster
52b1103817
Exporting gerber files
2014-06-22 20:47:08 +10:00
Michael McMaster
9a3b7e9be9
Merge board redesign
2014-06-20 04:30:36 +00:00
Michael McMaster
981110622d
3.5" Board redesign!
...
- A few GPIO ports for expansion.
- SD SPI signals brought to a header.
- Reduced solder stencil holes for PSoC to reduce bridging
- Increased solder stencil holes for micro SD to reduce cold joints
- Added external LED support
- 3.5" mounting hole positions fixed
- Added 2.5" mounting holes for use with 2.5" to 3.5" bracket.
2014-06-20 14:25:53 +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
9c1709d10e
Merge Powerbook PCB updates
2014-05-07 10:10:09 +00:00
Michael McMaster
46162bf59a
Powerbook PCB tweaks and gerber export
2014-05-07 20:07:04 +10:00
Michael McMaster
ac744aa31c
Merge Powerbook pcb updates
2014-05-06 11:07:23 +00:00
Michael McMaster
998df766c1
Updated powerbook PCB for 50 pin connector.
2014-05-06 21:05:31 +10:00