<?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: sb_loader.exe -exec Not Working?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541710#M85394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, &lt;/P&gt;&lt;P&gt; Thanks for clearing that up.&amp;nbsp; It turns out, that "old version" that I was using was actually this v1.2 that came from Boundary Devices (verified by looking at a hash of the file).&amp;nbsp; And that version of sb_loader.exe doesn't work with the i.MX6 SoloX which is why I went searching for a "newer" version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you say, NXP doesn't officially support it for the i.MX6 but apparently they do put work into sb_loader related to the i.MX6.&amp;nbsp; I can see from experimentation that support for the SoloX was added between mfgtools-3.14.28 and 3.14.52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it looks like Boundary Devices supplies the source.&amp;nbsp; Can NXP supply the source for the mfgtools version so I can merge the two?&amp;nbsp;&amp;nbsp; That would make life easier for me because I already have a production process in place with a Dual Lite and now that I'm using a SoloX my process is broken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 16:57:38 GMT</pubDate>
    <dc:creator>davidzielinski</dc:creator>
    <dc:date>2016-07-27T16:57:38Z</dc:date>
    <item>
      <title>sb_loader.exe -exec Not Working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541708#M85392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello i.MX6 folks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; My question is regarding the sb_loader.exe tool that comes with the mfgtools package and an issue with the -exec option.&amp;nbsp; It shouldn't matter but I am running on an i.MX6 Dual Lite (DL).&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Awhile back I downloaded a sb_loader.exe that allowed me to run the following successfully:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;sb_loader.exe -nojump -f u-boot.imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;sb_loader.exe -trans 0x12000000 -f u-boot.imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;sb_loader.exe -exec 0x17800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This does the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp; transfers a u-boot image to an i.MX6 getting the image in DDR where the IVT says it shall go and setting DCD register values in the process (but does not start executing the image).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp; transfers another copy of u-boot.imx to DDR&amp;nbsp;&amp;nbsp; @ 0x12000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp; Executes the image transferred in Step 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With more recent versions of sb_loader.exe, when we get to line 3, sb_loader.exe dumps the usage rather than actually doing what it's told:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;gt;sb_loader.exe -exec 0x17800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Usage: sb_loader.exe [/f &amp;lt;filename&amp;gt;] [/tss] [/? | /h]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -f or /f &amp;lt;filename&amp;gt; - where &amp;lt;filename&amp;gt; is the file to download. Default:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt; "firmware.sb"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -tss or /tss - captures and prints the TSS output after the file is down&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;loaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -h or /h - displays this screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -nojump - Load but don't execute the image in which plugin is contained&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;to RAM. Only available for mx50.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -trans - Load the image to RAM, the target address must be followed. Onl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;y available for mx50.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -exec - Execute the image, the execution address must be followed. Only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;available for mx50.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -init - initialize RAM by using the settings defined in memoryinit.h. On&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;ly available for mx50.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; below instance download and run an image:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb_loader -f uboot.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically this -exec step doesn't seem to work any longer.&amp;nbsp; The "usage" is printed from the program as if it doesn't recognize the -exec option any more.&amp;nbsp; This happens &lt;/SPAN&gt;on all versions of sb_loader.exe from recent history. In fact I cannot find an old enough version to where it actually does work.&amp;nbsp;&amp;nbsp; Furthermore I can't just work around this by running Step 1, then 2, then 1 again because it says "Failed to initialize memory!".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would continue to just use the old version I have however I'm using newer i.MX6's and I need a version that supports those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting my sb_loader.exe from the mfgtools download from the "IMX6_SW: i.MX 6 Series Software and Development Tool Resources" page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6-series-software-and-development-tool-resources:IMX6_SW"&gt;http://www.nxp.com/products/software-and-tools/software-devasdfelopment-tools/i.mx-software-and-tools/i.mx-6-series-software-and-development-tool-resources:IMX6_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I wish this program was open source so I could take matters into my own hands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 22:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541708#M85392</guid>
      <dc:creator>davidzielinski</dc:creator>
      <dc:date>2016-07-26T22:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: sb_loader.exe -exec Not Working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541709#M85393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;version sb_loader found in Utils folder of mfg tools is for mx23/28/508,&lt;/P&gt;&lt;P&gt;nxp does not support it for i.MX6. However it can be found in boundary devices&lt;/P&gt;&lt;P&gt;&lt;A href="https://boundarydevices.com/eula/?file=sb_loader.zip" title="https://boundarydevices.com/eula/?file=sb_loader.zip"&gt;https://boundarydevices.com/eula/?file=sb_loader.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://boundarydevices.com/windows-users-and-unbricking-an-i-mx-device/" title="https://boundarydevices.com/windows-users-and-unbricking-an-i-mx-device/"&gt;https://boundarydevices.com/windows-users-and-unbricking-an-i-mx-device/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 00:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541709#M85393</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-27T00:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: sb_loader.exe -exec Not Working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541710#M85394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, &lt;/P&gt;&lt;P&gt; Thanks for clearing that up.&amp;nbsp; It turns out, that "old version" that I was using was actually this v1.2 that came from Boundary Devices (verified by looking at a hash of the file).&amp;nbsp; And that version of sb_loader.exe doesn't work with the i.MX6 SoloX which is why I went searching for a "newer" version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you say, NXP doesn't officially support it for the i.MX6 but apparently they do put work into sb_loader related to the i.MX6.&amp;nbsp; I can see from experimentation that support for the SoloX was added between mfgtools-3.14.28 and 3.14.52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it looks like Boundary Devices supplies the source.&amp;nbsp; Can NXP supply the source for the mfgtools version so I can merge the two?&amp;nbsp;&amp;nbsp; That would make life easier for me because I already have a production process in place with a Dual Lite and now that I'm using a SoloX my process is broken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 16:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sb-loader-exe-exec-Not-Working/m-p/541710#M85394</guid>
      <dc:creator>davidzielinski</dc:creator>
      <dc:date>2016-07-27T16:57:38Z</dc:date>
    </item>
  </channel>
</rss>

