Mesa 6i25/7i77 firmware update

  • Diederik
  • Diederik's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
17 Jul 2015 18:24 - 17 Jul 2015 18:28 #60679 by Diederik
Mesa 6i25/7i77 firmware update was created by Diederik
Hi,

I have a 6i25 here, never used before,
another 6i25 works perfectly, just this one giving issue.
I am sure this is firmware related, as there is no sticker on the 6i25 to indicate if it is for 7i77x2.

I downloaded the sserial firmware/software from mesanet.com, and tried following the instructions, but no success. I'm sure my procedures is not right. I need step by step procedure how to updare the firmware? I have done this before, but can't remember how...Please advice

giving following error:

insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci failed, returned -1

dmesg =
[   19.829676] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[   19.829681] PIPELINE layers:
[   19.829686] f8551e20 9ac15d93 RTAI 200
[   19.829690] c085cb20 0 Linux 100
[   19.871811] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[   19.872658] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[   19.872669] RTAI[sched]: hard timer type/freq = APIC/8332779(Hz); default timing: periodic; linear timed lists.
[   19.872676] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1866705000 hz.
[   19.872681] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[   19.872805] RTAI[usi]: enabled.
[   19.939314] RTAI[math]: loaded.
[   20.074655] hm2: loading Mesa HostMot2 driver version 0.15
[   20.080122] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[   20.080188] hm2_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   20.080198] hm2_pci: discovered 5i25 at 0000:03:00.0
[   20.080587] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[   20.080601] hm2/hm2_5i25.0: failed to parse Module Descriptor 2
[   20.080617] hm2_5i25.0: board fails HM2 registration
[   20.080648] hm2_pci 0000:03:00.0: PCI INT A disabled
[   20.080670] hm2_pci: probe of 0000:03:00.0 failed with error -22
[   20.812547] hm2: unloading
[   21.032216] RTAI[math]: unloaded.
[   21.056149] SCHED releases registered named ALIEN RTGLBH
[   21.120895] RTAI[malloc]: unloaded.
[   21.218856] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[   21.223097] I-pipe: Domain RTAI unregistered.
[   21.223215] RTAI[hal]: unmounted.
[   24.058559] eth0: no IPv6 routers present
[  853.936949] usb 1-5: USB disconnect, address 4
[ 5495.498990] I-pipe: Domain RTAI registered.
[ 5495.499008] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 5495.499015] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 5495.499123] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5495.499130] PIPELINE layers:
[ 5495.499137] f8551e20 9ac15d93 RTAI 200
[ 5495.499143] c085cb20 0 Linux 100
[ 5495.541772] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5495.542337] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5495.542348] RTAI[sched]: hard timer type/freq = APIC/8332779(Hz); default timing: periodic; linear timed lists.
[ 5495.542355] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1866705000 hz.
[ 5495.542360] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 5495.542627] RTAI[usi]: enabled.
[ 5495.621762] RTAI[math]: loaded.
[ 5495.746196] hm2: loading Mesa HostMot2 driver version 0.15
[ 5495.751345] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 5495.751420] hm2_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 5495.751430] hm2_pci: discovered 5i25 at 0000:03:00.0
[ 5495.752096] hm2/hm2_5i25.0: config.num_encoders=6, but only 2 are available, not loading driver
[ 5495.752106] hm2/hm2_5i25.0: failed to parse Module Descriptor 2
[ 5495.752119] hm2_5i25.0: board fails HM2 registration
[ 5495.752148] hm2_pci 0000:03:00.0: PCI INT A disabled
[ 5495.752170] hm2_pci: probe of 0000:03:00.0 failed with error -22
[ 5496.341675] hm2: unloading
[ 5496.517644] RTAI[math]: unloaded.
[ 5496.550401] SCHED releases registered named ALIEN RTGLBH
[ 5496.612793] RTAI[malloc]: unloaded.
[ 5496.710771] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 5496.715061] I-pipe: Domain RTAI unregistered.
[ 5496.715181] RTAI[hal]: unmounted.
Last edit: 17 Jul 2015 18:28 by BigJohnT. Reason: add code tags

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

More
17 Jul 2015 21:19 - 17 Jul 2015 21:20 #60689 by PCW
Replied by PCW on topic Mesa 6i25/7i77 firmware update
You use the mesaflash utility to install the correct firmware in most newer Mesa FPGA cards

( it looks like you are trying to run a 7I77 with 7I76 firmware)

You need to first download the appropriate bitfile

The 6I25 normally uses 5I25 bitfiles so you would fetch

www.mesanet.com/software/parallel/5i25.zip

then unzip this file and cd to configs/hostmot2

mesaflash is included in recent linuxcnc distributions or can be fetched with

sudo apt-get install mesaflash

then you run the command

sudo mesaflash --device 5i25 --write 5i25_7i77x2.bit

If the 6I25 was new enough you can load the new firmware with this command:

sudo mesaflash --device 5i25 --reload

if the previous firmware was fairly old the reload command will not work and you will have to power cycle the computer to reload the new firmware
Last edit: 17 Jul 2015 21:20 by PCW.
The following user(s) said Thank You: Diederik

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

  • Diederik
  • Diederik's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
20 Jul 2015 17:41 #60780 by Diederik
Replied by Diederik on topic Mesa 6i25/7i77 firmware update
:) :) :) :silly: :woohoo:

thank you very much. great to have this on my topics, will use it as a reference.
:laugh:

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

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