- Hardware & Machines
- Driver Boards
- Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
- camb0
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 9
13 Jun 2023 07:56 - 13 Jun 2023 09:26 #273449
by camb0
Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou was created by camb0
Hi All,
First post and a linuxcnc noob (have some experience with linux waaay back).
I'm missing something basic, in short the comms with the board don't seem to be working properly, the first HAL command that gets sent errors with a pin not found and it turns on the red init LED on the board. So my setup can see the board but doesn't seem to be communicating. I'm going to look into the network settings and some tests I saw in the post .
Any other suggestions would be welcome.
What I've tried/done so far:
-setup the network, ping to the board on 10.10.10.10 holds steady at around 0.07ms
-I configured the network through settings windows not the files (I didn't do both).
-Mesaflash can see the board if I use the "ETHER" option, NOTE if I specify the board name "7i96" it can't find the board?.
-I've tried pnconf to generate the file (similar error)
-I've tried mesact to generate the file (similar error)
-I've edited the hal file and just added a comment to show that the error is on a different line (ie I'm reading the right file).
-The board is connected to a commercial 5v power supply (ie not a usb/phone one).
Below is the start of the HAL file, it fails on the "setp" line (error below the HAL file):
Error when starting linuxcnc:
First post and a linuxcnc noob (have some experience with linux waaay back).
I'm missing something basic, in short the comms with the board don't seem to be working properly, the first HAL command that gets sent errors with a pin not found and it turns on the red init LED on the board. So my setup can see the board but doesn't seem to be communicating. I'm going to look into the network settings and some tests I saw in the post .
Any other suggestions would be welcome.
What I've tried/done so far:
-setup the network, ping to the board on 10.10.10.10 holds steady at around 0.07ms
-I configured the network through settings windows not the files (I didn't do both).
-Mesaflash can see the board if I use the "ETHER" option, NOTE if I specify the board name "7i96" it can't find the board?.
-I've tried pnconf to generate the file (similar error)
-I've tried mesact to generate the file (similar error)
-I've edited the hal file and just added a comment to show that the error is on a different line (ie I'm reading the right file).
-The board is connected to a commercial 5v power supply (ie not a usb/phone one).
Below is the start of the HAL file, it fails on the "setp" line (error below the HAL file):
# Generated by PNCconf at Sun Jun 11 18:18:30 2023
# Using LinuxCNC version:2.8
# If you make changes to this file, they will be
# overwritten when you run PNCconf again
loadusr -Wn pyvcp pyvcp -c pyvcp [DISPLAY] (PYVCP)
source postgui call_ list.hal
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo period nsec= [EMCMOTISERVO PERIOD num joints= [KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board ip="10.10.10.10" config="num_encoders=1 num_pwmgens=0 num_stepgens=5 serial_port_O=0xXXxX"
#setp hm2_7196.0.watchdog.timeout_ns 5000000
setp hm2_7196.0.watchdog.timeout_ns 5000000
Error when starting linuxcnc:
Removing HAL LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
./Mill-1.hal:12: parameter or pin 'hm2 796.0.watchdog.timeout_ns' not found
1198
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Last edit: 13 Jun 2023 09:26 by camb0. Reason: Fixing formatting
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5723
- Thank you received: 2095
13 Jun 2023 08:00 #273450
by phillc54
Replied by phillc54 on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
I think you may be missing an underscore:
watchdog.timeout_ns
watchdog.timeout_ns
Please Log in or Create an account to join the conversation.
- camb0
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 9
13 Jun 2023 08:50 #273455
by camb0
Replied by camb0 on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Phill good pickup, I wish it were that easy.
That was a copy paste/transpose issue.
That was a copy paste/transpose issue.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11230
- Thank you received: 3753
13 Jun 2023 09:51 #273460
by rodw
Replied by rodw on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
This video of mine may set you straight. Although it's for the 7i76e, the 7i96 is similar, just you need an additional 5v power supply for logic.
Looks like there are some spaces in your hal pin there.
Just take your time, and see if you can fix the errors and tackle the next one.
If you can't sort them out, just comment out the relevant lines (it reports the line number) until it opens, then use halshow to see the correct pin name,
Also run Linuxcnc from the command prompt as you get the error messages displayed. I use linuxcnc -l a lot which loads the last config you ran.
Looks like there are some spaces in your hal pin there.
Just take your time, and see if you can fix the errors and tackle the next one.
If you can't sort them out, just comment out the relevant lines (it reports the line number) until it opens, then use halshow to see the correct pin name,
Also run Linuxcnc from the command prompt as you get the error messages displayed. I use linuxcnc -l a lot which loads the last config you ran.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5084
13 Jun 2023 10:44 - 13 Jun 2023 10:58 #273467
by PCW
Replied by PCW on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Are you sure you have a 7I96 and not a 7I96S?
What does:
mesaflash --device Ethernet --addr 10.10.10.10 --verbose
report?
Also noticed you have 7196 rather than 7I96
in this command:
setp hm2_7196.0.watchdog.timeout_ns 5000000
What does:
mesaflash --device Ethernet --addr 10.10.10.10 --verbose
report?
Also noticed you have 7196 rather than 7I96
in this command:
setp hm2_7196.0.watchdog.timeout_ns 5000000
Last edit: 13 Jun 2023 10:58 by PCW.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20186
- Thank you received: 6871
13 Jun 2023 11:06 #273472
by tommylight
That is a reply from your PC, not the mesa card.
What does
ip a
return?
Replied by tommylight on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
What I've tried/done so far:
-setup the network, ping to the board on 10.10.10.10 holds steady at around 0.07ms
What does
ip a
return?
Please Log in or Create an account to join the conversation.
- camb0
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 9
13 Jun 2023 11:28 - 13 Jun 2023 11:31 #273475
by camb0
Replied by camb0 on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Thx Tommy, yep that would be right re the ping.. (slaps forehead).
cam@linuxcnc-mill:~/Downloads/7i96/configs/hostmot2$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether d8:d3:85:8f:19:65 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global noprefixroute enp4s0
valid_lft forever preferred_lft forever
inet6 fe80::b0ea:bad7:ac6:53b9/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether c4:d9:87:66:12:e6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.108/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp5s0
valid_lft 80515sec preferred_lft 80515sec
inet6 fe80::c6d9:87ff:fe66:12e6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Last edit: 13 Jun 2023 11:31 by camb0.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- camb0
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 9
13 Jun 2023 11:40 #273478
by camb0
Replied by camb0 on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Thanks for the quick response.
My first paste has some transposition errors in it as I'm going via a VNC remote desktop (too cold where the robots live) to my mac -> image screenshot -> image OCR (not very good) -> pasted text in the form.
So 7i96 it is, however that got smooshed into 7196.
I'm going direct off the machine's browser now.s
My first paste has some transposition errors in it as I'm going via a VNC remote desktop (too cold where the robots live) to my mac -> image screenshot -> image OCR (not very good) -> pasted text in the form.
So 7i96 it is, however that got smooshed into 7196.
I'm going direct off the machine's browser now.
cam@linuxcnc-mill:~/Downloads/7i96/configs/hostmot2$ mesaflash --device Ethernet --addr 10.10.10.10 --verbose
ETH device 7I96S at ip=10.10.10.10
Communication:
transport layer: ethernet IPv4 UDP
ip address: 10.10.10.10
mac address: 00:60:1B:16:86:5E
protocol: LBP16 version 3
Board info:
Flash size: 16Mb (id: 0x14)
Connectors count: 3
Pins per connector: 17
Connectors names: TB3 TB1/TB2 P1
FPGA type: T20F256
Number of leds: 4
Board firmware info:
memory spaces:
0: HostMot2 (registers, RW, 32-bit) [size=64K]
1: KSZ8851 (registers, RW, 16-bit) [size=256]
2: EtherEEP (EEPROM, RW, 16-bit) [size=128], page size: 1, erase size: 1
3: FPGAFlsh (flash, RW, 32-bit) [size=16M], page size: 256, erase size: 65536
4: Timers (memory, RW, 16-bit) [size=16]
6: LBP16RW (memory, RW, 16-bit) [size=16]
7: LBP16RO (memory, RO, 16-bit) [size=16]
[space 0] HostMot2
[space 2] Ethernet eeprom:
mac address: 00:60:1B:16:86:5E
ip address: 10.10.10.10
board name: 7I96S
user leds: eth debug
[space 3] FPGA flash eeprom:
flash size: 16Mb (id: 0x14)
[space 4] timers:
uSTimeStampReg: 0xC907
WaituSReg: 0x0000
HM2Timeout: 0x0000
[space 6] LBP16 control/status:
packets received: all 33672, UDP 33535, bad 0
packets sent: all 17163, UDP 17151, bad 0
parse errors: 0, mem errors 0, write errors 0
error flags: 0x0000
debug LED ptr: 0x0008
scratch: 0x0000
[space 7] LBP16 info:
board name: 7I96S
LBP16 protocol version 3
board firmware version 17
IP address jumpers at boot: fixed from EEPROM
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5084
13 Jun 2023 11:43 #273479
by PCW
Replied by PCW on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
OK s that's a 7I96S, not a 7I96 so you need to specify 7I96S with
mesact or pncconf when creating a configuration or mesaflash when
issuing a command.
mesact or pncconf when creating a configuration or mesaflash when
issuing a command.
Please Log in or Create an account to join the conversation.
- camb0
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 9
13 Jun 2023 11:44 #273480
by camb0
Replied by camb0 on topic Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
That would explain why when I refer to it by name it came back with an error.
Interesting the --verbose is much nicer to read than the way more verbose readhmid option.
Interesting the --verbose is much nicer to read than the way more verbose readhmid option.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
- Hardware & Machines
- Driver Boards
- Mesa 7i96 setup issue [parameter or pin 'hm2_7i96.0.watchdog.timeout_ns' not fou
Time to create page: 0.105 seconds