7i95T errors with Mesa Configuration Tool v2.0.1
- merongi
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 13
12 Sep 2023 06:52 #280527
by merongi
7i95T errors with Mesa Configuration Tool v2.0.1 was created by merongi
Hi,
I tried to search this issue but couldn't find it from the board, so here is my issue.
I recently acquired 7i95T board to replace my parallel BoB.
7i95T is not supported by PNCConf, so I installed Mesa Configuration Tool v2.0.1.
It detect 7i95T correctly on "Machine" tab's Mesa Setup with IP 10.10.10.10.
----Check for Boardreturned: Success ETH device 7I95T at ip=10.10.10.10----
Problem starts on "Firmware" tab. With downloaded firmware, "7i95t_d.bin" which is default F/W checked with "Verify", it doesn't update "Options" group box for Step Generators or Encoders. They both set to n/a and I can't change. (no available options but N/A). Read HMID reports the board as "MESA7I95" (without T) and having 6 StepGen and 6 MuxedQCount. "Read PD" also reports all 57 pins correctly.
Problem is this N/A leads to main.hal without stepgen configuration as below.
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="sserial_port_0=00000000"
Another issue is that once I setup JOINT 0 with X axis stepper parameters, Build Config and run LinuxCNC, it crashes with following errors.
It says hm2_eth has found unrecognized board 7I95T and discovered it and port names will be wrong. Not sure this would be an issue.
Actual reason that LinuxCNC is crashing is HAL is written with (BOARD) = 7i95t, but hm2_eth detects it as hm2/hm2_7i95.
So the hal line that is written with hm2_7i95t.0.watchdog.timeout_ns is not found error.
I manually edited BOARD name to 7i95 in INI, crash issue is resolved but AXIS doesn't move the stepper, so I'm stuck here.
Any help would be appreciated.
Starting LinuxCNC IO program: iov2
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./main.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:15:80:0d
hm2_eth: Unrecognized ethernet board found: 7I95T -- port names will be wrong
hm2_eth: discovered 7I95T
hm2/hm2_7i95.0: Low Level init 0.15
hm2/hm2_7i95.0: Smart Serial Firmware Version 43
hm2/hm2_7i95.0: 58 I/O Pins used:
hm2/hm2_7i95.0: IO Pin 000 (??-01): StepGen #0, pin Step (Output)
hm2/hm2_7i95.0: IO Pin 001 (??-02): StepGen #0, pin Direction (Output)
hm2/hm2_7i95.0: IO Pin 002 (??-03): StepGen #1, pin Step (Output)
hm2/hm2_7i95.0: IO Pin 003 (??-04): StepGen #1, pin Direction (Output)
.....
hm2/hm2_7i95.0: Shutting down and cleaning up LinuxCNC...
iov2: exiting
IO Pin 057 (??-58): IOPort
hm2/hm2_7i95.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet 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
./main.hal:15: parameter or pin 'hm2_7i95t.0.watchdog.timeout_ns' not found
10836
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
p, li { white-space: pre-wrap; }
I tried to search this issue but couldn't find it from the board, so here is my issue.
I recently acquired 7i95T board to replace my parallel BoB.
7i95T is not supported by PNCConf, so I installed Mesa Configuration Tool v2.0.1.
It detect 7i95T correctly on "Machine" tab's Mesa Setup with IP 10.10.10.10.
----Check for Boardreturned: Success ETH device 7I95T at ip=10.10.10.10----
Problem starts on "Firmware" tab. With downloaded firmware, "7i95t_d.bin" which is default F/W checked with "Verify", it doesn't update "Options" group box for Step Generators or Encoders. They both set to n/a and I can't change. (no available options but N/A). Read HMID reports the board as "MESA7I95" (without T) and having 6 StepGen and 6 MuxedQCount. "Read PD" also reports all 57 pins correctly.
Problem is this N/A leads to main.hal without stepgen configuration as below.
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="sserial_port_0=00000000"
Another issue is that once I setup JOINT 0 with X axis stepper parameters, Build Config and run LinuxCNC, it crashes with following errors.
It says hm2_eth has found unrecognized board 7I95T and discovered it and port names will be wrong. Not sure this would be an issue.
Actual reason that LinuxCNC is crashing is HAL is written with (BOARD) = 7i95t, but hm2_eth detects it as hm2/hm2_7i95.
So the hal line that is written with hm2_7i95t.0.watchdog.timeout_ns is not found error.
I manually edited BOARD name to 7i95 in INI, crash issue is resolved but AXIS doesn't move the stepper, so I'm stuck here.
Any help would be appreciated.
Starting LinuxCNC IO program: iov2
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./main.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:15:80:0d
hm2_eth: Unrecognized ethernet board found: 7I95T -- port names will be wrong
hm2_eth: discovered 7I95T
hm2/hm2_7i95.0: Low Level init 0.15
hm2/hm2_7i95.0: Smart Serial Firmware Version 43
hm2/hm2_7i95.0: 58 I/O Pins used:
hm2/hm2_7i95.0: IO Pin 000 (??-01): StepGen #0, pin Step (Output)
hm2/hm2_7i95.0: IO Pin 001 (??-02): StepGen #0, pin Direction (Output)
hm2/hm2_7i95.0: IO Pin 002 (??-03): StepGen #1, pin Step (Output)
hm2/hm2_7i95.0: IO Pin 003 (??-04): StepGen #1, pin Direction (Output)
.....
hm2/hm2_7i95.0: Shutting down and cleaning up LinuxCNC...
iov2: exiting
IO Pin 057 (??-58): IOPort
hm2/hm2_7i95.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet 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
./main.hal:15: parameter or pin 'hm2_7i95t.0.watchdog.timeout_ns' not found
10836
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
p, li { white-space: pre-wrap; }
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18476
- Thank you received: 5047
12 Sep 2023 13:12 #280539
by PCW
Replied by PCW on topic 7i95T errors with Mesa Configuration Tool v2.0.1
The 7I95T requires using LinuxCNC master (2.10)
The following user(s) said Thank You: JT, merongi
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 951
- Thank you received: 491
12 Sep 2023 19:34 #280576
by JT
Replied by JT on topic 7i95T errors with Mesa Configuration Tool v2.0.1
I need to add a note about the 7i95T in mesact.
JT
JT
Please Log in or Create an account to join the conversation.
- merongi
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 13
13 Sep 2023 06:16 #280600
by merongi
Replied by merongi on topic 7i95T errors with Mesa Configuration Tool v2.0.1
I compiled LinuxCNC 2.10 from Git.
Now LCNC recognize the board and port names are reported correctly.
But hm2 still creates hm2_7i95 instead of hm2_7i95t. So board name need to be manually edited to 7i95 when used with mesact.
Stepper is still not responding but this could be my config issue. I'll back on this if I get stuck.
Now LCNC recognize the board and port names are reported correctly.
But hm2 still creates hm2_7i95 instead of hm2_7i95t. So board name need to be manually edited to 7i95 when used with mesact.
Stepper is still not responding but this could be my config issue. I'll back on this if I get stuck.
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- merongi
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 13
13 Sep 2023 07:30 #280604
by merongi
Replied by merongi on topic 7i95T errors with Mesa Configuration Tool v2.0.1
Now LCNC recognize the board, I used PnCConf tool to setup 7i76e board with my joint parameters, then manually replaced all 7i76e with 7i95 in hal.
It works fine and stepper responds correctly.
With some tuning I guess basic motions will be restored.
Next goal is to control VFD using RS485.
It works fine and stepper responds correctly.
With some tuning I guess basic motions will be restored.
Next goal is to control VFD using RS485.
Please Log in or Create an account to join the conversation.
- merongi
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 13
13 Sep 2023 07:57 #280605
by merongi
Replied by merongi on topic 7i95T errors with Mesa Configuration Tool v2.0.1
Quick search told me it can't be done.
I may need to flash PWM firmware to 7i95T and use it to control VFD then.
I may need to flash PWM firmware to 7i95T and use it to control VFD then.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 951
- Thank you received: 491
13 Sep 2023 10:36 #280616
by JT
JT
Replied by JT on topic 7i95T errors with Mesa Configuration Tool v2.0.1
This has been fixed.I compiled LinuxCNC 2.10 from Git.
Now LCNC recognize the board and port names are reported correctly.
But hm2 still creates hm2_7i95 instead of hm2_7i95t. So board name need to be manually edited to 7i95 when used with mesact.
Stepper is still not responding but this could be my config issue. I'll back on this if I get stuck.
JT
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18476
- Thank you received: 5047
13 Sep 2023 15:52 #280643
by PCW
Replied by PCW on topic 7i95T errors with Mesa Configuration Tool v2.0.1
There is experimental support for MODBUS using the serial PKTUART interface so that's a possibilityQuick search told me it can't be done.
I may need to flash PWM firmware to 7i95T and use it to control VFD then.
Please Log in or Create an account to join the conversation.
- merongi
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 13
15 Sep 2023 05:24 #280804
by merongi
Replied by merongi on topic 7i95T errors with Mesa Configuration Tool v2.0.1
JT,
I think you get only partial of the problem.
I cloned github.com 2.0.2 and tried.
There are many problems but the first two things to make mesact work with 7i95 are
1. mesact creates "BOARD" in .ini as 7i95t while LinuxCNC detect it as 7i95. So main.hal line of below line will crash LinuxCNC upon start as it can't find hm2_7i95t.0 but there is hm2_7i95.0
setp hm2[MESA](BOARD).0.watchdog.timeout_ns 5000000
I'm not sure whether this is mesact's problem or LinuxCNC's problem that it detect the board as 7i95 instead of 7i95t. I think the latter but I know nothing about LinuxCNC's internal...
2. After selecting the firmware, mesact tool doesn't set Step Generators, Encoders number correctly. And simply disable to update. This leads .hal not that usable.
I think you get only partial of the problem.
I cloned github.com 2.0.2 and tried.
There are many problems but the first two things to make mesact work with 7i95 are
1. mesact creates "BOARD" in .ini as 7i95t while LinuxCNC detect it as 7i95. So main.hal line of below line will crash LinuxCNC upon start as it can't find hm2_7i95t.0 but there is hm2_7i95.0
setp hm2[MESA](BOARD).0.watchdog.timeout_ns 5000000
I'm not sure whether this is mesact's problem or LinuxCNC's problem that it detect the board as 7i95 instead of 7i95t. I think the latter but I know nothing about LinuxCNC's internal...
2. After selecting the firmware, mesact tool doesn't set Step Generators, Encoders number correctly. And simply disable to update. This leads .hal not that usable.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 951
- Thank you received: 491
15 Sep 2023 12:10 #280837
by JT
I tried to run LinuxCNC 2.10 to test but it crashes on me so I'm trying to setup a Debian 13 PC to test with. Any information you can provide will help me make the tool better.
Can you expand on #2?
JT
Replied by JT on topic 7i95T errors with Mesa Configuration Tool v2.0.1
I just pushed a fix for the board being 7i95t instead of 7i95 and a bunch of other fixes related to 7i95t. The 7i95T is very new and I just got stock on them the other day so much of what I did with mesact before that was just guess work.JT,
I think you get only partial of the problem.
I cloned github.com 2.0.2 and tried.
There are many problems but the first two things to make mesact work with 7i95 are
1. mesact creates "BOARD" in .ini as 7i95t while LinuxCNC detect it as 7i95. So main.hal line of below line will crash LinuxCNC upon start as it can't find hm2_7i95t.0 but there is hm2_7i95.0
setp hm2[MESA](BOARD).0.watchdog.timeout_ns 5000000
I'm not sure whether this is mesact's problem or LinuxCNC's problem that it detect the board as 7i95 instead of 7i95t. I think the latter but I know nothing about LinuxCNC's internal...
2. After selecting the firmware, mesact tool doesn't set Step Generators, Encoders number correctly. And simply disable to update. This leads .hal not that usable.
I tried to run LinuxCNC 2.10 to test but it crashes on me so I'm trying to setup a Debian 13 PC to test with. Any information you can provide will help me make the tool better.
Can you expand on #2?
JT
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.099 seconds