8051 Harddisk interface

This is my first computerised hardware project i made, making the board was a tad complicated (poor layout on my behalf). But it works!
All the information to make it came from an excellent tutorial on the net of how to build the hardware. If you want to know how to build it exactly and you also want some schematics/examples go to the site and read it up.
The person that built it also delivers an assembler code driver on how to operate it. This driver has been ported to the keil microvision compiler, the sources of this driver you can download below. The code itself is absolutely without warranty and is put under the GPL.
table setup
This is the complete setup of the 8051 IDE controller.

IDE total setup
8051 IDE setup zoomed in.

8051 IDE interface in action
8051 IDE activity led in action.

ide action screenshot
Screenshot of the keil C51 with the IDE demo running.
The demonstration code itself can be downloaded here.

I am also working on interfacing with an FAT32 filesystem, i have made some progress, like locating the first partition and reading the BPB. This whole thing is meant as an simple general purpose FAT32 interface. The code can open a file in the root directory, and open several files at once, and can close them up again.
limitations:
Can only open files in the root.
Can only correctly open files on unfragmented files.
Read only.
The code for the interface is here, now it demo's some file opening routines etc.

Screenshot of the keil C51 with the FAT32 demo running.

Back

Last update at: 11-11-2005