5 ms·
Going the other way, a PATA port in PIO mode can be used as GPIO: https://hackaday.com/2011/02/03/stk200-pocket-change-programmer/ https://hackaday.com/2011/02/
by myself248 6y ago
Going the other way, a PATA port in PIO mode can be used as GPIO: https://hackaday.com/2011/02/03/stk200-pocket-change-programmer/ https://hackaday.com/2011/02/03/stk200-pocket-change-program...
- flingo 6y agoWhen I saw the title, I thought it was going this way. Or, more specifically, a driver to turn an IDE port into GPIO pins that PC programs can control. Closing the gap on making a feature-complete Windows 95 arduino core.
- myself248 6y agoI think you can do this directly, the linked project just tells the kernel "this is a parallel port here", and it just uses normal I/O instructions. The IDE port is already exactly that, though I think the data-direction register controls the whole port at once, rather than one bit at a time.
- rasz 6y agothere was even a project to do direct IDE drive emulation using pee https://hackaday.io/project/20774-netpi-ide https://hackaday.io/project/20774-netpi-ide sadly seems to have stalled
- sebazzz 6y agoYou can also use a parallel port for similar purposes.