5i25t firmware screwup

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
05 Oct 2025 20:41 #335878 by Cooped-Up
5i25t firmware screwup was created by Cooped-Up
Awhile ago I had been trying to set up my mesa electronics for a conversion I would like to do. I needed to flash the proper firmware for a 7i77 and a 7i74d and I found the firmware and flashed it. But then it was no longer recognized by the readhmid command or the computer. I have done the fallback jumper thing and am able to flash the firmware and do the reload command and I see it has changed the pins but then when I power cycle and move the jumper it is not recognized again on boot up. What am I doing wrong?

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

More
05 Oct 2025 21:13 - 05 Oct 2025 21:30 #335879 by PCW
Replied by PCW on topic 5i25t firmware screwup
There was a firmware error in 5I25T firmware that was fixed toward the end of last year.

What is your .bin file date and md5 checksum?

The current version is

MD5 (5i25t_7i77_7i74d.bin) = 90c674c34dfdbb3d597f0886768fb830

Nov 22  2024
 
Last edit: 05 Oct 2025 21:30 by PCW.

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

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
05 Oct 2025 21:22 #335881 by Cooped-Up
Replied by Cooped-Up on topic 5i25t firmware screwup
I just redownloaded from the website that I was trying today. I am not sure where the last one was pulled. I think I found it on a forum

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

More
05 Oct 2025 21:44 #335884 by PCW
Replied by PCW on topic 5i25t firmware screwup
Where was it downloaded from?

What are the date and md5sum of the.bin file?

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

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
05 Oct 2025 21:54 #335885 by Cooped-Up
Replied by Cooped-Up on topic 5i25t firmware screwup
I downloaded the one today from the store website, I'll look for that info when I get home later. When I use the reload the firmware works. It's only when I move the jumper it breaks it again.

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

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
05 Oct 2025 23:55 #335890 by Cooped-Up
Replied by Cooped-Up on topic 5i25t firmware screwup
Here is what I got when I did the md5sum.
c8e64a9c988aaf6e7b1a75e4bac90641 and I tried figuring out the date. It says it's birth was 2025-03-06 but also modify dTe is 2024-05-11. I'm wondering if the old bin file is still on the computer and being writes over the one I just downloaded...

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

More
06 Oct 2025 00:05 #335891 by PCW
Replied by PCW on topic 5i25t firmware screwup
Yes. looks like you have an older version

Just download the zipfile from the store, unzip and cd to configs/hostmot2 in the unzipped directory, then 
write the firmware with mesaflash.

In addition to the MD5 checksum, you can check the compile date because it's in the bin file header:

reeby:/users/share/dist/5i25t/configs/hostmot2> hexdump -C 5i25t_7i77_7i74d.bin | head -24
00000000  56 65 72 73 69 6f 6e 3a  20 32 30 32 31 2e 32 2e  |Version: 2021.2.|
00000010  33 32 33 2e 34 2e 36 0a  47 65 6e 65 72 61 74 65  |323.4.6.Generate|
00000020  64 3a 20 46 72 69 20 4e  6f 76 20 32 32 20 31 36  |d: Fri Nov 22 16|
00000030  3a 30 31 3a 33 39 20 32  30 32 34 0a 0a 50 72 6f  |:01:39 2024..Pro|
00000040  6a 65 63 74 3a 20 2f 68  6f 6d 65 2f 70 63 77 2f  |ject: /home/pcw/|
00000050  65 66 69 6e 69 74 79 2f  32 30 32 31 2e 32 2f 70  |efinity/2021.2/p|
00000060  72 6f 6a 65 63 74 2f 35  69 32 35 74 0a 46 61 6d  |roject/5i25t.Fam|
00000070  69 6c 79 3a 20 54 72 69  6f 6e 0a 44 65 76 69 63  |ily: Trion.Devic|
00000080  65 3a 20 54 32 30 46 32  35 36 0a 57 69 64 74 68  |e: T20F256.Width|
00000090  3a 20 31 0a 4d 6f 64 65  3a 20 61 63 74 69 76 65  |: 1.Mode: active|
000000a0  0a 50 41 44 44 45 44 5f  42 49 54 53 3a 20 30 0a  |.PADDED_BITS: 0.|
000000b0  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |................|
*






 

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

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
06 Oct 2025 00:06 #335892 by Cooped-Up
Replied by Cooped-Up on topic 5i25t firmware screwup
Okay as I said in my last post I ended up finding a second firmware that must have been the one you were referring to. I deleted it and now I was able to move the jumper back to where it should be and the int light is off and I can identify the card with the computer. Awesome. That was probably the easy part of this project, now I need to figure out how to make all these cards interact with my milling machine. Thank you for your help!

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

  • Cooped-Up
  • Away
  • Junior Member
  • Junior Member
