-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microdrive detection timeout #397
Comments
Hi @skiselev, So, yes, this is very likely to be the same situation I have seen on several occasions. IDE drives are supposed to assert BUSY almost immediately at power-on or reset and hold it asserted until they are ready for I/O. RomWBW implements a somewhat arbitrary delay of about 300ms before checking for BUSY. This value has changed many times in the past as I have tried to balance the needs of different hardware while trying to avoid long arbitrary delays. I find that the more "intelligence" the drive has, the slower it is to assert BUSY because it seems to need to run through the startup time of whatever microcontroller is being used. CF Cards have this anomaly, but I have found that 300ms is almost always enough time. As a short term solution, RomWBW has a BOOT_DELAY config setting. It will simply delay the boot process by the specified number of seconds prior to initializing hardware. Could you play with this and let me know if that helps? It is not a very granular timer, but it would still be good to know how many seconds of delay are needed. Thanks, Wayne |
I'll try to the BOOT_DELAY and report back. It might take a few days... One solution might be adding a longer delay for the HDD BUSY specifically. That wouldn't affect the systems that don't have an HDD, or that use Flash-based CF cards, that don't hold BUSY signal for long. |
Thanks. How would I differentiate an HDD before needing to use the BUSY signal? |
This issue is probably a bit geeky (but isn't it all?!).
I tried using a Hitachi 6 GB Microdrive, which is an actual spinning hard drive in a CompactFlash form factor.
It appears that RomWBW doesn't give it enough time to "spin" on boot. So I am getting a "BUSY TIMEOUT" error.
When the system is restarted from the RomWBW boot loader it properly detects the disk
The text was updated successfully, but these errors were encountered: