IDE on MPC821
Hi
Sorry for the off-topic posting but I am stuck to this mail list. I am doing my thesis for my Master degree,which I want to build a IDE controller to work with MPC821. Can anyone tell me how difficult it is? or give advice where can I find related material, any example would be great. sorry for my humble english.
Thanks in advance
Jerry
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Jerry Nguyen
Hi
Sorry for the off-topic posting but I am stuck to this mail list. I am doing my thesis for my Master degree,which I want to build a IDE controller to work with MPC821. Can anyone tell me how difficult it is? or give advice where can I find related material, any example would be great. sorry for my humble english.
Since I have already embarrased myself over this subject on this list before, I can just as well continue to do so.
On the hardware side this is not hard to do at all. What you need to do is synthetisise a ISA bus out of the MPC821 local bus. The IDE bus is just a buffered version of the ISA bus. The disk itself appares in its simplest form as just three IO registers. The IDE controller is therefore nothing but buffers and two address decoders.
Both the ISA and MPC8xx bus are asynchronous, but where the ISA bus [aka. 80C286 local bus] is default run and 16 bit little endian, the MPC8xx bus is default wait 32 bit big endian _and_ bit reversed [meaning D31 is LSB, as is A31.] Plus, the MPC8xx bus is a tiny twiddle bit faster than the ISA bus, both in fewer clock cycles per bus cycle and in pure clock frequency. Also, the MPC8xx bus prefers, though does not have to, bust data in four times 32 bit blocks. Plus, the MPC8xx does not support IO space directly, only memory space.
An ATA66 interface OTOH can be more challenging. Mostly because it is hacked together on top of a shaky foundation. But not undoeable. But then we face the IDMA problems. But these can be overcome by performance scaling and FIFO buffering.
But if harddrive performance actually matters, then place a SCSI bridge on PCI. I am only in favor of Keep It Simple Stupid to the point where make-do solutions start compromise
the stability and architecture of the
larger system at hand.
But I probabely have to do this interface myself. You may mail me privately and we can come to some arrangement.
--
******************************************************
Never ever underestimate the power of human stupidity. -Robert Anson Heinlein
[email protected]
******************************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Its rather trivial to put an ide device - i.e. a harddisk - directly on the external bus of the MPC8xx - with maybe some buffering and address decode to select between IDE's two chip selects - or if you can afford it, just use two of the 8xx's chip selects.
Steve
Quoted 9 lines · Jerry Nguyen
Hi
Sorry for the off-topic posting but I am stuck to this mail list. I am doing my thesis for my Master degree,which I want to build a IDE controller to work with MPC821. Can anyone tell me how difficult it is? or give advice where can I find related material, any example would be great. sorry for my humble english.
Quoted 3 lines
Thanks in advance
Jerry
--
-------------------------------------------------------
Steven K. Rossi [email protected]
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Steve Rossi
Its rather trivial to put an ide device - i.e. a harddisk - directly on the external bus of the MPC8xx -
....just put it on the PCMCIA bus...
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/