BlueSCSI on Macintosh Portable

Sideburn

Tinkerer
Jun 16, 2023
255
84
28
California
youtube.com
I am using no special configuration (Mac Plus) and a self made adapter (some pics in the Resources section of the forum).
Virtual drive formatted using HD Toolkit and with HDT driver installed.
I just did a random test, waking it up 10 times in sequence after sleep. Not a single failure, even after two hours sleep.
But sometimes, erratically, when I wake it up from sleep, it just crashes and it automatically reboots.

What I know is that with SCSI2SD it was crashing every single time, fundamentally the reason why I swapped it with BlueSCSI.

I am using the HD0-OpenRetroSCSI-6.0.8-500M.hda pre made image found here: https://mega.nz/folder/8hA3AQCJ#pWUq92L70yDXlogy9lk5Dg/folder/ltAn0Y7Q

Maybe put that on and SD card along with the Mac Plus ini here: https://ini.bluescsi.com/ and see if that causes a delay on your system?
 

alxlab

Active Tinkerer
Sep 23, 2021
287
312
63
www.alxlab.com
I have BlueSCSI first series installed in my non back lit machine with 5 Mb of RAM. Running 7.5.3.
Before I had a SCSI2SD 5.1 and the machine would systematically crash upon waking up from sleep.
With the BluesSCSI things are much better, still it occasionally crashes. Can’t observe any pattern, though.

I just read this from https://lowendmac.com/1989/mac-portable/

Never use a version of Apple HD SC Setup newer than 7.3.1 (which comes with System 7.0.1) or your Portable will crash while waking from sleep mode.

Sounds like you might have had that issue.
 

SuperSVGA

Tinkerer
Mar 26, 2022
64
34
18
I just did another test, and it seems leaving the SCSI emulator powered externally lets it wake up without issue.

Without the external power when the issue is occurring, jumping to InitSCSI using G 900732 gets it going again, so my guess at the moment is when InitSCSI is initially called during the WakeUp, the SCSI emulator is still powering up and might be in a weird state, causing SCSI to fail to initialize.
I need to see if I can find a non RP2040 based design I have around somewhere to see if that has the same issue. And then probably hook the logic analyzer up to see exactly what it's doing.
 

Sideburn

Tinkerer
Jun 16, 2023
255
84
28
California
youtube.com
I just did another test, and it seems leaving the SCSI emulator powered externally lets it wake up without issue.

Without the external power when the issue is occurring, jumping to InitSCSI using G 900732 gets it going again, so my guess at the moment is when InitSCSI is initially called during the WakeUp, the SCSI emulator is still powering up and might be in a weird state, causing SCSI to fail to initialize.
I need to see if I can find a non RP2040 based design I have around somewhere to see if that has the same issue. And then probably hook the logic analyzer up to see exactly what it's doing.

Ahh that makes sense. I was thinking earlier of powering the BlueSCSI externally. That won't work as a permanent fix of course since the battery would drain but I could try it here to see if it resolves the issue. Does it need both 5 and 12v?
 

SuperSVGA

Tinkerer
Mar 26, 2022
64
34
18
Well, I hooked up my SCSI debug board in between the Portable and the SCSI emulator and somehow just having that connected makes the issue go away. Now I just need to see which component on there is doing it, because the only things connected are a diode, power LEDs, and passive termination that shouldn't be enabled.
 

Sideburn

Tinkerer
Jun 16, 2023
255
84
28
California
youtube.com
Well, I hooked up my SCSI debug board in between the Portable and the SCSI emulator and somehow just having that connected makes the issue go away. Now I just need to see which component on there is doing it, because the only things connected are a diode, power LEDs, and passive termination that shouldn't be enabled.

Wow. almost seems like it could be voltage / current related...
 

SuperSVGA

Tinkerer
Mar 26, 2022
64
34
18
So after discovering connecting the logic analyzer fixes the issue, it seems like it's something with the SEL line. Putting a capacitive load on it seems to partially resolve the issue.
I put a 10nF capacitor from SEL to ground, and it will wake from sleep after a few minutes just fine. There was one time it didn't work, but I haven't been able to get it to happen again.
 

Sideburn

Tinkerer
Jun 16, 2023
255
84
28
California
youtube.com
So after discovering connecting the logic analyzer fixes the issue, it seems like it's something with the SEL line. Putting a capacitive load on it seems to partially resolve the issue.
I put a 10nF capacitor from SEL to ground, and it will wake from sleep after a few minutes just fine. There was one time it didn't work, but I haven't been able to get it to happen again.

ok I can try. I need to know which pin to add the cap (select pin) and find a gnd pin to connect to. This is the one I have: https://androda.work/product/bluescsi-v2-desktop/
 
Last edited:

Paolo B

Tinkerer
Nov 27, 2021
258
144
43
Nagoya, Japan

Attachments

  • IMG_2226.jpeg
    IMG_2226.jpeg
    62.5 KB · Views: 121