<?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>LPC MicrocontrollersのトピックRe: Some problems with DFU</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578883#M19904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jun 2016 01:11:08 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-19T01:11:08Z</dc:date>
    <item>
      <title>Some problems with DFU</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578881#M19902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Oxide on Mon May 16 02:21:13 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am writing an application for LPC4330 microcontroller, that will allow the user to update the firmware using USB DFU class. I wrote all of the code and I wanted to test it using dfu-util software. But when I try to do it few errors appear:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. When I list the USB devices, two elements with the same parameters (vendor id, device id, configuration and interface) appear. The situation changes when I make a breakpoint in the application, in place where interrupt process function is called. Then only one device appears on the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I cannot detach the device because I get error "No USB device is DFU capable". Even when only one device is listed by dfu-util.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. When only one device is listed I can start performing upload/download operation, but the application sends me an error, that interface cannot be claimed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be a reason of these problems? Could it be connected with LPC4330 feature allowing user to flash the programme to the memory using dfu?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578881#M19902</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Some problems with DFU</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578882#M19903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Mon May 23 04:37:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If I boot an LPC4330 in USB0 bootmode I get the following output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Found Runtime: [1fc9:000c] devnum=0, cfg=1, intf=0, alt=0, name="DFU"&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can also detach it with dfu-util -e:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Opening DFU capable USB device... ID 1fc9:000c&lt;BR /&gt;Run-time device DFU version 0100&lt;BR /&gt;Claiming USB DFU Runtime Interface...&lt;BR /&gt;Determining device status: state = dfuIDLE, status = 0&lt;BR /&gt;WARNING: Runtime device already in DFU state ?!?&lt;BR /&gt;Found Runtime: [1fc9:000c] devnum=0, cfg=1, intf=0, alt=0, name="DFU"&lt;BR /&gt;Claiming USB DFU Interface...&lt;BR /&gt;Setting Alternate Setting #0 ...&lt;BR /&gt;Determining device status: state = dfuIDLE, status = 0&lt;BR /&gt;dfuIDLE, continuing&lt;BR /&gt;DFU mode device DFU version 0100&lt;BR /&gt;Device returned transfer size 2048&lt;BR /&gt;Unsupported mode: 3&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not clear to me what you try to achieve: use the internal DFU boot mode to make a firmware upgrade or use your own code to perform this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the internal DFU boot mode we have running examples on the PC side, like the LPCScrypt utility. This requires to have user control over the bootmode pin P2_8 (e.g. a button).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to jump from your own application code into the internal DFU ROM code, then things get a little bit more complicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please go through the following thread for more details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/forum/lpc1857-jump-usbdfu-bootloader-application"&gt;https://www.lpcware.com/content/forum/lpc1857-jump-usbdfu-bootloader-application&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578882#M19903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Some problems with DFU</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578883#M19904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Some-problems-with-DFU/m-p/578883#M19904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:11:08Z</dc:date>
    </item>
  </channel>
</rss>

