0
\$\begingroup\$

I have free sata connector in my laptop and I've wondered if is there any option to use SATA as some kind of data transmission, like USB. Will i need to write my own drivers? Bottom line is: i want to design a device that is connected to laptop in optical bay. Any ideas?

\$\endgroup\$
7
  • 3
    \$\begingroup\$ I strongly believe the SATA controller is hardcoded by the BIOS... Yet you might try to disguise your device as a SATA HDD. \$\endgroup\$
    – Eugene Sh.
    Dec 14, 2017 at 22:40
  • \$\begingroup\$ Eugene is correct. Think about UEFI... how do you think an operating system loads up every time you turn on your computer? \$\endgroup\$
    – user103380
    Dec 14, 2017 at 22:44
  • \$\begingroup\$ I thought about it. Do you think it will be possible to make it that, when i write TO the disk it will be then seen by my device as command/data incomming or sth? \$\endgroup\$ Dec 14, 2017 at 22:45
  • \$\begingroup\$ @MateuszKowalik Grab SATA protocol specification and see if it makes sense for your device to implement it. \$\endgroup\$
    – Eugene Sh.
    Dec 14, 2017 at 22:47
  • 3
    \$\begingroup\$ One of those questions where if you have to ask, you can't do it. \$\endgroup\$
    – pipe
    Dec 14, 2017 at 22:57

1 Answer 1

1
\$\begingroup\$

There are low cost readily available IDE/PATA to SATA convertors such as this. enter image description here

The PATA interface is straightforward and very well documented.

All the versions I've seen will support the PIO and UDMA modes, and clock speeds are quite reasonable if you stay at or below UDMA(2) -- 33 MB/s. You can make a very simple interface using the PIO modes, this will give you only a maximum of 16.7 MB/s but it's very easy to emulate a disk drive in these modes directly from an MCU.

This might be a good starting point for you.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.