TomDDG / ZXPicoMD

Raspberry Pico ZX Spectrum Microdrive Hardware Emulator
GNU General Public License v2.0
54 stars 4 forks source link

Only able to access 'Drive 1' and drive permanently running after loading program #9

Closed robosnacks closed 4 months ago

robosnacks commented 4 months ago

Hi, I wonder if you could offer some thoughts or advice?

I've built myself a unit a few days ago and it it doesn't quite seem to be behaving as I'd expected.

The 2 obvious problems I am seeing are:

The provided diagnostic utilities all work successfully with one notable exception. The Martin Smith cart always hangs when it gets to Reading a 'write' file, 160:1

I have a Issue 2 IF1 according to the test utilities.

I've tested on my 2 Spectrums (an Issue 3 and 4S) with the same result. I've cleaned the edge connectors and inspected my soldering work with no obvious problems found. I've also tried a few different SD cards, just in case.

In terms of hardware the 'big question mark' is around the IF1 I think. This is untested (until now) and unfortunately I don't have another one nor a real microdrive to try with it - so I do wonder if there's a problem here, as I can't seem to find anything else obvious. I'd also note that I've never used a real microdrive before so it's perfectly possible I'm misunderstanding something...

Any thoughts/advice/ideas you could offer would be gratefully received. Thanks.

liveboxandy commented 4 months ago

Check Q3 and Q6 on the IF1. I had a similar problem when I built a replacement IF1. I changed both and it appeared to correct the issue.

TomDDG commented 4 months ago

The COMMS OUT & CLK determine which drive is selected so maybe that isn't working correctly, picking one I would say COMMS OUT is most likely the issue, maybe it is being held high confusing the PicoMD. Q3 is linked to the COMMS OUT line so as liveboxandy that might be the culprit. According to the service manual Q3 (and Q6) is a BC184, BC184B or BC184C, quick scan on the internet shows a MPSA18 is a modern replacement if you can't source the BC184.

Also double check the diodes are in the right way round on the PicoMD board.

robosnacks commented 4 months ago

I changed out both Q3 and Q6 without success, however, I then also changed Q1 and this seems to have done the trick!

(Interestingly, on closer inspection, a ZTX213 was installed as Q1 - according to the IF1 schematic & service manual it should be a BC213L - which is what I replaced it with. Perhaps the root of the problem? - I guess maybe a historical repair at some point in it's life...)

Really pleased to have it working properly, love it! Many thanks Tom and liveboxandy for pointing me in the right direction.

TomDDG commented 4 months ago

Glad you got it working. Quick scan of the schematic and Q1 is also on the COMMS OUT line so makes sense.