On Tue, 28 Feb 2012, Viesturs Lācis wrote:

2012/2/28  <[email protected]>:
On Tue, 28 Feb 2012, Viesturs Lācis wrote:

I have set up 2 machines with 5i25 and also with 5i23. I do not
remember any address for pci cards in INI or HAL files.
Could You, please, explain, what kind of address You mean?


In my .hal file 'loadrt hal_parport cfg="0x378 out 0x278 out "'
Would I not be required to change this to the address of the new card


That line explicitly says that it is parport address, which is LPT aka
parallel port!
5i25 plugs in PCI slot, so forget about parallel ports of Your PC!
Remove that line, it is totally unnecessary for 5i25.

Start with 5i23 sample config!
1) change the board name from 5i23 to 5i25
2) remove the "firmware = [path/to/firmware/file]" part of the "config ="
line, keep any commands for loading stepgens, pwmgens or encoder
modules, if they are needed for Your machine.


I went home at lunch and installed the card, followed your instruction and I got

$ emc /home/rray/emc2/configs/hm2-stepper/5i25.ini
EMC2 - 2.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/rray/emc2/configs/hm2-stepper'
Machine configuration file is '5i25.ini'
Starting EMC2...
hm2-stepper.hal:41: Ini variable '[HOSTMOT2]CONFIG' not found.
Shutting down and cleaning up EMC2...
Cleanup done
EMC terminated with an error.  You can find more information in the log:
    /home/rray/emc_debug.txt
and
    /home/rray/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal


[ 1355.701193] I-pipe: Domain RTAI registered.
[ 1355.701200] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1355.701203] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) .
[ 1355.701207] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs 
DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1355.701209] PIPELINE layers:
[ 1355.701212] fa3b2e20 9ac15d93 RTAI 200
[ 1355.701214] c085cb20 0 Linux 100
[ 1355.741569] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1355.744257] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN 
KTASKs>, kstacks pool size = 524288 bytes.
[ 1355.744262] RTAI[sched]: hard timer type/freq = APIC/12500388(Hz); default 
timing: periodic; linear timed lists.
[ 1355.744265] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 
2199742000 hz.
[ 1355.744268] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 1355.745255] RTAI[usi]: enabled.
[ 1355.816664] RTAI[math]: loaded.
[ 1355.877991] hm2: loading Mesa HostMot2 driver version 0.15
[ 1358.035667] hm2: unloading
[ 1358.071639] RTAI[math]: unloaded.
[ 1358.109649] SCHED releases registered named ALIEN RTGLBH
[ 1358.124611] RTAI[malloc]: unloaded.
[ 1358.224039] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 
0, syscalls 0).
[ 1358.226437] I-pipe: Domain RTAI unregistered.
[ 1358.226445] RTAI[hal]: unmounted.


$ cat ~/emc_print.txt
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/lib/tcltk/emc2
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
INIFILE=/home/rray/emc2/configs/hm2-stepper/5i25.ini
PARAMETER_FILE=hm2-stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Killing task emcsvr, PID=3210
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments


Richard
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to