Here is a hand built XML file for 5i25 with prob_rfx2 firmware.
You need to add the folder '5i25' to /lib/firmware/hm2
then add the XML file to that folder.
You will need administer privileges to do this.
one way is to open a terminal and type sudo nautilus
and then your password.
after that when you run PNCconf you will be able to select
the 5i25 board and the prob_rfx2 firmware.
Chris M
From: chrisinnana...@hotmail.com
To: emc-users@lists.sourceforge.net
Subject: RE: [Emc-users] Mesa 5i25 with "Generic" stepper board
Date: Thu, 23 Feb 2012 10:56:38 +0000
> I'm a bit shaky on how to configure this as I just started studying it last
> night, however it appears to me that if I created a "prob_rfx2.xml" file,
> that I could utilize
> pncconf to build my emc2 configuration.
>
> I have the prob_rfx2.pin file that describes all of the pins that the
> firmware defines.
>
>
> Am I on the right track here? Also are there any references or tips that
> anyone is aware of to help me along?
>
> I'm linux savvy and a programmer, so any work that could be reusable I'd
> like to share and provide for others that may follow down this path.
>
>
I took a look at the firmware you quoted.
Yes if you make an XML file PNCconf will help you configure it.
I'll try to find time to build one this weekend.
Chris M
<?xml version="1.0"?>
<hostmot2>
<boardname>5i25</boardname>
<ioports>2</ioports>
<iowidth>34</iowidth>
<portwidth>17</portwidth>
<clocklow>33333333</clocklow>
<clockhigh>200000000</clockhigh>
<modules>
<module>
<tagname>Watchdog</tagname>
<numinstances>1</numinstances>
</module>
<module>
<tagname>Encoder</tagname>
<numinstances>2</numinstances>
</module>
<module>
<tagname>StepGen</tagname>
<numinstances>8</numinstances>
</module>
<module>
<tagname>PWMGen</tagname>
<numinstances>2</numinstances>
</module>
<module>
<tagname>LED</tagname>
<numinstances>1</numinstances>
</module>
</modules>
<pins>
<pin>
<connector>P3</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>PWMGen</secondarymodulename>
<secondaryfunctionname>PWM/Up (out)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>PWMGen</secondarymodulename>
<secondaryfunctionname>Dir/Down (out)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>2</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>2</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>3</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>3</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Phase A (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Phase B (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P3</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Index (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>PWMGen</secondarymodulename>
<secondaryfunctionname>PWM/Up (out)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>4</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>4</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>PWMGen</secondarymodulename>
<secondaryfunctionname>Dir/Down (out)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>5</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>5</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>6</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>6</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Step (out)</secondaryfunctionname>
<secondaryinstance>7</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>StepGen</secondarymodulename>
<secondaryfunctionname>Dir (out)</secondaryfunctionname>
<secondaryinstance>7</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Phase A (in)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Phase B (in)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>Encoder</secondarymodulename>
<secondaryfunctionname>Index (in)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
</pins>
</hostmot2>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users