<?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>topic MfgTool2 read command in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674102#M103889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Manufacturing Tool V2 UCL User Guide mentions a "read" command in section 2.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is intended to copy a file back to the host. The documentation is not clear on the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jun 2017 10:54:48 GMT</pubDate>
    <dc:creator>algernonarbuthn</dc:creator>
    <dc:date>2017-06-03T10:54:48Z</dc:date>
    <item>
      <title>MfgTool2 read command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674102#M103889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Manufacturing Tool V2 UCL User Guide mentions a "read" command in section 2.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is intended to copy a file back to the host. The documentation is not clear on the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 10:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674102#M103889</guid>
      <dc:creator>algernonarbuthn</dc:creator>
      <dc:date>2017-06-03T10:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool2 read command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674103#M103890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out after wading through the MfgTool source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not mentioned in the documentation, but you need to provide a "savedfile" attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the XML looks something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CMD state=Updater type=push body="read &lt;STRONG&gt;&amp;lt;target file spec&amp;gt;"&lt;/STRONG&gt; savedfile="&lt;STRONG&gt;&amp;lt;host file spec&amp;gt;&lt;/STRONG&gt;"&amp;gt;&lt;STRONG&gt;&amp;lt;text&amp;gt;&lt;/STRONG&gt;&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's an issue with this. The &lt;EM&gt;savedfile&lt;/EM&gt; attribute values are not passed through the same mapping function as &lt;EM&gt;file&lt;/EM&gt; values. This means that the saved file path is relative to the current directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also noticed some decidedly weird stuff with the XML parser. If a &amp;lt;CMD&amp;gt; is split over multiple lines, this sometimes causes commands to be skipped or issued twice. NXP should probably be using a decent XML parser, rather than something found on CodeProject.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 14:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674103#M103890</guid>
      <dc:creator>algernonarbuthn</dc:creator>
      <dc:date>2017-06-03T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool2 read command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674104#M103891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you comments Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will comment you inputs to applications team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 17:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool2-read-command/m-p/674104#M103891</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-06-05T17:21:12Z</dc:date>
    </item>
  </channel>
</rss>

