Rockbox mail archiveSubject: Re: Red Led Dead test II
From: Björn Stenberg (bjorn_at_haxx.se)
Daniel Gudlat wrote:
The only kind I have seen in my archos is the "spontaneous" kind, and that seems to be fixed by my latest ata change.
I agree that the movement induced RLOD appears to be a different beast. I have updated the test firmware to include a new debug menu entry: ATA History.
What I'd like you to do is that when you get a RLOD, go to Debug->ATA History and look at the numbers. The screen will look something like this:
The values are the ata command/event history. 13 is the most recent event, 0 is the oldest. The hex value is the event or command:
#define CMD_DEVICE_RESET 0x08
/* fake commands, for the history */
The "Status:" line shows the current content of the ATA status register.
Misc info: The history screen is redrawn every second. Multiple commands are only stored once (i.e. 21 consecutive READs are only shown as a single one). SOFT_RESET (0xF03) is used to wake up the disk from SLEEP. HARD_RESET (0xF02) is used to wake up from POWERDOWN.
Happy hunting! :-)
Page was last modified "Jan 10 2012" The Rockbox Crew