Mohamed,

Caveat - This mostly from memory, I am not at my machine at the moment,
although I happened to have my configurations with me on a thumb drive.

I am using the firmware from 2.2.8. By default it loads each time EMC is
started, although that can be turned off. You configure your system through
the "config=" following the reference to the desired driver. Basically you
just need to add the following lines to the hal file, or enter manually with
halcmd after entering "realtime start".

Note: if running from source, you need to cd into the emc folder, run ".
scripts/emc-environment", then "scripts/realtime start" before running
"halcmd". You also do not need to do the addf commands to see the pin and
parameter information.

For 7i43:
loadrt probe_parport
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43/SVST4_6B.BIT num_stepgens=2
num_pwmgens=1 num_encoders=1"

addf hm2_7i43.0.pet_watchdog  servo-thread
addf hm2_7i43.0.read          servo-thread
addf hm2_7i43.0.write         servo-thread

For 5i20:
loadrt hostmot2
loadrt hm2_5i20 config="firmware=hm2/5i20/SVST8_4.BIT num_stepgens=2
num_pwmgens=1 num_encoders=1"

addf hm2_5i30.0.pet_watchdog  servo-thread
addf hm2_5i20.0.read          servo-thread
addf hm2_5i20.0.write         servo-thread

2nd Note: There are several options for the ".Bit" files, make sure to
select the one most appropriate for your application. These are just
examples.

I am still using the old drivers, when 2.3 is released, these are deprecated
where you should use hm2_pci (Sebastian - Correct me if I am stating
anything incorrectly here).

You can find some more generic configurations here:
http://cvs.linuxcnc.org/cvs/emc2/configs/hostmot2/

You can also get more information by entering:

man hostmot2

>From a terminal session.

Then once that much of a hal file loads or those commands are entered
manually, you can either enter 'dmesg' or:

halcmd show pin

To see your I/O and how to reference it.

Also note, in the 2.2.8 release, there is a bug which requires that you
specify at least one encoder (if at least one pwm is specified? - Again help
Sebastian).

You should not need to modify the firmware, you only need to specify your
configuration. Actually modifying the firmware is a different animal
altogether.

Regards,
Eric


MR. ERIC   I read that you are using  Mesa 5i20 & 7i43 cards in many machine
.  which version  of  firmware  you use?  AND  if u please  tell me steps
 for downloading  firmware for both cards   and how modify the configuration
of firmware in  detailsthank you  M.sheirf


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to