Problem moving from a 5i25+7I76 to a 7i76E.

More
11 Sep 2023 22:17 #280504 by JohnnyCNC
In addition to 5i25+7I76 to a 7i76E I am also moving from  a J1800 MB to a ODroid H2+.
24V to TB1 pins 3 & 7 and TB3 pins 21 & 22 .  Each pair Positive, Negative respectively.
I can Ping the IP 10.10.10.10.
I have 3 LEDS that are on. one green CR5, and  two yellow CR8, CR13. 

Problem: When I run  "halcmd show all hm2" it shows no pins at all, just what is shown at the bottom of this post.

When moving from the 7i76 to the 7i76E just pulled the terminal strips off and moved them to the new board. 

I believe I have the jumpers set correctly.
W1 Left
W2 Down
W3 Up
W4 Up
W5 Up
W6 Up
W7 Down
W8 Left
W10 Left
W11 Right
W12 Down
W13 Right

Loaded HAL Components:
ID      Type  Name                                            PID   State

Component Pins:
Owner   Type  Dir         Value  Name

Pin Aliases:
 Alias                                            Original Name

Signals:
Type          Value  Name     (linked to)

Parameters:
Owner   Type  Dir         Value  Name

Parameter Aliases:
 Alias                                            Original Name

Exported Functions:
Owner   CodeAddr  Arg       FP   Users  Name

Thanks for any help.
John

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

More
12 Sep 2023 02:04 #280512 by PCW
Is linuxCNC running?
 If not, halcmd will show no hal pins,parameters etc

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

More
12 Sep 2023 02:41 #280515 by JohnnyCNC

Is linuxCNC running?
 If not, halcmd will show no hal pins,parameters etc

Yes,  I had tried it both ways.  I just tried it again a few times and I did see the pins show up once, but I am getting real-time excursions.  After that happens, no pins.   I had run the latency test on this PC with the 7i76 connected while it was on the bench and I got acceptable times.  Now that it is in the machine I also have a 7i83 connected.  Looks like I need to focus on the real-time excursions.

Thanks
John
 

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

More
13 Sep 2023 02:56 #280590 by JohnnyCNC
This is where I am at. When I try to start LCNC from the command line it just exits. Any ideas

I tried this:
john@X3CNC:~$ mesaflash --device 7i76e --readhmid
No 7I76E board found
john@X3CNC:~$

I found this in the report file:

Debug file information:
Note: Using POSIX realtime
hm2_pci: rtapi_app_main: No such device (-19)
./SiegX3.hal:10: waitpid failed /usr/bin/rtapi_app hm2_pci
./SiegX3.hal:10: /usr/bin/rtapi_app exited without becoming ready
./SiegX3.hal:10: insmod for hm2_pci failed, returned -1
1432
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Thanks

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

More
13 Sep 2023 12:21 #280627 by tommylight

hm2_pci: rtapi_app_main: No such device (-19)
./SiegX3.hal:10: waitpid failed /usr/bin/rtapi_app hm2_pci
./SiegX3.hal:10: /usr/bin/rtapi_app exited without becoming ready
./SiegX3.hal:10: insmod for hm2_pci failed, returned -1
1432

In the loadrt lines you still have hm2_pci, it should be hm2_eth

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

More
13 Sep 2023 23:46 #280683 by JohnnyCNC

hm2_pci: rtapi_app_main: No such device (-19)
./SiegX3.hal:10: waitpid failed /usr/bin/rtapi_app hm2_pci
./SiegX3.hal:10: /usr/bin/rtapi_app exited without becoming ready
./SiegX3.hal:10: insmod for hm2_pci failed, returned -1
1432

In the loadrt lines you still have hm2_pci, it should be hm2_eth

Thanks Tommy, 
I knew it was going to be something like that.  I also changed all of the references to 5i25 to 7i76e

John
The following user(s) said Thank You: tommylight

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

More
13 Sep 2023 23:51 #280684 by tommylight
You are welcomed, always.

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

