Hello folks. I guess if any of you had played with Compact Flash in ATA mode. I'm trying to get something out of the beast but with no luck. The aim is to have direct I/O on the 18F452 pins: I use PORTC and PORTD for data transfer and PORTA+PORTE for controlling /WR /RD A0..2 /CS0..1 plus two pins on PORTB for serial bitbanging. I saw there are many project on the net, but often based on the 8255 solution and additional logic, no one of them showing exactly what the initialization of the ATA device would be. In particular, the controller on the disk (or CF) seems not to understand even simple commands like "SpinDown" or "identify", also if the i/O itself seems to work. Any advice is _really_ apreciated. Cheers! Ale -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads