I'm going to start a new project and I wonder if the concept makes sense. (I'm not so familiar with ATA specifications to answer this by myself :))
The concept:
HW design:
"SATA connector on motherboard" <-> "SATA cable" <-> "SATA/IDE HW converter" <-> "ATMEGA168"
"SATA connector on motherboard" <-> "SATA cable" - Device would be connected to SATA port on PC motherboard with typical SATA cable
"SATA/IDE HW converter" - on my PCB I will use one of SATA/IDE controllers, so far I've found: JMicron - JM20330,
Atmel - AT78C5010,
ACARD - ARC-770"ATMEGA168" - as programmable unit I'd like to use ATmega168 (or any other cheap 8-bit microcontroller)
Purpose
With this device I'd like to simulate presence of hard drive in a system. As I want SATA/SCSI stack to be used by OS I need to use SATA ports on motherboard. AFAIK connecting to SATA interface without SATA/IDE converter is impossible with ATMega microcontrollers due to big speed of SATA bus interface. Nevertheless I've found IDE/ATA implementation for 8-bit uC: http://www.opend.co.za/hardware/avride/avride.htm
Wonders
My biggest concern is the SATA/IDE converter, I wonder if it can be easly used with micro-controllers as ATMega?