On Friday, 20 May 2022 17:06:13 EDT Peter C. Wallace wrote:
> On Fri, 20 May 2022, gene heskett wrote:
> > So I took out the --dbnames and printed the readhmid, which gave me
> > some pin numbers to look at. which is a help.
> 
> That means you are still running the old mesaflash

Yup, fixed now.

> Did you build the mesaflash source with "sudo make install" ?

yes
 
> > But apparently the setp for output-type takes a different syntax as
> > trying to set it to zero is a pin not found showstopper??? And I
> > can't find it in any similar name in halshow???
> 
> That should be
> 
> setp hm2_5i25.0.pwmgen.00.output-type N
> 
>From the bottom of my .ini file:
[AIR_0]
PWMGEN_S_FREQ = 4000
PWMGEN1_TYPE = 0
PWMGEN0_TYPE = 1
from the setp's in my .hal file:
setp hm2_5I25.0.pwmgen.01.output-type [AIR_0]PWMGEN1_TYPE
setp hm2_5i25.0.pwmgen.00.output-type [AIR_0]PWMGEN0_TYPE

There was a couple typu's above.
But that does not agree with the software version, logging this at 
startup of linuxcnc:
hm2/hm2_5i25.0: invalid pwmgen output_type 0 requested
hm2/hm2_5i25.0: supported .output-type values are: 1 (PWM & Dir), 2 (Up & 
Down), 3 (PDM & Dir), and 4 (Dir & PWM)

I can run on 2 or 3, ignoring the dir so thats not a real problem. 
Getting the correct polarity, off=low, when the machine power is off 
might be. OTOH they won't run long without a hot supply, which also goes 
away when F2 is toggled off.

I'm about spent for the day, the years are tattling on me, so thank you 
Peter.

Take care & stay well, both of you.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to