Mesa 5i23 works with 2.3 but not with 2.4

More
12 Jun 2010 23:32 #3126 by steveg
This is what the error screen says Any help will be greatly appreciated
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.4.1
Machine configuration directory is '/home/steve/emc2/configs/my_EMC_machine'
Machine configuration file is 'my_EMC_machine.ini'
INIFILE=/home/steve/emc2/configs/my_EMC_machine/my_EMC_machine.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=5216
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
my_EMC_machine.hal:10: parameter or pin 'hm2_5i23.0.pwmgen.pwm_frequency' not found
5216
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 930.486053] I-pipe: Domain RTAI registered.
[ 930.486059] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 930.486060] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 930.486064] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 930.486065] PIPELINE layers:
[ 930.486067] f8b3b000 9ac15d93 RTAI 200
[ 930.486068] c0383180 0 Linux 100
[ 930.492768] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 930.493039] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 930.493042] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 930.493045] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 2908261000 hz.
[ 930.493047] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[ 930.554423] RTAI[math]: loaded.
[ 930.612379] hm2: loading Mesa HostMot2 driver version 0.15
[ 930.615184] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
[ 930.616166] hm2_pci: discovered 5i23 at 0000:03:07.0
[ 930.939706] hm2_5i23.0: Error: Not /DONE; programming not completed.
[ 930.939720] hm2/hm2_5i23.0: failed to program fpga, aborting hm2_register
[ 930.939723] hm2_5i23.0: board fails HM2 registration
[ 930.940818] hm2_pci: probe of 0000:03:07.0 failed with error -5
[ 931.087481] hm2_pci: driver unloaded
[ 931.090225] hm2: unloading
[ 931.139361] RTAI[math]: unloaded.
[ 931.191581] SCHED releases registered named ALIEN RTGLBH
[ 931.206541] RTAI[malloc]: unloaded.
[ 931.306410] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 931.308151] I-pipe: Domain RTAI unregistered.
[ 931.308155] RTAI[hal]: unmounted.

Please Log in or Create an account to join the conversation.

More
13 Jun 2010 12:01 #3127 by BigJohnT
Did you follow the instructions here for upgrading from 2.3?

John

Please Log in or Create an account to join the conversation.

More
13 Jun 2010 22:55 #3131 by steveg

Please Log in or Create an account to join the conversation.

More
14 Jun 2010 00:54 #3132 by PCW
This might indicate a bad or incorrect .bit file. Can you tell me the bitfile name, length and date?

Please Log in or Create an account to join the conversation.

More
14 Jun 2010 23:09 #3145 by steveg
Peter ,there are 6 different .bit files in the folder /lib/firmware/hm2/5i23
How do I know which has been selected, I have selected from sample configurations_hm2-servo_5i23

Please Log in or Create an account to join the conversation.

More
14 Jun 2010 23:24 #3147 by BigJohnT
In your ini file the CONFIG line tells you what bit file your using.

In the Integrators Manual there is some info on the different bit files.

John

Please Log in or Create an account to join the conversation.

More
14 Jun 2010 23:40 #3148 by steveg
Thanks John as you can tell I'm at the foot of the learning curve!
This is the line from 5i23.ini CONFIG="firmware=hm2/5i23/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
Properties for SVST8_4.BIT: 207.5KB (212462 bytes)
Modified mon 03 may 2010

Please Log in or Create an account to join the conversation.

More
15 Jun 2010 04:18 #3149 by PCW
Can you email me that bitfile, I'll test it here
(cant think of an easier way to get that file by itself)
pcw@mesanet dawt com

Please Log in or Create an account to join the conversation.

More
16 Jun 2010 23:14 #3163 by steveg
bitfile sent thanks for the help

Please Log in or Create an account to join the conversation.

More
16 Jul 2010 23:22 #3377 by steveg
good news, just updated to 2.4.2 and 5i23 7.1 and all is well

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.098 seconds
Powered by Kunena Forum