I am in the process of bringing up a CompuPro 8/16 with a Disk3 HDD Interface and CDOS 4.1E, using the BeagleBone Green (the base model...not the Wireless or Gateway version). I am using a Rev C. MFM_EMU emulator board.
I don't have an original Quantum 540 drive image so I created a raw image with the --initialize option:
mfm_emu --drive 1 --file Q540A --initialize --cylinders 512 --heads 8
Upon running setup_emu and starting the emulator as follows:
mfm_emu --drive 1 --file Q540A
I get the following output:
Board revision C detected
Drive 0 num cyl 512 num head 8 track len 20836 begin_time 0
PRU clock 200000000
Waiting, seek time 0.0 ms max 0.0 min free buffers 200
bad pattern count 0
Read queue underrun 0
Write queue overrun 0
Ecapture overrun 0
glitch count 0
glitch value 0
0:test 0 0
0:test 1 0
0:test 2 0
0:test 3 0
0:test 4 0
1:test 0 0
1:test 1 0
1:test 2 0
1:test 3 0
1:test 4 0
select 0 head 0
I then started the CompuPro DISK3 format program, which prints that it is formatting cylinder 000, and I saw the LED that I put on J7 for Drive Select 0 light up. After the drive select went active, I saw MFM_EMU (on the console) respond with:
select 1 head 0
And then everything froze. No further activity on the MFM_EMU nor on the CompuPro. Doing some repeated tests and scope captures, I have see some odd index behavior; namely, upon the initial drive selection I get just one index pulse and then ~16.6ms later, the index line goes low and stays low until I reboot the BeagleBone.
Could this be a PRU issue, an emulation file initialization issue, or maybe a BeagleBone board revision issue?
I can share the relevant emulation file if needed.
So, any suggestions on a fix or what to try next?
Thanks in advance!
-Jeff