More
06 Oct 2025 10:30 #335909 by Cooped-Up
Replied by Cooped-Up on topic 5i25t firmware screwup
I think I have gotten the firmware situation figured out, but now I am trying to add some things to the machines hal file for the retrofit based off a guide for a maho 400e. I added the following and now the cnc panel gives me an error. it seems to be saying it cant find pins on the 7i77

added to the machines.hal file=

loadrt matrix_kb config=5x5s names=maho_panel
addf maho_panel servo-thread
setp maho_panel.negative-logic 0
#scan out
net maho_panel.row_00_sig-out maho_panel.row-00-out => hm2_5i25.0.7i77.0.0.output-01
net maho_panel.row_01_sig-out maho_panel.row-01-out => hm2_5i25.0.7i77.0.0.output-02
net maho_panel.row_02_sig-out maho_panel.row-02-out => hm2_5i25.0.7i77.0.0.output-03
net maho_panel.row_03_sig-out maho_panel.row-03-out => hm2_5i25.0.7i77.0.0.output-04
net maho_panel.row_04_sig-out maho_panel.row-04-out => hm2_5i25.0.7i77.0.0.output-05
#scan in
net maho_panel.col_00_sig-in maho_panel.col-00-in <= hm2_5i25.0.7i77.0.0.input-05
net maho_panel.col_01_sig-in maho_panel.col-01-in <= hm2_5i25.0.7i77.0.0.input-06
net maho_panel.col_02_sig-in maho_panel.col-02-in <= hm2_5i25.0.7i77.0.0.input-07
net maho_panel.col_03_sig-in maho_panel.col-03-in <= hm2_5i25.0.7i77.0.0.input-08
net maho_panel.col_04_sig-in maho_panel.col-04-in <= hm2_5i25.0.7i77.0.0.input-09

loadrt mh400e_gearbox
addf mh400e-gearbox servo-thread
# --- GEARBOX CONTROL ---

net sig_return_actual_speed mh400e-gearbox.spindle-speed-out => motion.spindle-
speed-in

net sig_return_spindle-at-speed mh400e-gearbox.spindle-at-speed => motion.spindle-at-
speed

net sig_stop_spindle mh400e-gearbox.stop-spindle => halui.spindle.stop
net set-gear-shift-start mh400e-gearbox.start-gear-shift =>
hm2_5i25.0.7i84.0.2.output-05
net set-reverse-shaft-motor mh400e-gearbox.reverse-direction =>
hm2_5i25.0.7i84.0.2.output-04
net activate-reducer-motor mh400e-gearbox.reducer-motor =>
hm2_5i25.0.7i84.0.2.output-01
net activate-midrange-motor mh400e-gearbox.midrange-motor =>
hm2_5i25.0.7i84.0.2.output-02

net set-shaft-motor-lowspeed mh400e-gearbox.motor-lowspeed =>
hm2_5i25.0.7i84.0.2.output-00 # MAHO calls this Anwahl Mittelstellung
net activate-input-stage-motor mh400e-gearbox.input-stage-motor =>
hm2_5i25.0.7i84.0.2.output-03
net activate-spindle-twitch-cw mh400e-gearbox.twitch-cw =>
hm2_5i25.0.7i84.0.2.output-06
net activate-spindle-twitch-ccw mh400e-gearbox.twitch-ccw =>
hm2_5i25.0.7i84.0.2.output-07

Error I now get

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.4
Machine configuration directory is '/home/coopedup/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/coopedup/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
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
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my_LinuxCNC_machine.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25t at 0000:04:06.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_5i25.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort
hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort
hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort
hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin tx1 (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin rx1 (Input)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:06.0
hm2_5i25.0: dropping AnyIO board at 0000:04:06.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./my_LinuxCNC_machine.hal:298: Pin 'hm2_5i25.0.7i77.0.0.output-01' does not exist
1999
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f5cd11d7000
Note: Using POSIX realtime

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

More
06 Oct 2025 14:17 #335920 by PCW
Replied by PCW on topic 5i25t firmware screwup
Does the 7I77 have field power?

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

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