Motherboard Forums

Thread Tools Display Modes

IDE interfacing with 8051 new problem (old one fixed)

Posts: n/a
      04-30-2004, 03:13 AM
So now I can seemingly read and write sectors on the hard drive and
store the data in a 512 byte buffer in my ram, but whenever I read a
sector, no matter what, I get the same data, an alternating pattern of
FF and 7F for the whole sector. Any thoughts? I am using LBA
(logical block addressing) which basically treats the whole drive as
an amorphous array of sectors. However Im not sure that I know what
im doing with the addressing scheme. This may be my problem. I just
choose a low address like 00 00 00 01h as the sector to be accessed,
but I dont know if there are constraints on which sectors I can
actually access successfully except that if I try to access a sector
with too high an address i.e 01 00 00 00h it gives me an error because
the hard drive is not that big. Any help?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in interfacing 8051 with gsm module embedidea Embedded 10 07-10-2006 10:40 AM
Atmel/Intel 8051 microcontroller interfacing tutorials splendidm Embedded 0 02-23-2006 11:07 AM
IDE problem interfacing with 8051 bob Hardware 0 04-29-2004 06:03 PM
8051 memory interfacing questions andrew queisser Embedded 9 02-04-2004 07:29 PM
Microcap 7.16, 8051.IDE.v1.20.WinALL, I-LOGIX_STATEMATE_V3.2, Tasking Debuggers, Compilers, IDE, Tools, Embedded Development Environment (EDE), CADENCE ORCAD UNISON SUITE PRO V10.0 - new !, Xilinx ISE 6.1i [2 CDs] - new !, PCB DESIGN STUDIO V15.0 *UP TEL Embedded 0 11-27-2003 08:10 AM

All times are GMT. The time now is 02:37 AM.

Welcome to Motherboard Point