<?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のトピックMfgTool Error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210866#M12658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into an error when attempting to run the manufacturing tool on my laptop.&amp;nbsp; The dialog box that appears indicates that there is a runtime error in the Microsoft Visual C++ Runtime Library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error appears regardless of what version of the manufacturing tool I am using.&amp;nbsp; I have tried running version 1.6.2.032 and version 1.6.2.042.&amp;nbsp; I initially tried uninstalling and reinstalling the Microsoft Visual C++ 2008 Redistributable (Runtime Libraries) but the error still appears.&amp;nbsp; I then downloaded the source files for MfgTool version 1.6.2.048.&amp;nbsp; Initially I was having the same problem as above when running the tool in Debug.&amp;nbsp; I was able to make a change so that now the program loads, but when I select the Options menu and the Configuration… menu item and the MfgTool-Configuration window appears I select the USB Ports tab.&amp;nbsp;&amp;nbsp; An unhandled exception then occurs indicating exception at 0x76ee15de in MfgTool.exe:0xC0000005: Access violation reading location 0x00000024.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have traced the issue down to the following code in the UsbController.cpp file that makes a call to DeviceIoControl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;success&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = DeviceIoControl(hController, IOCTL_USB_GET_ROOT_HUB_NAME,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;unicodeName, &lt;SPAN style="color: blue;"&gt;sizeof&lt;/SPAN&gt;(unicodeName), &amp;amp;unicodeName,&lt;BR /&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sizeof&lt;/SPAN&gt;(unicodeName), &amp;amp;bytesReturned, NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first three times that this function is called it seems to work fine, and the unicodeName structure contains what appear to be valid values.&amp;nbsp; A value of 1 is also returned, but the fourth time this is called DeviceIoControl returns a value of 0, and the unicodeName structure appears to contain garbage.&amp;nbsp; A&lt;BR /&gt;call to GetLastError returns a value of 1.&amp;nbsp; According to Windows system error code documentation an error code of 1 is ERROR_INVALID_FUNCTION.&amp;nbsp; From my understanding this is due to using a CTL_CODE that is not supported in the driver.&amp;nbsp; The description of the driver being called is: USB-IF xHCI USB Host Controller.&amp;nbsp; I don’t see this as an installed device driver on my laptop when looking at device manager.&amp;nbsp; The laptop I have is a DELL Latitude E6530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this problem before?&amp;nbsp; The manufacturing tool works on all of the other laptops here in the building, but I am the only&lt;BR /&gt;one I know of with a latptop this new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 1in; text-indent: -1in;"&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 1in; text-indent: -1in;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2012 17:03:37 GMT</pubDate>
    <dc:creator>gage08</dc:creator>
    <dc:date>2012-12-17T17:03:37Z</dc:date>
    <item>
      <title>MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210866#M12658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into an error when attempting to run the manufacturing tool on my laptop.&amp;nbsp; The dialog box that appears indicates that there is a runtime error in the Microsoft Visual C++ Runtime Library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error appears regardless of what version of the manufacturing tool I am using.&amp;nbsp; I have tried running version 1.6.2.032 and version 1.6.2.042.&amp;nbsp; I initially tried uninstalling and reinstalling the Microsoft Visual C++ 2008 Redistributable (Runtime Libraries) but the error still appears.&amp;nbsp; I then downloaded the source files for MfgTool version 1.6.2.048.&amp;nbsp; Initially I was having the same problem as above when running the tool in Debug.&amp;nbsp; I was able to make a change so that now the program loads, but when I select the Options menu and the Configuration… menu item and the MfgTool-Configuration window appears I select the USB Ports tab.&amp;nbsp;&amp;nbsp; An unhandled exception then occurs indicating exception at 0x76ee15de in MfgTool.exe:0xC0000005: Access violation reading location 0x00000024.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have traced the issue down to the following code in the UsbController.cpp file that makes a call to DeviceIoControl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;success&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = DeviceIoControl(hController, IOCTL_USB_GET_ROOT_HUB_NAME,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;unicodeName, &lt;SPAN style="color: blue;"&gt;sizeof&lt;/SPAN&gt;(unicodeName), &amp;amp;unicodeName,&lt;BR /&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sizeof&lt;/SPAN&gt;(unicodeName), &amp;amp;bytesReturned, NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first three times that this function is called it seems to work fine, and the unicodeName structure contains what appear to be valid values.&amp;nbsp; A value of 1 is also returned, but the fourth time this is called DeviceIoControl returns a value of 0, and the unicodeName structure appears to contain garbage.&amp;nbsp; A&lt;BR /&gt;call to GetLastError returns a value of 1.&amp;nbsp; According to Windows system error code documentation an error code of 1 is ERROR_INVALID_FUNCTION.&amp;nbsp; From my understanding this is due to using a CTL_CODE that is not supported in the driver.&amp;nbsp; The description of the driver being called is: USB-IF xHCI USB Host Controller.&amp;nbsp; I don’t see this as an installed device driver on my laptop when looking at device manager.&amp;nbsp; The laptop I have is a DELL Latitude E6530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this problem before?&amp;nbsp; The manufacturing tool works on all of the other laptops here in the building, but I am the only&lt;BR /&gt;one I know of with a latptop this new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 1in; text-indent: -1in;"&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 1in; text-indent: -1in;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 17:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210866#M12658</guid>
      <dc:creator>gage08</dc:creator>
      <dc:date>2012-12-17T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210867#M12659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Verdana','sans-serif';"&gt;Please try to disable all USB3 ports on the host computer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 06:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210867#M12659</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-12-18T06:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210868#M12660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion.&amp;nbsp; It did not completely fix the problem.&amp;nbsp; Apparently there is some kind of controller device driver on my new laptop called "USB-IF xHCI USB Host Controller".&amp;nbsp; Even if I disable all USB device drivers on my laptop this controller driver is still running.&amp;nbsp; I added code to the MfgTool to avoid enumerating this controller and everything is now working after disabling all of the USB 3.0 device drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 20:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210868#M12660</guid>
      <dc:creator>gage08</dc:creator>
      <dc:date>2012-12-18T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210869#M12661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try running &lt;A href="http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary" title="http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary"&gt;git.bfuser.eu Git - marex/mxsldr.git/summary&lt;/A&gt; if you're using Linux ;-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 01:15:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210869#M12661</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2012-12-19T01:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210870#M12662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, but we are using Windows Embedded Compact 7.&amp;nbsp; Do you have a similar link, like the one above, for Windows Embedded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 13:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210870#M12662</guid>
      <dc:creator>gage08</dc:creator>
      <dc:date>2012-12-19T13:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210871#M12663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a tool that's supposed to be run on the HOST machine. And as much as I'd love to help you, the answer is no -- to some extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool is written using libusb-1.0 in pure C and that's about it. And you can simply install libusb on windows, no problem. Then just recompile the tool and you can use it (I believe).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 19:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210871#M12663</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2012-12-19T19:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: MfgTool Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210872#M12664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am having the same visual C++ runtime error with my machine (dell E6530) running both 11.11.00 and 12.05.00 on windows 7 Pro. simply disabling the USB3.0 drivers did nothing to change my problem. i have tried to update my machine's BIOS, but that was also unsuccessful. any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MfgTool-Error/m-p/210872#M12664</guid>
      <dc:creator>robbzimmerman</dc:creator>
      <dc:date>2013-04-18T13:35:44Z</dc:date>
    </item>
  </channel>
</rss>

