Eric H. Johnson wrote: > I load the drivers / firmware as follows: > > Loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1 > debug_pin_descriptors=1 debug_modules=1 > > Loadrt hm2_7i43 config="firmware=hm2/7i43/SVST4_4B.BIT num_stepgens=2 > num_pwmgens=1 num_encoders=0 enable_raw"
Looks good. > The command line error message is: > insmod: error inserting > '/usr/realtime-2.6.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Input/output > error > > I can post the output from dmesg, but I think this is the operative part: > > hm2_7i43: /DONE is not low after CPLD reset! > hm2_7i43: /DONE is not low after CPLD reset! > hm2/hm2_7i43.0: failed to reset fpga, aborting hm2_register > hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not > found! > > If I understand correctly, the FPGA is loaded via the USB interface. I > checked the USB and parallel port setup in the BIOS. I did not see anything > meaningful for the USB ports, but for parallel port mode, it defaults to a > mode of ECP. I changed it to Bi-directional, but that made no difference. > > The BIOS does not show the address of the parallel port, but I assume it is > at the standard 0x378 address. I have both USB and parallel cables > connected. > > What no doubt stupid thing am I missing. USB is not used for communication at all, only for power. (This is mentioned in the hm2_7i43 manpage.) The error you're getting is indicative of a low-level parallel port communication error. You should figure out what address your parport is at; you can do this by loading the linux parport and parport_pc drivers and seeing what they say. Also check your cables. I know i sound like a broken record regarding EPP cables, but it really is the problem 99% of the time. -- Sebastian Kuzminsky sudden wind it stole my hat and i went on chasing it -- Gogol Bordello ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users