A Linux driver to connect PATA/IDE directly to GPIO

  • Going the other way, a PATA port in PIO mode can be used as GPIO: https://hackaday.com/2011/02/03/stk200-pocket-change-program...

  • An interesting project I found on twitter. Interfacing PATA/IDE directly to Raspberry Pi’s GPIO is pretty trivial and manages to transfer 500 KiB/s. Enough to play CDs. The driver code is around 500 LOC.

  • This is a fun hack. FWIW, similar sorts of things can be used to add a PATA drive to a Cortex-M microprocessor like the STM32 series.

    Who doesn't want a micropython board with gigabytes of code space ? :-)

  • > Data transmission is well outside the design scope of libgpiod.

    But it can do it, anyway. Lovely hack.

  • I was just watching ‘Anna’ on Hulu, and was thinking about IDE drives.

    This does look really cool.

  • I wonder if you could implement a floppy interface the same way?

  • You could have done so much more with your life.