TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Linux driver to connect PATA/IDE directly to GPIO

146 pointsby crizzlenizzlealmost 5 years ago

6 comments

myself248almost 5 years ago
Going the other way, a PATA port in PIO mode can be used as GPIO: <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2011&#x2F;02&#x2F;03&#x2F;stk200-pocket-change-programmer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2011&#x2F;02&#x2F;03&#x2F;stk200-pocket-change-program...</a>
评论 #24096782 未加载
评论 #24097092 未加载
评论 #24097971 未加载
crizzlenizzlealmost 5 years ago
An interesting project I found on twitter. Interfacing PATA&#x2F;IDE directly to Raspberry Pi’s GPIO is pretty trivial and manages to transfer 500 KiB&#x2F;s. Enough to play CDs. The driver code is around 500 LOC.
ChuckMcMalmost 5 years ago
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.<p>Who doesn&#x27;t want a micropython board with gigabytes of code space ? :-)
评论 #24094653 未加载
评论 #24097116 未加载
评论 #24095208 未加载
h2odragonalmost 5 years ago
&gt; Data transmission is well outside the design scope of libgpiod.<p>But it can do it, anyway. Lovely hack.
dillonmckayalmost 5 years ago
I was just watching ‘Anna’ on Hulu, and was thinking about IDE drives.<p>This does look really cool.
awiesenhoferalmost 5 years ago
I wonder if you could implement a floppy interface the same way?