This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot ide tweaks


A couple of notes about this patch:

1) adding it in causes the compact flash (running in IDE mode) on my
target to fail.
I haven't figured out exactly why yet.  I do know that adding a read
of the alternate
status register before writing the device register seems to make it work for me.
I still need to look at the reset timings for the CF card vs. the
delays in the patch.

2) According to the ATA-6 docs, in regards to the device register:

7.7.3 Access restrictions

This register shall be written only when both BSY and DRQ are cleared
to zero and DMACK- is not asserted.  The contents of this register are
valid only when BSY is cleared to zero.
If this register is written when BSY or DRQ is set to one, the result
is indeterminate



-- 
Hardware, n.:
        The parts of a computer system that can be kicked.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]