Skip to contentSkip to conversation

_DoC_WaitReady timed out -- is this the correct way to handle it?

DISCUSSION Chuck Meade 1 participant 1 message Apr 2, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

During bootup I get the following messages relating to my DiskOnChip device:

Using configured DiskOnChip probe address 0xf1000000 DiskOnChip Millennium found at address 0xF1000000
Flash chip found: Manufacturer ID: 98, Chip ID: E6 (Toshiba TC58V64AFT/DC) _DoC_WaitReady timed out.
_DoC_WaitReady timed out.
_DoC_WaitReady timed out.
DoC_Command (reset) for 1,0 returned true
_DoC_WaitReady timed out.
_DoC_WaitReady timed out.
_DoC_WaitReady timed out.
DoC_Command (reset) for 2,0 returned true
_DoC_WaitReady timed out.
_DoC_WaitReady timed out.
_DoC_WaitReady timed out.
DoC_Command (reset) for 3,0 returned true
1 flash chips found. Total DiskOnChip size: 8 MiB
mtd: Giving out device 0 to DiskOnChip Millennium
NFTL driver: nftlcore.c $Revision: 1.85 $, nftlmount.c $Revision: 1.25 $ NFTL_notify_add for DiskOnChip Millennium
.......

The problem is that the timeouts associated with the "_DoC_WaitReady timed out." messages are greatly increasing the bootup time (about 2 additional minutes). It is running DoC_ScanChips(), which is calling DoC_IdentChip(), which is timing out on a reset command, very slowly.

One entry in the archives mentioned checking fewer floors, so I reduced the number of floors being checked from 4 to 1. It now runs fast enough, but I would like to know if this is the correct way to go about handling this "long timeout" issue, or if there is a cleaner approach.

Thanks very much,
Chuck