On Tue, 2011-02-22 at 16:47 +0200, fi wrote: > Hi > > I saw this hack on : > http://hackaday.com/2011/02/03/stk200-pocket-change-programmer/ > > This is the original page: > http://eds.dyndns.org/~ircjunk/tutorials/elex/ata2isp/main.html > > > "Linux treat the ubiquitous PATA/IDE port as a parallel port" > > > "... Trick linux into creating a parallel port with the right base > address. To do this, unload the parport_pc module > > >#rmmod partport_pc > > Then do a force load with the new io address, in my case 0x170 > > >#modprobe parport_pc io=0x170 irq=none,none,none > > Yes, the kernel should tell you your crazy and this probably wont > work ..." > > Can this hack work with EMC and rtlinux ? > > First I remembered ct flasher and 8255 but now I think some address > decoding and LS373 would do the trick. > What do you think ? >
On a single master PATA port we can have access to 256 pins, 16 groups of 16 pins(2 drives x 8 addresses x 16 bits), each group being only read or write; Is my math correct ? Is hal_parport.c the proper file to modify for 16 bit I/O over PATA ports ? Are other files to be modified ? Sorry for my english Florin ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users