retro16 / acsi2stm

Atari ST ACSI to SD card converter with a STM32
GNU General Public License v3.0
159 stars 38 forks source link

Not compatible with the standard, some drivers don't work #22

Closed troed closed 1 year ago

troed commented 2 years ago

It seems the ACSI2STM project isn't implementing (or not correctly implementing) some commands that would allow it to work with more drivers on the Atari (in this case, HDDriver specifically). There's been a discussion over on the HDDriver forum and Uwe has helpfully suggested using his testsuite and monitor (see at the bottom of https://www.hddriver.net/en/scsidriver.html ) to figure out where the problems might be.

I've run SDRVTEST which complained on not getting an error accessing invalid LUN, and hanging on reading from the invalid LUN, as well as SERRTEST that threw an error on getting the capacity. I've not researched this further.

It is, sort of, possible to use HDDriver with ACSI2STM (see my post here: https://www.hddriver.net/forum/viewtopic.php?p=887#p887 ) so I don't expect it to be much work (famous last words) to increase compatibility.

retro16 commented 2 years ago

Thanks a lot for bringing that to my attention. I'm not really active on the project at the moment but I will put this in my top priority list (don't hold your breath too much). Of course, any patch or pull request is more than welcome. Also, some very factual descriptions of what's wrong or missing would help (the hints on this forum page are already very good). These are indeed minor adjustments.

The initial project goal was to make it work with ICD so I basically took Hatari code as a reference without taking SCSI standards into consideration, and it seems that some parts were lost in translation (I thought that anything working with Hatari should work with ACSI2STM).

retro16 commented 2 years ago

I just commited some changes into master. I didn't fully test hddriver, but at least SDRVTEST does not complain too much anymore. SERRTEST is still not happy.

retro16 commented 2 years ago

Version 3.00 should be much more SCSI compliant, especially in strict mode.

fplanque commented 2 weeks ago

Version 3.00 should be much more SCSI compliant, especially in strict mode.

Does this mean it's "more" compliant but still not really compliant ?

I had many many many issues trying to get it to work in conjuction with an internal Mega STE SCSI controller.