Does anyone have a working 7i43 setup (with hostmot2) currently? (Eric?
Anders? Peter?) I shifted from step/dir drives to servo and added the 7i43
card to my system. I was previously running a functional,
fully-updated-to-11Oct08 Ubuntu 8.04, EMC2 2.2.6 system with step/dir
(stepper-mm, modified) to the onboard parallel port of my Epia 10000 board,
and have started the "Slow move" to full closed loop servo. The Ubuntu
install was originally from a LiveCD.
After lots of "pre-show" effort, I am starting simply inside of halrun:
# components
loadrt siggen
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43/SV8B.BIT num_encoders=1
num_pwmgens=1 num_stepgens=1"
loadrt threads name1=tt period1=100000
# parameter values
setp hm2_7i43.0.gpio.P3.047.invert_output FALSE
setp hm2_7i43.0.gpio.P3.047.is_output TRUE
setp siggen.0.update.tmax 0
# realtime thread/function links
addf hm2_7i43.0.read tt
addf hm2_7i43.0.write tt
addf siggen.0.update tt
When this is run (either manually typing or loading from CL, the 7i43 inits,
loads and "reacts" as expected; done and init flash, and go out. 7i43 is set
for EPP config, power always on, external 5v (with external 5v connected!)
Epia parport is set for EPP mode in BIOS. My sandbox was obviously
symlinked, else the firmware wouldn't have been found.
Now, when I view 047.out on halmeter, and toggle it with some setp, it
changes as expected, on the halmeter. Also as expected, it does not output
to the board, as the rt threads aren't actually running. So I type start,
and the system locks up; no kbd, no mouse, video freeze. Siggen is just
there for what would be my next stage (pin strobing) - if I could get
there...
I can still load and run stepper-mm (or any other parport-based setup) just
fine, either by a launcher shortcut, or forcing the halfile with a CL halrun
call; no rt errors or broken tasks (it appears) - the hardware in this
system (less the recent 7i43 addition and its glue) has been in use for
about two years now, with various versions of Mach and EMC. There is a
mechanical cable swap between working with my step/dir servo drives, and the
7i43 board; so only one is attached at a time.
I have read recently that the 7i43 support is still ongoing, and all the
"good stuff" is in the trunk, not release, so I went and pulled down the
HEAD (which showed the most recent entries to the hostmot2 components - 6
days ago). Couldn't compile it - so many packages missing with the LiveCD
install (I stopped counting at 14!) - Python and OpenGL were the main
unresolvable culprits; even tried to configure with Python disabled
(--disable-python) - still wouldn't finish out. An attempted make did break
my EMC2 build. So time to wipe.
Thoughts?
Kindest regards,
Ted.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users