1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

IDE interfacing with 8051 new problem (old one fixed)

Discussion in 'Hardware' started by bob, Apr 30, 2004.

  1. bob

    bob Guest

    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?
     
    bob, Apr 30, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. TEL
    Replies:
    0
    Views:
    790
  2. andrew queisser

    8051 memory interfacing questions

    andrew queisser, Feb 3, 2004, in forum: Embedded
    Replies:
    9
    Views:
    530
    Chris Hills
    Feb 4, 2004
  3. embedidea
    Replies:
    10
    Views:
    1,165
    embedidea
    Jul 10, 2006
  4. Replies:
    0
    Views:
    648
  5. bob
    Replies:
    0
    Views:
    329
  6. gautham

    interfacing 8051 with adc

    gautham, Jan 9, 2007, in forum: Embedded
    Replies:
    0
    Views:
    348
    gautham
    Jan 9, 2007
  7. Replies:
    1
    Views:
    377
    martin griffith
    Apr 23, 2007
Loading...