On Friday 13 January 2017 22:52:45 Peter C. Wallace wrote:

> > So something is lieing to me, just like a glued down rug.
> >
> > Now I am trying to cobble up a reset but I've run into something I
> > gave up on once before. Namely that hal apparently has no clue what
> > the hell to do with a pin that is supposed to be a bi-directional
> > pin according to the message spit out when the watchdog bites. That
> > says I should drive that bit false to re-enable the 7i90. But I have
> > only seen that led on once, months ago.  And show config, when I try
> > to setp the pin, setp complains the pin is held high by another
> > signal and it cannot access it to set it.  Why?
>
> Do you have a non-tristate hal pin driving the has_bit pin?
> That would prevent you from setting it by hand

in this case I was using a oneshot.out-not

> resetting works for me:
>
> pcw@pcw-G41M-Combo:~/linuxcnc/configs$ halcmd setp
> hm2_7i76e.0.watchdog.timeout_ns 100
>
>     hm2/hm2_7i76e.0: Watchdog timeout (100 ns) is dangerously short
> compared to hm2_write() period (1000000 ns)
>     hm2/hm2_7i76e.0: Watchdog has bit! (set the .has-bit pin to False
> to resume) hm2/hm2_7i76e.0: trying to recover from IO error or
> Watchdog bite
>
> pcw@pcw-G41M-Combo:~/linuxcnc/configs$ halcmd setp
> hm2_7i76e.0.watchdog.timeout_ns 10000000
> pcw@pcw-G41M-Combo:~/linuxcnc/configs$ halcmd setp
> hm2_7i76e.0.watchdog.has_bit false
>
>     hm2/hm2_7i76e.0: error recover successful!
>
I'll print this as its shut down for the night, and adapt it to the 7i90 
tomorrow. This looks totally different compared to what was in the 
example 3 axis file I started with. That logic simply didn't work, only 
a complete pwrdown restart worked. When it was a real, lit the leds, 
watchdog bite.  You have an advantage on me however, you show a 
setp watchdog.timeout_ns parameter, which is not documented anyplace in 
the very hard to find 7i90 documentation.

The pdf of it that I got from your site, seems not to even contain the 
word "watchdog" anyplace in it, so where is this sort of info actually 
squirreled away?

Thank you Peter.
>
> Peter Wallace
> Mesa Electronics
>
>
> ----------------------------------------------------------------------
>-------- Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> 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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to