On Wednesday 11 December 2019 01:20:49 Peter C. Wallace wrote: > On Wed, 11 Dec 2019, Gene Heskett wrote: > > Date: Wed, 11 Dec 2019 00:57:22 -0500 > > From: Gene Heskett <[email protected]> > > Reply-To: "Enhanced Machine Controller (EMC)" > > <[email protected]> > > To: [email protected] > > Subject: Re: [Emc-users] Need a power signal independent of > > linuxcnc. > > > > On Tuesday 10 December 2019 16:54:51 Todd Zuercher wrote: > >> Gene says that he can't start Linuxcnc after the error occurs. Is > >> there a possibility that there could be some kind of a config issue > >> preventing Linuxcnc from properly initializing the cards on start > >> up? > > > > To head that off at the pass, this generally occurs while linuxcnc > > isn't running, and here is the hal code that starts it on the 6040: > > > > loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD > > num_joints=[KINS]JOINTS num_dio=12 loadrt hostmot2 > > loadrt hm2_pci config="num_pwmgens=1 num_stepgens=4 num_encoders=1 > > sserial_port_0=1xxx" > > > > Here is the failing startup: > > > > gene@shop:~/linuxcnc/configs/6040-5i25-7i76$ linuxcnc -l > > LINUXCNC - 2.9.0-pre0-855-g4584862 > > Machine configuration directory is > > '/home/gene/linuxcnc/configs/6040-5i25-7i76' Machine configuration > > file is '6040-5i25-7i76.ini' > > Starting LinuxCNC... > > . > > Found file(REL): ./6040-5i25-7i76.hal > > ./6040-5i25-7i76.hal:66: Pin 'hm2_5i25.0.7i76.0.0.spinout' does not > > exist Shutting down and cleaning up LinuxCNC... > > LinuxCNC terminated with an error. You can find more information in > > the log: > > > > And here is the dmesg that generated: > > > > [3498716.241926] I-pipe: head domain RTAI registered. > > [3498716.241942] RTAI[hal]: compiled with gcc version 4.7.2 (Debian > > 4.7.2-5) . [3498716.242037] RTAI[hal]: mounted (IPIPE-NOTHREADS, > > IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). > > [3498716.242046] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ > > 12499448, CLK_FREQ 1800072000, CPU_FREQ 1800072000 [3498716.242054] > > RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; > > LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 > > [3498716.242062] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: > > 12499448, 12499448, 12379250 [3498716.258199] RTAI[malloc]: global > > heap size = 2097152 bytes, <BSD>. [3498716.258287] , <uses LINUX > > SYSCALLs>, kstacks pool size = 524288 bytes. [3498716.258300] > > RTAI[sched]: hard timer type/freq = APIC/12499448(Hz); default > > timing: oneshot; linear timed lists. [3498716.258310] RTAI[sched]: > > Linux timer freq = 250 (Hz), TimeBase freq = 1800072000 hz. > > [3498716.258316] RTAI[sched]: timer setup = 999 ns, resched latency > > = 2943 ns. [3498716.281872] RTAI[math]: loaded. > > [3498716.500205] hm2: loading Mesa HostMot2 driver version 0.15 > > [3498716.505180] hm2_pci: loading Mesa AnyIO HostMot2 driver version > > 0.7 [3498716.505246] hm2_pci: discovered 5i25 at 0000:05:00.0 > > [3498716.506057] hm2/hm2_5i25.0: Smart Serial Firmware Version 43 > > [3498716.512790] hm2/hm2_5i25.0: 34 I/O Pins used: > > [3498716.512803] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, > > pin Direction (Output) [3498716.512812] hm2/hm2_5i25.0: IO Pin > > 001 (P3-14): StepGen #0, pin Step (Output) [3498716.512820] > > hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction > > (Output) [3498716.512829] hm2/hm2_5i25.0: IO Pin 003 (P3-15): > > StepGen #1, pin Step (Output) [3498716.512837] hm2/hm2_5i25.0: > > IO Pin 004 (P3-03): StepGen #2, pin Direction (Output) > > [3498716.512845] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, > > pin Step (Output) [3498716.512854] hm2/hm2_5i25.0: IO Pin 006 > > (P3-04): StepGen #3, pin Direction (Output) [3498716.512862] > > hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step > > (Output) [3498716.512870] hm2/hm2_5i25.0: IO Pin 008 (P3-05): > > PWMGen #0, pin Out1 (Dir or Down) (Output) [3498716.512879] > > hm2/hm2_5i25.0: IO Pin 009 (P3-06): PWMGen #0, pin Out0 (PWM or > > Up) (Output) [3498716.512887] hm2/hm2_5i25.0: IO Pin 010 > > (P3-07): IOPort [3498716.512894] hm2/hm2_5i25.0: IO Pin 011 > > (P3-08): IOPort [3498716.512901] hm2/hm2_5i25.0: IO Pin 012 > > (P3-09): IOPort [3498716.512908] hm2/hm2_5i25.0: IO Pin 013 > > (P3-10): IOPort [3498716.512915] hm2/hm2_5i25.0: IO Pin 014 > > (P3-11): Encoder #0, pin Index (Input) [3498716.512925] > > hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input) > > [3498716.512934] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, > > pin A (Input) [3498716.512941] hm2/hm2_5i25.0: IO Pin 017 > > (P2-01): IOPort [3498716.512948] hm2/hm2_5i25.0: IO Pin 018 > > (P2-14): IOPort [3498716.512955] hm2/hm2_5i25.0: IO Pin 019 > > (P2-02): IOPort [3498716.512962] hm2/hm2_5i25.0: IO Pin 020 > > (P2-15): IOPort [3498716.512969] hm2/hm2_5i25.0: IO Pin 021 > > (P2-03): IOPort [3498716.512976] hm2/hm2_5i25.0: IO Pin 022 > > (P2-16): IOPort [3498716.512983] hm2/hm2_5i25.0: IO Pin 023 > > (P2-04): IOPort [3498716.512990] hm2/hm2_5i25.0: IO Pin 024 > > (P2-17): IOPort [3498716.512997] hm2/hm2_5i25.0: IO Pin 025 > > (P2-05): IOPort [3498716.513004] hm2/hm2_5i25.0: IO Pin 026 > > (P2-06): IOPort [3498716.513011] hm2/hm2_5i25.0: IO Pin 027 > > (P2-07): IOPort [3498716.513018] hm2/hm2_5i25.0: IO Pin 028 > > (P2-08): IOPort [3498716.513025] hm2/hm2_5i25.0: IO Pin 029 > > (P2-09): IOPort [3498716.513032] hm2/hm2_5i25.0: IO Pin 030 > > (P2-10): IOPort [3498716.513039] hm2/hm2_5i25.0: IO Pin 031 > > (P2-11): IOPort [3498716.513046] hm2/hm2_5i25.0: IO Pin 032 > > (P2-12): IOPort [3498716.513053] hm2/hm2_5i25.0: IO Pin 033 > > (P2-13): IOPort [3498716.513301] hm2/hm2_5i25.0: registered > > [3498716.513308] hm2_5i25.0: initialized AnyIO board at 0000:05:00.0 > > [3498717.176598] hm2_5i25.0: dropping AnyIO board at 0000:05:00.0 > > [3498717.176613] hm2/hm2_5i25.0: unregistered > > > > Note total lack of response from the sserial. The 7i76 simply isn't > > there. A power cycle long enough to extinguish the leds will reset > > it and it will work again till the next time. Might work for a week, > > might work for a couple months. That computer is an ARK shoebox with > > an intel D525-MW motherboard in it. > > As I said I would check the 5I25 power jumpering (and 5V ,field power > when it fails), I have multi-year uptimes of 7I76 Firmware running on > test systems, I really think something else is going on
I'll do that, probably Thursday. I recall changing that jumper on the GO704 build, but cannot now recall where its at in the ARK box running the 6040. I do know the cnc4pc-C1G in that box is powered from a 5V 5A Switcher as it has no other power provisions, and it may also be powering the 7i76D's 5 volts. The 12 volts for field power is a separate small supply of similar wattage. > > Its current uptime: > > > > 00:34:40 up 40 days, 12:04, 5 users, load average: 0.00, 0.01, 0.05 > > > > Anything I missed, I can get tomorrow night or Thursday when I get > > back from the heart mechanics, its not fussy and its not going away > > till I do a powerdown reset, or somebody points out the init error > > in the hal code above. > > > > I'm just up rubbing theraworks into my cramping legs and to munch > > on a couple antacids which will usually abate the leg cramps that > > plague the elderly at night. > > > >> Todd Zuercher > >> P. Graham Dunn Inc. > >> 630 Henry Street > >> Dalton, Ohio 44618 > >> Phone: (330)828-2105ext. 2031 > >> > >> -----Original Message----- > >> From: Peter C. Wallace <[email protected]> > >> Sent: Tuesday, December 10, 2019 4:28 PM > >> To: Enhanced Machine Controller (EMC) > >> <[email protected]> Subject: Re: [Emc-users] Need a > >> power signal independent of linuxcnc. > >> > >> I did a quick test to see if I could confuse a 7I76 by sending it > >> garbage/interrupted transmissions (cycling the FPGA side power > >> while doing high speed comms. I did this 500 times without the 7i76 > >> I/O processor ever requiring a power cycle to recover. I still > >> think this is some other issue (power?) > >> > >> > >> > >> Peter Wallace > >> Mesa Electronics > >> > >> > >> _______________________________________________ > >> Emc-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/emc-users > >> > >> > >> _______________________________________________ > >> Emc-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > > Cheers, Gene Heskett > > -- > > "There are four boxes to be used in defense of liberty: > > soap, ballot, jury, and ammo. Please use in that order." > > -Ed Howdershelt (Author) > > If we desire respect for the law, we must first make the law > > respectable. - Louis D. Brandeis > > Genes Web page <http://geneslinuxbox.net:6309/gene> > > > > > > _______________________________________________ > > Emc-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-users > > Peter Wallace > Mesa Electronics > > (\__/) > (='.'=) This is Bunny. Copy and paste bunny into your > (")_(") signature to help him gain world domination. > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
