intermittant timeouts from hm2_sserial_waitfor

  • jCandlish
  • jCandlish's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 Mar 2017 15:17 - 13 Mar 2017 15:18 #89528 by jCandlish
I am seeing infrequent but persistent timeouts from hm2_sserial_waitfor


hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.100.10.100: Hardware address: 00:60:1b:11:00:92
hm2_eth: discovered 7I80HD-16
hm2/hm2_7i80.0: Smart Serial Firmware Version 43
Board hm2_7i80.0.7i84.0.0 Hardware Mode 0 = standard
Board hm2_7i80.0.7i84.0.0 Software Mode 0 = input_output
Board hm2_7i80.0.7i84.0.0 Software Mode 1 = io_analog_fieldvoltage
Board hm2_7i80.0.7i84.0.0 Software Mode 2 = io_encoder_analog
hm2/hm2_7i80.0: hm2_sserial_waitfor: Timeout (25mS) waiting for addr 5a00 &mask ffffffff val 0
hm2/hm2_7i80.0: DATA addr 5b00 after timeout: 0
hm2/hm2_7i80.0: Timeout during do-it in sserial_get_bytes
hm2/hm2_7i80.0: Failed to read/setup the globals on hm2_7i80.0.7i84.0.0
hm2/hm2_7i80.0: Remote setup failure on instance 0
hm2/hm2_7i80.0: failed to parse Module Descriptor 3
board fails HM2 registration

Sometimes the timeout comes from the 7i73 on channel 1.

What could be the cause of this timeout?

Can I relax the timeout interval?

My ping latency averages about 0.25ms
latheoperator@125cnc:~/linuxcnc$ ping 10.100.10.100
PING 10.100.10.100 (10.100.10.100) 56(84) bytes of data.
64 bytes from 10.100.10.100: icmp_seq=1 ttl=64 time=0.245 ms
64 bytes from 10.100.10.100: icmp_seq=2 ttl=64 time=0.221 ms
64 bytes from 10.100.10.100: icmp_seq=3 ttl=64 time=0.267 ms
64 bytes from 10.100.10.100: icmp_seq=4 ttl=64 time=0.268 ms
64 bytes from 10.100.10.100: icmp_seq=5 ttl=64 time=0.227 ms
64 bytes from 10.100.10.100: icmp_seq=6 ttl=64 time=0.267 ms
64 bytes from 10.100.10.100: icmp_seq=7 ttl=64 time=0.274 ms
64 bytes from 10.100.10.100: icmp_seq=8 ttl=64 time=0.269 ms
64 bytes from 10.100.10.100: icmp_seq=9 ttl=64 time=0.227 ms
64 bytes from 10.100.10.100: icmp_seq=10 ttl=64 time=0.250 ms
64 bytes from 10.100.10.100: icmp_seq=11 ttl=64 time=0.230 ms
^C

latheoperator@125cnc:~/linuxcnc$  mesaflash --verbose --device 7i80 --addr 10.100.10.100 --sserial
SSLBP port 0:
  SSLBP Version: 1.43
  SSLBP Channels: 2
  SSLBP Baud Rate: 2500000
  interface type: 12
  interface width: 8
  SSLBP Channel Start: 112
  SSLBP Channel Stride: 50
  SSLBP Processor Type: d8
  SSLBP Clock: 100 MHz
  sserial device at channel 0: 7I84
    SwRevision = 15
    HwRevision = 1
    NVBaudRate = 2.5Mb
    NVUnitNumber = 0x180000F3
    NVWatchDogTimeout = 50ms
    EncMode0 = ffff [16 bits UNSIGNED IN | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0998]
    EncMode1 = ffff [16 bits UNSIGNED IN | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 099A]
    NVEncMode0 = 0 [16 bits NV UNSIGNED IN | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0066]
    NVEncMode1 = 0 [16 bits NV UNSIGNED IN | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0068]
    SOFTWARE MODE Input_Output [index 00]
    SOFTWARE MODE IO_Analog_FieldVoltage [index 01]
    SOFTWARE MODE IO_Encoder_Analog [index 02]
  sserial device at channel 1: 7I73
    Contrast = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 09C6]
    EncMode0 = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0998]
    EncMode1 = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 099A]
    EncMode2 = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 099C]
    EncMode3 = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 099E]
    SwRevision = 14
    HwRevision = 1
    KeyMode = ffff [16 bits UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 09DE]
    NVContrast = 2710 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0044]
    NVEncMode0 = 0 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 003A]
    NVEncMode1 = 0 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 003C]
    NVEncMode2 = 0 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 003E]
    NVEncMode3 = 0 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0040]
    NVDispMode = 414 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0006]
    NVKeyTimer = 1e [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0046]
    NVAnalogFilter = 8000 [16 bits NV UNSIGNED OUT | UNIT: None | RANGE: 0.00 - 0.00 | ADDR: 0042]
    NVBaudRate = 2.5Mb
    NVUnitNumber = 0x130000E2
    NVWatchDogTimeout = 50ms
    SOFTWARE MODE InputOutputEncoder [index 00]
    SOFTWARE MODE InputOutputEncoderAnalog [index 01]
    SOFTWARE MODE InputOutputEncoderAnalog [index 02]
    SOFTWARE MODE InputOutputEncoderDisplay [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplay [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplay [index 02]
    SOFTWARE MODE InputOutputEncoderKeycode4by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogKeycode4by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogKeycode4by8 [index 02]
    SOFTWARE MODE InputOutputEncoderDisplayKeycode4by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplayKeyCode4by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplayKeyCode4by8 [index 02]
    SOFTWARE MODE InputOutputEncoderKeycode8by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogKeyCode8by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogKeyCode8by8 [index 02]
    SOFTWARE MODE InputOutputEncoderDisplayKeycode8by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplayKeyCode8by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplayKeyCode8by8 [index 02]
latheoperator@125cnc:~/linuxcnc$ 
Last edit: 13 Mar 2017 15:18 by jCandlish.

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

More
13 Mar 2017 16:19 #89530 by PCW
Looks like a power or signal integrity issue of some kind

( if the remote does not answer in ~20 usec its not going to )

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

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