<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Controlling I.MX6 GPIO pins using MFG Tool</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739607#M115086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there is no way for mfg tool to know that command failed.&lt;/P&gt;&lt;P&gt;In general customer can customize tool according to needs using sources:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fcodeauroraforum%2Fmfgtools" rel="nofollow" target="_blank"&gt;https://github.com/codeauroraforum/mfgtools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2018 03:00:04 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-05-18T03:00:04Z</dc:date>
    <item>
      <title>Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739604#M115083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My customer wants to control LEDs on their board using the MFG Tool to indicate the status of the firmware image download process.&amp;nbsp; &amp;nbsp;Is it possible to control GPIO pins from the UCL2.xml file during the installation of the image?&amp;nbsp; &amp;nbsp;Here is what they want to do:&lt;BR /&gt;****&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Here are the pins we need to control during the use of the MFG Tool&lt;BR /&gt; &lt;STRONG&gt;IMX6UL Products&lt;/STRONG&gt;&lt;BR /&gt; MX6UL_PAD_GPIO1_IO09__GPIO1_IO09&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;MX6UL_PAD_JTAG_TDI__GPIO1_IO13&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 12.0pt;"&gt;IMX6ULL Products&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;MX6UL_PAD_LCD_DATA01__GPIO3_IO06&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;MX6UL_PAD_JTAG_TDI__GPIO1_IO13&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;&lt;BR /&gt; We want to be able to control these pins from the ucl2.xml file during the installation of the image.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Yellow - installing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Green - Finished&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Red - Error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;******&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 23:33:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739604#M115083</guid>
      <dc:creator>chetkaufman</dc:creator>
      <dc:date>2018-05-09T23:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739605#M115084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since mfg tool is just small linux image, one can try to enable gpio sysfs&lt;/P&gt;&lt;P&gt;as in ordinary linux, for example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.toradex.com/knowledge-base/gpio-%28linux%29" title="https://developer.toradex.com/knowledge-base/gpio-%28linux%29"&gt;GPIO (Linux)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and use echo command as in example from ucl2.xml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ echo Update Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 07:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739605#M115084</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-10T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739606#M115085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor!&amp;nbsp; The customer has one more question, can you answer it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Hello Chet,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Thanks for getting me the information quickly. I greatly appreciate it.&amp;nbsp;It looks like one of the three options should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;The only thing I don't understand is how do I know when the MFG Tool has failed. Using the mfgtool it appears that once a command fails a signal/message is sent back to the MFG Tool. The MFG Tool&amp;nbsp;aborts the process and turns the GUI status bar red. This would be the same signal/message I would need to monitor&amp;nbsp;in order to turn the LED red. What signal/message would I need to monitor in order to know when a command failed and I&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;should illuminate&amp;nbsp;the red LED?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*****&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:35:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739606#M115085</guid>
      <dc:creator>chetkaufman</dc:creator>
      <dc:date>2018-05-14T16:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739607#M115086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there is no way for mfg tool to know that command failed.&lt;/P&gt;&lt;P&gt;In general customer can customize tool according to needs using sources:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fcodeauroraforum%2Fmfgtools" rel="nofollow" target="_blank"&gt;https://github.com/codeauroraforum/mfgtools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 03:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739607#M115086</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-18T03:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739608#M115087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The MFG Tool must know whether the programming passed or failed, because on the PC screen there is a status that turns green when the programming passed or red if the programming failed.&amp;nbsp; &amp;nbsp;The customer is asking what registers in the MFG Linux image on the i.MX6 need to be monitored to get this status at the board level as well?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 15:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739608#M115087</guid>
      <dc:creator>chetkaufman</dc:creator>
      <dc:date>2018-05-18T15:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739609#M115088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,&amp;nbsp; I understand that you want to turn on/off GPIO and get the notification on the Windows GUI, but&amp;nbsp; this need to be personalized the RED / GREEN it is not for commands it is for the flashing process, whish it is the objective of MFGTool. This is not control in the&amp;nbsp; XML file .&amp;nbsp; This need to be change/modified from the&amp;nbsp; Windows GUI side, you can download the code from the link that&amp;nbsp; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;‌.&amp;nbsp; In his last reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice weekend/holiday!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saludos,&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739609#M115088</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2018-05-18T17:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739610#M115089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try also something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;LIST name="SabreSD-SD" desc="USB SDP"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabresd_nopad.bin" &amp;gt;Loading image&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="jump" &amp;gt; Jumping to image. &amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt; &amp;lt;CMD state="Updater" type="push" body="$ echo Load Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt;&amp;nbsp; --- This is the important part.&amp;nbsp; the UPDATE Command provide the info that the IMAGE has been loaded.&amp;nbsp; Then you can echo GPIO sysfs.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/LIST&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details you can check:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/codeauroraforum/mfgtools/wiki/Manufacturing-Tool-V2-(MFGTool2)-Update-Command-List-(UCL)-User-Guide" title="https://github.com/codeauroraforum/mfgtools/wiki/Manufacturing-Tool-V2-(MFGTool2)-Update-Command-List-(UCL)-User-Guide"&gt;Manufacturing Tool V2 (MFGTool2) Update Command List (UCL) User Guide · codeauroraforum/mfgtools Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739610#M115089</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2018-05-18T17:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling I.MX6 GPIO pins using MFG Tool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739611#M115090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general this depends on what do you mean by "programming passed or failed" expression.&lt;/P&gt;&lt;P&gt;Right: "red if the programming failed" means linux command error -&lt;BR /&gt;(return code), however in case of gpio sysfs (if it was correctly enabled in image) it will&lt;BR /&gt;always return success. Also it does not verify or checks (read back) pin output value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2018 23:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-I-MX6-GPIO-pins-using-MFG-Tool/m-p/739611#M115090</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-20T23:03:34Z</dc:date>
    </item>
  </channel>
</rss>

