PathPilot V2 with 7I80DB-16 + 7i76

More
7 years 7 months ago - 7 years 7 months ago #127949 by mjoconr
Hi All
I'm trying to get PP 2 working with a 7I80DB-16 + 7i76 and I've gotten to the point of getting the correct bit file flashed during PP boot but it shutdown after the following in the log.

I assume that 7i80db_16_7i76x3.bit is the correct bit file, but I wonder about the config of HOSTMOT2 DRIVER_PARAMS
Code:
[HOSTMOT2] DRIVER=hm2_eth BOARD=7i80 DRIVER_PARAMS="board_ip=10.10.10.10 config=num_encoders=0 num_pwmgens=1 num_3pwmgens=0 num_stepgens=5 " BITFILE0=mesa/7i80db_16_7i76x3.bit DPLL_TIMER_NUMBER = 1 DPLL_TIMER_US= -100
Code:
Starting HAL User Interface program: halui halcmd loadusr -Wn halui halui -ini /home/operator/tmc/configs/tormach_mill/tormach_1100-3_7i92.ini halcmd -i /home/operator/tmc/configs/tormach_mill/tormach_1100-3_7i92.ini -f tormach_mill_mesa.hal Note: Using POSIX realtime 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 config=num_encoders=0 num_pwmgens=1 num_3pwmgens=0 num_stepgens=5 : Hardware address: 00:60:1b:10:00:50 hm2_eth: discovered 7I80DB-16 hm2/hm2_7i80.0: Smart Serial Firmware Version 35 Board hm2_7i80.0.7i76.0.0 Hardware Mode 0 = standard Board hm2_7i80.0.7i76.0.0 Software Mode 0 = io_spin Board hm2_7i80.0.7i76.0.0 Software Mode 1 = io_ana_spin Board hm2_7i80.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv board fails HM2 registration hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11) tormach_mill_mesa.hal:12: waitpid failed /home/operator/tmc/bin/rtapi_app hm2_eth tormach_mill_mesa.hal:12: /home/operator/tmc/bin/rtapi_app exited without becoming ready tormach_mill_mesa.hal:12: insmod for hm2_eth failed, returned -1 Shutting down and cleaning up LinuxCNC...
Last edit: 7 years 7 months ago by mjoconr.

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

More
7 years 7 months ago #127972 by pl7i92
the tormach has changed its pathpilot software many times so it is better to ask this around the trormach owned forum
as Pasthpilot now has gone its own way apart and way beond linuxcnc
there may be alot of differences

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

More
7 years 7 months ago #127983 by PCW
Its hard to tell what the real error is but it looks like the driver
doesn't like something about the 7I80DB:

"board fails HM2 registration"

Unfortunately the actual error is not printed

One thing thats a possible issue is the age of the bitfile, can you try again with this current bitfile:

freeby.mesanet.com/7i80db_16_7i76x3d.bit

(you need to power cycle the 7I80DB after writing this new bitfile)
The following user(s) said Thank You: mjoconr

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

More
7 years 7 months ago #128006 by smgvbest
This looks to a a hardware init issue, nothing to do with pathpilot.

Also possible is if you let PP flash the card originally with the PP bit file then you would need to power cycle the card and afterwards flashing the 7i80 bit file then and power cycle. the card may be confused.

And to clarify something I see often stated here, PP is a gui frontend to linuxcnc. highly customized yes and does not show everything Linuxcnc does but all Linux cnc features are available or can be made available. it is designed to support the features Tormach wants to support and provide a user experience for their machines.

Going to a Tormach forum with non Tormach equipment will likely get you refereed by here as Tormach does not support non-tormach installs officially

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

More
7 years 7 months ago #128009 by PCW
The first thing I would do is _DISABLE_ any automatic flashing in startup scripts.
Since the 7I80DB is not a pathpilot supported card, letting pathpilot flash anything is probably a very bad idea

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

More
7 years 7 months ago - 7 years 7 months ago #128028 by mjoconr
The flashing is just a config option which I’ve got worked out. That was fixes before I ran linuxcnc for the first time.

And a change to there scripts could introduce its own issues.

Mike
Last edit: 7 years 7 months ago by mjoconr.

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

Time to create page: 0.164 seconds
Powered by Kunena Forum