5i20 + 7i52s + 7i37TA -> change the IO Pins

More
11 Sep 2012 02:47 #24145 by cmorley
cmorley replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Ok here is the XML file pncconf needs.
It must be put in the /lib/firmware/hm2/5i20 folder
You must be sudo to do that. (One way to do that is open a terminal and enter sudo nautilus )

File Attachment:

File Name: SVST6_6_7i52S.xml
File Size:16 KB
Attachments:
More
11 Sep 2012 02:49 #24146 by cmorley
cmorley replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
may be easier as a zipped file:

File Attachment:

File Name: SVST6_6_7i52S.zip
File Size:1 KB
Attachments:
More
11 Sep 2012 02:51 #24147 by cmorley
cmorley replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
I only checked on a sim machine that the components come up in pncconf as the PIN file describes.
Any questions let me know.
More
11 Sep 2012 07:52 #24153 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Big tnx!

i'll try it this evening!

BR

Peter
More
13 Sep 2012 05:30 #24223 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
i copied the xml file in the /lib/firmware/hm2/5i20 folder. after that is started the pncconf and i was able to select the SVST6_6_7i52S.
i entered the parameters of my machine and the i started the configuration. i get an error message:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.1
Machine configuration directory is '/home/trilobyte/linuxcnc/configs/7i52s_pncconf02'
Machine configuration file is '7i52s_pncconf02.ini'
INIFILE=/home/trilobyte/linuxcnc/configs/7i52s_pncconf02/7i52s_pncconf02.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=1985
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1 
Can not find -sec IO -var IO -num 1 
Can not find -sec LINUXCNC -var NML_FILE -num 1 
Can not find -sec EMC -var NML_FILE -num 1 
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Unknown symbol in module
7i52s_pncconf02.hal:9: exit value: 1
7i52s_pncconf02.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1985
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 2429.736692] I-pipe: Domain RTAI registered.
[ 2429.736710] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2429.736716] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2429.736825] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2429.736830] PIPELINE layers:
[ 2429.736836] fa63ce20 9ac15d93 RTAI 200
[ 2429.736842] c085cb20 0 Linux 100
[ 2429.790206] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2429.790660] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2429.790674] RTAI[sched]: hard timer type/freq = APIC/8313080(Hz); default timing: periodic; linear timed lists.
[ 2429.790683] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1596125000 hz.
[ 2429.790689] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2429.790890] RTAI[usi]: enabled.
[ 2429.974243] RTAI[math]: loaded.
[ 2430.131553] hm2: loading Mesa HostMot2 driver version 0.15
[ 2430.139605] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2430.139663] hm2_pci: discovered 5i20 at 0000:04:00.0
[ 2430.139803]  hm2_5i20.0: firmware: requesting hm2/5i20/SVST6_6_7i52S.BIT
[ 2430.143682] hm2/hm2_5i20.0: firmware hm2/5i20/SVST6_6_7i52S.BIT not found
[ 2430.143693] hm2/hm2_5i20.0: install the package containing the firmware.
[ 2430.143702] hm2_5i20.0: board fails HM2 registration
[ 2430.143741] hm2_pci: probe of 0000:04:00.0 failed with error -2
[ 2431.523581] hm2: unloading
[ 2431.804264] RTAI[math]: unloaded.
[ 2431.972180] SCHED releases registered named ALIEN RTGLBH
[ 2432.004602] RTAI[malloc]: unloaded.
[ 2432.104066] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2432.119339] I-pipe: Domain RTAI unregistered.
[ 2432.119472] RTAI[hal]: unmounted.

what can be the problem?

BR

Peter
More
13 Sep 2012 07:21 #24228 by andypugh
andypugh replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
trilobyte wrote:

i copied the xml file in the /lib/firmware/hm2/5i20 folder

[ 2430.139803] hm2_5i20.0: firmware: requesting hm2/5i20/SVST6_6_7i52S.BIT
[ 2430.143682] hm2/hm2_5i20.0: firmware hm2/5i20/SVST6_6_7i52S.BIT not found

what can be the problem?r


It isn't finding the bitfile? Is it there (/lib/firmware/hm2/5i20), and is the name correct (case sensitive)
More
13 Sep 2012 15:56 - 13 Sep 2012 16:01 #24242 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Yep, looks like a case issue,the file I made was SVST6_6_7I52S.BIT not SVST6_6_7i52S.BIT
Last Edit: 13 Sep 2012 16:01 by PCW.
More
13 Sep 2012 16:59 #24243 by trilobyte
trilobyte replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
PCW wrote:

Yep, looks like a case issue,the file I made was SVST6_6_7I52S.BIT not SVST6_6_7i52S.BIT


yes, this was the problem, after editing the name in the hal file, axis starts without an error message!

BR

Peter
More
13 Sep 2012 17:51 #24244 by PCW
PCW replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
Note that you will have to set GPIO0 and GPIO23 low to get differential outputs 3 and 0 working (see 7I52Sman.pdf)
More
14 Sep 2012 02:16 #24259 by cmorley
cmorley replied the topic: Re:5i20 + 7i52s + 7i37TA -> change the IO Pins
change the name of the XML file and then you won't have to edit the HAl file. sorry :)
Moderators: cmorley
Time to create page: 0.088 seconds
Powered by Kunena Forum