More
19 Sep 2023 16:38 #281170 by JohnnyCNC
I kept running into problems that didn't seem to be coming from my hall or ini file so I decided to start over from scratch. I tried each of the various installation instructions and they all seem to end at the same place. On of the issues is the "error finishing read". On one attempt I installed the RTL8125 driver and updated the kernal to 6.3. The machine was and still is unusable. The currenct state was arrived at by installing debian and following the "Installing Linuxcnc on Debian Bookwork instructions. Starting Linuxcnc takes a very long time. It displays a message "Hard limits are reset to active!" Operator error: File not open. When it finally come up most buttons are unresponsive. I started from a terminal and below are the entries of interest. The PC is a ODroid H2+.
Am I doing something wrong here?

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:10:45:f1
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
Waiting for component 'hm2_eth' to become ready.Board hm2_7i76e.0.7i83.0.1 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i83.0.1 Software Mode 0 = analogout_enables
......hm2/hm2_7i76e.0: 51 I/O Pins used:

hm2/hm2_7i76e.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2_7i76e.0.sserial.0.fault-count pin will indicate if this is happening frequently.
hm2/hm2_7i76e.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2_7i76e.0.sserial.0.fault-count pin will indicate if this is happening frequently.

[QTvcp.QTDRAGON_HD_HANDLER][WARNING] QtDragon warning with loading QtWebEngineWidget - is python3-pyqt5.qtwebengine installed? (qtdragon_hd_handler.py:35)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Module 'qtdragon_hd_handler' imported OK (qt_makegui.py:305)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Module 'qtdragon_hd_handler' : 'get_handlers' function found. (qt_makegui.py:311)

[QTvcp][DEBUG] Calling the handler file's initialized__ function (qtvcp:293)
No default setup file found - 'QWebPage' object has no attribute 'urlChanged'

[QTvcp][INFO] Postgui filename: (qtvcp:427)
No module named 'scipy' Is python3-scipy installed?
[QTvcp][INFO] Postgui commands: None (qtvcp:439)
[QTvcp][INFO] Preference path: /home/john/linuxcnc/configs/SiegX3/qtdragon_hd.pref (qtvcp:416)
hm2/hm2_7i76e.0: error finishing read! iter=5329
hm2/hm2_7i76e.0: error finishing read! iter=5329

emc/task/emctask.cc 69: interp_error: File not open
File not open
emc/task/emctask.cc 69: interp_error: File not open
File not open
emc/task/emctask.cc 69: interp_error: File not open
File not open
emc/task/emctask.cc 69: interp_error: File not open
File not open
emc/task/emctask.cc 69: interp_error: File not open
File not open
[QTvcp.QTVCP.LIB.SYS_NOTIFY][DEBUG] Desktop Notify: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.66 was not provided by any .service files (sys_notify.py:144)
[QTvcp.QTVCP.LIB.SYS_NOTIFY][DEBUG] Desktop Notify: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.66 was not provided by any .service files (sys_notify.py:144)
emc/task/emctask.cc 69: interp_error: File not open
File not open
[QTvcp.QTVCP.LIB.SYS_NOTIFY][DEBUG] Desktop Notify: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.66 was not provided by any .service files (sys_notify.py:144)


Thanks
John

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

More
19 Sep 2023 19:57 #281187 by PCW
The hardware issues (non-QT related) are real time problems with the Ethernet interface

1. What servo thread period are you running?

2. What is the result of:

ping -c 4 10.10.10.10
and then
sudo chrt 99 ping -i .001 -q 10.10.10.10
(hit control C to stop and prints stats)

3. What is the result of

uname -a

 

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

More
19 Sep 2023 20:04 #281189 by JohnnyCNC
Thanks Peter

john@X3CNC:~$ ping -c 4 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.492 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.824 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.805 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.811 ms

john@X3CNC:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

Linux X3CNC 6.1.0-12-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux

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

Time to create page: 0.102 seconds
Powered by Kunena Forum