7i90hd configuration not start linuxcnc

More
04 Apr 2023 13:59 #268265 by telmoram
Please help me, don´t start linuxcnc with board 7i90hd, configuration files was created with pncconf wizard, 
Attach the file report by linuxcnc.
Thanks. 

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

More
04 Apr 2023 14:42 #268268 by tommylight
No file...

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

More
04 Apr 2023 23:38 #268299 by telmoram
This is the error log file:

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.10.0-pre0-1064-geef658e53
Machine configuration directory is '/home/cnc/linuxcnc/configs/7i90hd'
Machine configuration file is '7i90hd.ini'
INIFILE=/home/cnc/linuxcnc/configs/7i90hd/7i90hd.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
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): ./7i90hd.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
hm2: no firmware specified in config modparam! the board had better have firmware configured already, or this won't work
hm2/hm2_7i90.0: Low Level init 0.15
hm2/hm2_7i90.0: 72 I/O Pins used:
hm2/hm2_7i90.0: IO Pin 000 (P1-01): Encoder #1, pin B (Input)
hm2/hm2_7i90.0: IO Pin 001 (P1-03): Encoder #1, pin A (Input)
hm2/hm2_7i90.0: IO Pin 002 (P1-05): Encoder #0, pin B (Input)
hm2/hm2_7i90.0: IO Pin 003 (P1-07): Encoder #0, pin A (Input)
hm2/hm2_7i90.0: IO Pin 004 (P1-09): Encoder #1, pin Index (Input)
hm2/hm2_7i90.0: IO Pin 005 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i90.0: IO Pin 006 (P1-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i90.0: IO Pin 007 (P1-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i90.0: IO Pin 008 (P1-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i90.0: IO Pin 009 (P1-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i90.0: IO Pin 010 (P1-21): PWMGen #1, pin Not-Enable (Output)
hm2/hm2_7i90.0: IO Pin 011 (P1-23): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i90.0: IO Pin 012 (P1-25): Encoder #3, pin B (Input)
hm2/hm2_7i90.0: IO Pin 013 (P1-27): Encoder #3, pin A (Input)
hm2/hm2_7i90.0: IO Pin 014 (P1-29): Encoder #2, pin B (Input)
hm2/hm2_7i90.0: IO Pin 015 (P1-31): Encoder #2, pin A (Input)
hm2/hm2_7i90.0: IO Pin 016 (P1-33): Encoder #3, pin Index (Input)
hm2/hm2_7i90.0: IO Pin 017 (P1-35): Encoder #2, pin Index (Input)
hm2/hm2_7i90.0: IO Pin 018 (P1-37): IOPort
hm2/hm2_7i90.0: IO Pin 019 (P1-39): IOPort
hm2/hm2_7i90.0: IO Pin 020 (P1-41): IOPort
hm2/hm2_7i90.0: IO Pin 021 (P1-43): IOPort
hm2/hm2_7i90.0: IO Pin 022 (P1-45): IOPort
hm2/hm2_7i90.0: IO Pin 023 (P1-47): IOPort
hm2/hm2_7i90.0: IO Pin 024 (P2-01): StepGen #0, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 025 (P2-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 026 (P2-05): IOPort
hm2/hm2_7i90.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i90.0: IO Pin 028 (P2-09): IOPort
hm2/hm2_7i90.0: IO Pin 029 (P2-11): IOPort
hm2/hm2_7i90.0: IO Pin 030 (P2-13): StepGen #1, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 031 (P2-15): StepGen #1, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i90.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i90.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i90.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i90.0: IO Pin 036 (P2-25): StepGen #2, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 037 (P2-27): StepGen #2, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 038 (P2-29): IOPort
hm2/hm2_7i90.0: IO Pin 039 (P2-31): IOPort
hm2/hm2_7i90.0: IO Pin 040 (P2-33): IOPort
hm2/hm2_7i90.0: IO Pin 041 (P2-35): IOPort
hm2/hm2_7i90.0: IO Pin 042 (P2-37): StepGen #3, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 043 (P2-39): StepGen #3, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i90.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i90.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i90.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i90.0: IO Pin 048 (P3-01): IOPort
hm2/hm2_7i90.0: IO Pin 049 (P3-03): IOPort
hm2/hm2_7i90.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i90.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i90.0: IO Pin 052 (P3-09): IOPort
hm2/hm2_7i90.0: IO Pin 053 (P3-11): IOPort
hm2/hm2_7i90.0: IO Pin 054 (P3-13): IOPort
hm2/hm2_7i90.0: IO Pin 055 (P3-15): IOPort
hm2/hm2_7i90.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i90.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i90.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i90.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i90.0: IO Pin 060 (P3-25): IOPort
hm2/hm2_7i90.0: IO Pin 061 (P3-27): IOPort
hm2/hm2_7i90.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i90.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i90.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i90.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i90.0: IO Pin 066 (P3-37): IOPort
hm2/hm2_Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
7i90.0: IO Pin 067 (P3-39): IOPort
hm2/hm2_7i90.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i90.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i90.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i90.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i90.0: registered
hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x0000, epp_wide OFF) found
hm2_7i90.0: releasing board
hm2/hm2_7i90.0: unregistered
hm2_7i90: 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
./7i90hd.hal:23: parameter or pin 'hm2_7i90.0.dpll.01.timer-us' not found
3170
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.

Date: mar abr 4 08:45:25 -05 2023
UTC Date: mar abr 4 13:45:25 UTC 2023
this program: /usr/bin/linuxcnc_info
uptime: 08:45:25 up 6:36, 1 user, load average: 0,09, 0,10, 0,07
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
linuxcnc: /usr/bin/linuxcnc
pwd: /home/cnc/linuxcnc/configs/7i90hd
USER: cnc
LOGNAME: cnc
HOME: /home/cnc
EDITOR:
VISUAL:
LANGUAGE: es_EC:es
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1280x720 pixels (339x191 millimeters)
PATH: /usr/bin:/home/cnc/linuxcnc/configs/7i90hd/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
nodename -n: debian
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.269-1 (2022-12-20)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux

/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-23-rt-amd64 root=UUID=176ba136-960f-491d-a51b-f1e30772d14e ro quiet
model name: AMD E1-6010 APU with AMD Radeon R2 Graphics
cores: 2
cpu MHz: 1197.823
parport: 0000-0000 : parport0 0000-0000 : parport0
serial: 0000-0000 : serial

Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 3.7.3
git: git version 2.20.1
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH

linuxcnc_var all:

LINUXCNCVERSION: 2.10.0-pre0-1064-geef658e53
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /usr/lib/linuxcnc/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre Versión Arquitectura Descripción
+++-===================-=============================-============-=====================================================================
un linuxcnc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-dev <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii linuxcnc-doc-en 1:2.10.0~pre0.1064.geef658e53 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.10.0~pre0.1064.geef658e53 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.10.0~pre0.1064.geef658e53 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linuxcnc-sim-dev <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii linuxcnc-uspace 1:2.10.0~pre0.1064.geef658e53 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.10.0~pre0.1064.geef658e53 amd64 PC based motion controller for real-time Linux

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

More
05 Apr 2023 01:48 #268309 by tommylight
Edit the hal file with a text editor (not with office and not on a windows PC), find the line containing
hm2_7i90.0.dpll.01.timer-us
should be line 23, omit it by adding # in front of the line, save.
Start the config from desktop or however you start it.

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

More
05 Apr 2023 11:35 #268330 by telmoram
Thanks, it worked
# setp hm2_7i90.0.dpll.01.timer-us -50
# setp hm2_7i90.0.stepgen.timer-number 1
comment these two lines and it worked, but how do these two lines affect the operation?

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

More
05 Apr 2023 11:53 #268332 by tommylight
Not that i am aware of, at least for most of the stuff i used, but i do remember one instance when i needed that using Serial Absolute Encoders on a retrofit.

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

Time to create page: 0.217 seconds
Powered by Kunena Forum