Mesa 7i43 / 7i49 / 7i37 FIrmware Needed

More
13 years 3 months ago #36603 by jsflanagan
Wanted to check in and see if the newly compiled bit file was available? I'm still stuck on not being able to read resolvers right now. Thanks,

-Scott

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

More
13 years 3 months ago #36608 by PCW
Sorry I completely forgot about this
I'll try and get to this today

note: normal resolver scales tend to be very low (say 0.20000 for a 5 TPI ballscrew)

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

More
13 years 3 months ago #36616 by PCW
freeby.mesanet.com/svrm6s.zip
has bit/pin/xml files
7I49 is on P4 (inboard)
tested with 7I49/resolvers and working

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

More
13 years 3 months ago #36724 by jsflanagan
PCW, thanks for compiling and testing the new file. Do I have to do anything after copying the files to the firmware/hm2/7i43-4/ directory? Linuxcnc says that it can't find the BIT file. I didn't do anything special last time I tried the original file you sent.

-Scott


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.2
Machine configuration directory is '/home/lathe/linuxcnc/configs/lathe2'
Machine configuration file is 'lathe2.ini'
INIFILE=/home/lathe/linuxcnc/configs/lathe2/lathe2.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=2317
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_7i43.ko': -1 Unknown symbol in module
lathe2.hal:9: exit value: 1
lathe2.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
2317
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 1020.019317] I-pipe: Domain RTAI registered.
[ 1020.019325] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1020.019328] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1020.019335] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1020.019338] PIPELINE layers:
[ 1020.019341] fca5ce20 9ac15d93 RTAI 200
[ 1020.019344] c085cb20 0 Linux 100
[ 1020.045867] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1020.045981] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1020.045987] RTAI[sched]: hard timer type/freq = APIC/12500308(Hz); default timing: periodic; linear timed lists.
[ 1020.045991] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3200599000 hz.
[ 1020.045994] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 1020.046069] RTAI[usi]: enabled.
[ 1020.120059] RTAI[math]: loaded.
[ 1020.206542] hm2: loading Mesa HostMot2 driver version 0.15
[ 1020.211398] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 1020.213584] hm2_7i43.0: firmware: requesting hm2/7i43-4/SVRM6S.BIT
[ 1020.215304] hm2/hm2_7i43.0: firmware hm2/7i43-4/SVRM6S.BIT not found
[ 1020.215309] hm2/hm2_7i43.0: install the package containing the firmware.
[ 1020.215317] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found!
[ 1020.861051] hm2: unloading
[ 1020.984066] RTAI[math]: unloaded.
[ 1021.044066] SCHED releases registered named ALIEN RTGLBH
[ 1021.060835] RTAI[malloc]: unloaded.
[ 1021.160024] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1021.168086] I-pipe: Domain RTAI unregistered.
[ 1021.168097] RTAI[hal]: unmounted.

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

More
13 years 3 months ago #36725 by PCW
HostMot2 firmware goes in /lib/firmware/hm2/cardname/
You need to copy as root:
sudo cp some_old_bitfile.bit /lib/firmware/hm2/7i43-4/

It looks like you may have the file name in the wrong case
(the bitfiles I made had all lower case names)

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

More
13 years 3 months ago - 13 years 3 months ago #36728 by jsflanagan
I originally copied the files as root (have to be to copy) and I copied them to the 7i43-4 directory. Today I looked again and found a 7i43 directory in addition to the 7i43-4 as I did before. So I copied the files to the 7i43 directory and it now finds the file, must be looking in the generic 7i43 directory. It now says that the firmware is for a 200k fpga. I do indeed have a 400k fpga, there was some confusion in the beginning of my post as to which FPGA I had. So is the new file you made for a 200k or 400k fpga? It appears to be for a 200k.

-Scott

[ 1221.548165] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 1221.550359] hm2_7i43.0: firmware: requesting hm2/7i43-4/SVRM6S.BIT
[ 1221.552634] hm2/hm2_7i43.0: board has FPGA '3s400tq144', but the firmware in hm2/7i43-4/SVRM6S.BIT is for FPGA '3s200tq144'
[ 1221.552646] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found!

File Attachment:

File Name: dmesg.txt
File Size:3.26 KB
Last edit: 13 years 3 months ago by jsflanagan.

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

Moderators: PCW, jmelson
Time to create page: 0.422 seconds
Powered by Kunena Forum