Commit Graph

263 Commits

Author SHA1 Message Date
Troy
d97ea88d17 minor fixes
cleaned up onReadCapacity last lba calculation
cleaned up Flexible Geometry Mode Page values
2022-06-25 15:42:36 -04:00
Eric Helgeson
45524964d6
Merge pull request #134 from erichelgeson/eric/bugfixes
Fix onReadCapacity calculation & Sense offset for Flexable Geometry
2022-06-24 16:21:44 -05:00
Eric Helgeson
28078212f5 Fix length offset for Flexable Geometry sense 2022-06-24 16:13:15 -05:00
Eric Helgeson
52a0936fbc Fix onReadCapacity calculation 2022-06-24 16:13:15 -05:00
Eric Helgeson
4dbba493d7
Merge pull request #133 from mactcp/main
Fix handling of dbd bit in onModeSense(), cleanup some stray command table definitions.
2022-06-24 16:09:42 -05:00
Glenn Anderson
f29da7c88c Cleanup some stray command table definitions.
Fix handling of dbd bit in onModeSense()
2022-06-24 13:21:05 -07:00
Eric Helgeson
ad87d86b7a Remove copy/paste error in -USB firmware 2022-06-23 08:21:31 -05:00
Eric Helgeson
d26bf0a15a Back to snapshot 2022-06-22 07:43:35 -05:00
Eric Helgeson
f7075df6d8 v1.1-20220620 2022-06-20 07:45:35 -05:00
Eric Helgeson
3b7aa0d160 Renamed build to dist 2022-06-20 07:45:18 -05:00
Eric Helgeson
8e4b4ee512 v1.1-SNAPSHOT-20220617 2022-06-17 10:23:51 -05:00
Eric Helgeson
557f34e5da
Merge pull request #122 from erichelgeson/eric/spi
We only need to test full and half speed spi
2022-06-17 10:08:28 -05:00
Eric Helgeson
11901d6a0d
Merge pull request #126 from ryandesign/patch-1
Fix typos
2022-06-17 10:05:25 -05:00
Eric Helgeson
1cfaf00594 We only need to test 50 and 25 as the rest are just divided and rounded to full and half. 2022-06-17 10:04:04 -05:00
Eric Helgeson
07961108c7
Merge pull request #115 from mynameistroy/troy/function_table
Switched to function table for SCSI commands
2022-06-17 10:03:05 -05:00
Eric Helgeson
b01c2ffd7c
Merge pull request #127 from ryandesign/patch-2
Fix typos
2022-06-17 09:36:10 -05:00
Ryan Schmidt
d5405ab5f0
Fix typos 2022-06-17 06:52:11 -05:00
Ryan Schmidt
bfa59a1fa4
Fix typos 2022-06-17 06:32:24 -05:00
Troy
f69cff42e4 LED2 blinks once again 2022-06-16 17:13:35 -04:00
Troy
9b2b3f689f accidentally left DEBUG = 1 2022-06-10 23:05:42 -04:00
Troy
eeacf3e746 dev->m_file actually gets the right pointer now 2022-06-10 22:57:06 -04:00
Troy
e52957315e Switched to function table for SCSI commands
moved defines/macros/etc to BlueSCSI.h
SCSI device state is now per device instead of global
Missing INQUIRY init added
SCSI-2 LUN handling (Fixes excess LUN's on SCSI-2)
Only allocate File obj for active SCSI ID's
2022-06-10 22:23:14 -04:00
Eric Helgeson
2641e80fac
Merge pull request #120 from erichelgeson/eric/readDefectData
Implement Read Defect Data 0x37
2022-06-08 15:51:18 -05:00
Eric Helgeson
437b2531ca
Merge pull request #118 from mactcp/main
XCVR code cleanup
2022-06-08 10:00:14 -05:00
Glenn Anderson
dcbb7df80d Alignment adjustment to make XCVR perform the same as non-XCVR 2022-06-04 23:33:19 -07:00
Glenn Anderson
1aecf323e1 Remove unnecessary SCSI_DB_INPUT() and TRANSCEIVER_IO_SET(vTR_DBP,TR_INPUT) 2022-06-03 16:11:53 -07:00
Eric Helgeson
d6ff7017c9 Implement Read Defect Data 0x37 2022-06-02 21:49:27 -05:00
Glenn Anderson
8167ddea6c Move TRANSCEIVER_IO_SET out of writeDataLoop.
Add matching TRANSCEIVER_IO_SET(vTR_DBP,TR_INPUT) to writeDataPhase() and writeDataPhaseSD()
2022-06-01 12:44:05 -07:00
Eric Helgeson
2338d8f153
Merge pull request #117 from erichelgeson/eric/reordercmds
Move read/write command earlier, few kb/sec faster read/write
2022-05-30 16:16:33 +00:00
Eric Helgeson
b16dc558dc Add a few more noops 2022-05-30 11:13:06 -05:00
Eric Helgeson
a5c6edadc3 Move read/write command earlier, few kb/sec faster read/write 2022-05-30 11:13:06 -05:00
Eric Helgeson
79d5b12110
Merge pull request #116 from erichelgeson/eric/noopCmds
Add cmds that are ok to respond GOOD and not do anything.
2022-05-30 14:50:33 +00:00
Eric Helgeson
d6fb46d387 Add cmds that are ok to respond GOOD and not do anything. 2022-05-26 10:01:03 -05:00
Eric Helgeson
c2c3397b72
Merge pull request #114 from erichelgeson/eric/newCmds
Four new commands & some Sense
2022-05-25 02:38:02 +00:00
Eric Helgeson
906b8be9aa Implement Send Diagnostic 2022-05-24 16:49:23 -05:00
Eric Helgeson
3c258451fa Add SCSI_SENSE_MODE_FLEXABLE_GEOMETRY 2022-05-24 13:38:21 -05:00
Eric Helgeson
7cdddf7371 Fix header handling in scsi buffer 2022-05-24 13:37:17 -05:00
Eric Helgeson
20cb5d8552 Prepend the header to the buffer data 2022-05-23 17:13:09 -05:00
Eric Helgeson
5c0724703b Fix build for USB 2022-05-22 12:53:57 -05:00
Eric Helgeson
61ae8a59db Add constants for SCSI mode page codes 2022-05-21 17:32:07 -05:00
Eric Helgeson
19cc9ad169 Implement 3 commands:
SCSI Read Buffer (Thanks @marcelv-3!)
SCSI Write Buffer (Thanks @marcelv-3!)
ReZero Unit
2022-05-21 15:51:42 -05:00
Eric Helgeson
14321e3ba6
Merge pull request #113 from erichelgeson/eric/minorFixes2
Minor fixes
2022-05-21 15:51:33 -05:00
Eric Helgeson
b0799bc327 Remove tabs 2022-05-21 13:21:21 -05:00
Eric Helgeson
2127b14863 Fix default env name 2022-05-21 13:20:53 -05:00
Eric Helgeson
3ef2474ae8
Merge pull request #112 from erichelgeson/eric/versions
Build and tag all versions, collect & rename bin fines
2022-05-21 09:30:58 -05:00
Eric Helgeson
9d1b58cdb6
Merge pull request #111 from erichelgeson/eric/fewMinorFixes
Few minor fixes
2022-05-21 09:30:31 -05:00
Eric Helgeson
1f03996977 Build and tag all versions, collect & rename bin fines 2022-05-20 20:47:11 -05:00
Eric Helgeson
73fc0ed2bf Fix issue where log file would close when logging was enabled.
Thanks @marcelv-3
https://github.com/erichelgeson/BlueSCSI/discussions/103#discussioncomment-2779471
2022-05-20 19:36:06 -05:00
Eric Helgeson
94a22bb45e Add sd card volume format to log.txt 2022-05-20 19:34:19 -05:00
Eric Helgeson
c8d47218b1 Remove the usage of String, saves quite a bit of flash 2022-05-20 19:34:19 -05:00