Hello again, there is something i'm missing, or i can't understand.
Should i recompile EMC or hostmot after modifying that file?

I thougt i have seen a command to tell on runtime inside a .hal file 
where the encoder is connected and where the pwmgens.



El 23/01/2009 09:21 p.m., Sebastian Kuzminsky escribió:
> Peter C. Wallace wrote:
>   
>> On Fri, 23 Jan 2009, Richard Acosta wrote:
>>
>>     
>>> I'm now about to connect a linear encoder, but, i don't know how to
>>> connect it.
>>> I downloaded the three manuals available, and found about pwmgen
>>> connection but nothing about an encoder.
>>>
>>> How do i tell EMC2 which pins belong to encoders?
>>> In which file?
>>>       
>> There should be a .PIN file that matches the name of the firmware file you 
>> are 
>> using, say SVST4_6.PIN for example. I'm not sure off hand where this is in 
>> the 
>> EMC distribution but locate should find it. This file has the pinout 
>> information for the matching bitfile. You can also set the 
>> "debug_pin_descriptors" flag when launching hostmot2. (man hostmot2).
>>     
>
> Hi again Richard.
>
> The PIN files are in src/hal/drivers/mesa-hostmot2/firmware/7i43 if 
> you're compiling from source using a CVS checkout.  They're in 
> /usr/share/doc/emc2/hostmot2/7i43 if you installed the 2.2.8 .deb.
>
> The driver prints the actual pinout at load-time whether or not 
> debug_pin_descriptors is given.  The pinout shows up in the dmesg.
>
> (debug_pin_descriptors only enables dumping the firmware's Pin 
> Descriptors in all their hideous glory, this may be interesting to 
> firmware hackers and driver writers but it's no good for users - users 
> should get what they need from the always-on pinout logging.)
>
>
>   

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to