<?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 Re: Device Firmware Update (DFU) over USB on LPC4353 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769010#M30931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made some progress: I've been able to associate the lpc-composite89-dfu.inf that was installed with LPCScrypt with my device. When I run my DFU code on my micro, it comes up as HID and as "LPC DFU device" in Windows' device manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done the following to try to reprogram my micro over USB:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt;"&gt;image_manager.exe -i pad2.bin -o pad2.bin.hdr&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt;"&gt;dfu-util.exe -D pad2.bin.hdr&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;The output from the later is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copyright 2010-2012 Tormod Volden and Stefan Schmidt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;&lt;SPAN&gt;Please report bugs to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dfu-util@lists.gnumonks.org"&gt;dfu-util@lists.gnumonks.org&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Opening DFU capable USB device... ID 1fc9:0089&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Run-time device DFU version 0100&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Found DFU: [1fc9:0089] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Claiming USB DFU Interface...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Setting Alternate Setting #0 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Determining device status: state = dfuIDLE, status = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;dfuIDLE, continuing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;DFU mode device DFU version 0100&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Device returned transfer size 2048&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;No valid DFU suffix signature&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Warning: File has no DFU suffix&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;bytes_per_hash=645&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copying data from PC to DFU device&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Starting download: [##################################################] finished!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;state(2) = dfuIDLE, status(0) = No error condition is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Done!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt; If I power cycle my micro, the downloaded program doesn't appear to run. My bin file was output by IAR. I'd setup the vector table to start at 0x1A000000. Based on this, I tried the following to set the base address to 0x1A000000:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;dfu-util.exe -d 1fc9:0089 -a 0 -s 0x1A000000 -D pad2.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;But this doesn't download anything. What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Thanks in advance for your input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Alan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2018 11:11:34 GMT</pubDate>
    <dc:creator>adb</dc:creator>
    <dc:date>2018-04-10T11:11:34Z</dc:date>
    <item>
      <title>Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769007#M30928</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 would like to be able to program my microcontroller (LPC4353) over USB. For this, I have found the USBDEV_ROM project on IAR's information centre. The project includes code for a composite device (HID, DFU and mass storage). When I run the program, it enumerates OK (appears in Windows 7 device manager in HID category) and a 32 kB mass storage device appears in Windows explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially in the "Other devices" category in device manager, a DFU device appears with an exclamation mark. I have downloaded AN4370SW, which contains a DFU_winusb_driver. The folder contains a DFU_Device.inf and DFU_Device_Runtime.inf. In device manager, I'm able to manually direct windows to use one of these inf files. If I do this, a "DFU device" category appears in the device manager along with a "Device firmware upgrade". Am I using the correct drivers? Have I followed the correct steps so far?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check that the embedded code is doing what I think it should be doing, I would like to download a bin file over USB. What is the correct procedure for this? I've seen a number of programs mentioned on the NXP website: LPCscrypt, DFU_demo (comes with AN4370SW), dfu-util from sourceforge and LPCExpresso. None of these work for me. I've included the output from dfu-util at the bottom of this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is an up to date tutorial or app note available for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for pointing me in the right direction,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\ ...\Downloads\dfu-util-0.9-win64\dfu-util-0.9-win64&amp;gt;dfu-util -R -D pad2.bin&lt;BR /&gt;dfu-util 0.9&lt;/P&gt;&lt;P&gt;Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.&lt;BR /&gt;Copyright 2010-2016 Tormod Volden and Stefan Schmidt&lt;BR /&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;BR /&gt;Please report bugs to &lt;A href="http://sourceforge.net/p/dfu-util/tickets/"&gt;http://sourceforge.net/p/dfu-util/tickets/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Invalid DFU suffix signature&lt;BR /&gt;A valid DFU suffix will be required in a future dfu-util release!!!&lt;BR /&gt;Opening DFU capable USB device...&lt;BR /&gt;ID 1fc9:0114&lt;BR /&gt;Run-time device DFU version 0100&lt;BR /&gt;Claiming USB DFU Runtime Interface...&lt;BR /&gt;Cannot claim interface 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 09:38:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769007#M30928</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-05T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769008#M30929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="312896" data-username="adb" href="https://community.nxp.com/people/adb" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 12px;"&gt;Alan Ball&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;To provide the fastest possible support, I'd highly recommend you to refer to the post:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/469249"&gt;&lt;SPAN style="background-color: #ffffff; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/thread/469249" target="test_blank"&gt;https://community.nxp.com/thread/469249&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt; for details.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;I think it can help you out.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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>Mon, 09 Apr 2018 09:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769008#M30929</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-04-09T09:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769009#M30930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769009#M30930</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-09T09:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769010#M30931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made some progress: I've been able to associate the lpc-composite89-dfu.inf that was installed with LPCScrypt with my device. When I run my DFU code on my micro, it comes up as HID and as "LPC DFU device" in Windows' device manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done the following to try to reprogram my micro over USB:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt;"&gt;image_manager.exe -i pad2.bin -o pad2.bin.hdr&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt;"&gt;dfu-util.exe -D pad2.bin.hdr&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;The output from the later is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copyright 2010-2012 Tormod Volden and Stefan Schmidt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;&lt;SPAN&gt;Please report bugs to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dfu-util@lists.gnumonks.org"&gt;dfu-util@lists.gnumonks.org&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Opening DFU capable USB device... ID 1fc9:0089&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Run-time device DFU version 0100&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Found DFU: [1fc9:0089] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Claiming USB DFU Interface...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Setting Alternate Setting #0 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Determining device status: state = dfuIDLE, status = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;dfuIDLE, continuing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;DFU mode device DFU version 0100&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Device returned transfer size 2048&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;No valid DFU suffix signature&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Warning: File has no DFU suffix&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;bytes_per_hash=645&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Copying data from PC to DFU device&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Starting download: [##################################################] finished!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;state(2) = dfuIDLE, status(0) = No error condition is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: 'Courier New';"&gt;Done!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt; If I power cycle my micro, the downloaded program doesn't appear to run. My bin file was output by IAR. I'd setup the vector table to start at 0x1A000000. Based on this, I tried the following to set the base address to 0x1A000000:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;dfu-util.exe -d 1fc9:0089 -a 0 -s 0x1A000000 -D pad2.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;But this doesn't download anything. What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Thanks in advance for your input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Alan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769010#M30931</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-10T11:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769011#M30932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't download to a flash address, you can only download to a RAM address. For flash you need to to perform a programming, DFU doesn't include any flash programming algorithm.&lt;/P&gt;&lt;P&gt;The standard approach for DFU is that you download a secondary loader into internal RAM, this starts running and manages then the download and programming of the firmware into internal (or external) flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769011#M30932</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-04-10T11:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769012#M30933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for getting back to me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the embedded dfu example doesn't reprogram the flash, that explains a few things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Would an example program/app note that does what you suggested be available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Xperia™ smartphone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769012#M30933</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-10T12:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769013#M30934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is also this utility:&amp;nbsp; DFUSec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-330801"&gt;USB FLASH download, programming, and security tool (DFUSec)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-330846"&gt;https://community.nxp.com/docs/DOC-330846&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the concept it is between the dfu-util and the LPCScrypt. Maybe it fulfills your needs.&lt;/P&gt;&lt;P&gt;But I didn't find source code for the "secondayr loader"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769013#M30934</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-04-10T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769014#M30935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Please following the below steps to program BankA section in internal flash, and my testing board is MCB4357.&lt;/P&gt;&lt;P&gt;1. Boot from the USB0 or USB1.&lt;/P&gt;&lt;P&gt;2. Click [Boot LPCScrypt]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5413i04BB9FD06839081E/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5371i1CF59486BFC2D035/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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>Wed, 11 Apr 2018 06:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769014#M30935</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-04-11T06:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769015#M30936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard and Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I've been able to program the Keil MCB4300 over USB using DFUSec and LPCScrypt (I hadn't set the P2_9, P1_2, P2_8 and P1_1 boot source bits).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I can't readily access P1_2 on my application board (would need respin).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I understand correctly, it is possible to reflash the microcontroller by making it go into Boot ROM (which I've just done) OR by writing a custom Bootloader with USB-DFU (usbd_rom_dfu_composite) [not working yet] ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When my device will be in the field, I'd don't want the reprogramming capability over USB to be exposed. I was considering writing a PC application (HID) that would send a command to the microcontroller to put into reprogramming mode. What's the best way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769015#M30936</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-11T11:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769016#M30937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If P1_2 cannot be put on LOW level, then you can't get into USART0/USART3/USB0 bootmode.&lt;/P&gt;&lt;P&gt;But booting on USB1 would be possible.&lt;/P&gt;&lt;P&gt;Another option to program the flash in the development phase is the JTAG port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your application you can establish whatever you like for a firmware upgrade. To protect against unauthorized access you could use the Code Read Protection (CRP) mechanism.&lt;/P&gt;&lt;P&gt;Writing a waterproof firmware upgrade mechanism is a job on its own, especially when you use a more complicated i/O block like the USB or Ethernet for getting the new firmware over. I don't have any mature example project for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 10:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769016#M30937</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-04-12T10:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769017#M30938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During development I normally flash my microcontroller using JTAG. I'm wanting to be able to reprogram my microcontroller in the field using USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the short term, I could probably get around my P1_2 accessibility issue by setting the BOOT_SRC bits in the OTP register. I would also need to solder a wire onto P2_7 so that I could put the micro into ISP mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the long term,&amp;nbsp;would a bootloader made up of the usbd_rom_dfu_composite and periph_flashiap example work? This should make the micro enumerate as HID and DFU. Once the code is downloaded to RAM I could then write it to flash. What do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769017#M30938</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-12T13:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769018#M30939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="312896" data-username="adb" href="https://community.nxp.com/people/adb" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;adb&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The DFU and HID class both are able to transfer data&amp;nbsp;to PC, as well as&amp;nbsp;receive data from PC.&lt;/P&gt;&lt;P&gt;So I don't understand why you want to make a composite USB consist of HID and DFU class, as in my opinion, it&amp;nbsp;would be more complicated to make it.&lt;/P&gt;&lt;P&gt;And Likes&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Bernhard, &lt;SPAN&gt;I don't have any mature example project for this implementation either.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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>Fri, 13 Apr 2018 02:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769018#M30939</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-04-13T02:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769019#M30940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&amp;nbsp; you mentioned before the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When my device will be in the field, I'd don't want the reprogramming capability over USB to be exposed. I was considering writing a PC application (HID) that would send a command to the microcontroller to put into reprogramming mode. What's the best way to achieve this?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This means you have closed the standard mechanisms which are in the chip by default (the ISP mode)&lt;/LI&gt;&lt;LI&gt;Therefore you need to develop your own In-System-Programming mode&lt;/LI&gt;&lt;LI&gt;If you do this from the application, this functionality is just part of the normal firmware binary. Then you need to find a good way to make the update waterproof&lt;/LI&gt;&lt;LI&gt;If you want to go into a reprogramming mode after startup, for example by pressing a specific key combination at power-up, then it's better to establish a seperate bootloader firmware. Then you could lock this bootloader firmware somehow, so that the product is always able to come up at least in reprogramming mode if something went wrong with a firmware programming cycle.&lt;/LI&gt;&lt;LI&gt;Of course this approach with the standalone bootloader is also possible when you trigger the firmware update out of the application, for example selecting it from a display menu. Then you go out of the application binary, jump into the bootloader binary and manage things from there until the update was successful.&lt;/LI&gt;&lt;LI&gt;You can use the integrated USB ROM features for this, if you think that they give you the right functionality&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 08:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769019#M30940</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-04-13T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769020#M30941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy and Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Chip_IAP_ReinvokeISP invokes the Bootloader ISP. Does this just allow ISP over UART? Can this be overwritten by the OTP boot src bits OR (P2_9, P2_8, P1_2 and P1_2)? Is there a function available for making the micro jump to USB0 ISP? If this was to work, no additionnal code would be required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the above can't be done, I would need to implement IAP in my Bootloader by downloading my bin file to RAM and then copy it to flash. Since my Bootloader code would always need to be available, it would be running from flash in say Bank A. With this arrangement, would it be possible to read the code in RAM and copy it to Bank B (using flash IAP driver) and then reboot to run my application from bank B? Or does the code that is doing the copying need to run from RAM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 13:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769020#M30941</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-13T13:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769021#M30942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Bernhard Fink&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Alan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I think &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Bernhard&amp;nbsp;&lt;/SPAN&gt;has already listed&amp;nbsp;the suggestions to achieve your&amp;nbsp;goal.&lt;/P&gt;&lt;P&gt;About your new questions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #51626f;"&gt;With this arrangement, would it be possible to read the code in RAM and copy it to Bank B (using flash IAP driver) and then reboot to run my application from bank B?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;-- Definitely, It's available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;TIC&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&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;P&gt;&lt;EM style="background-color: #ffffff; color: #51626f;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 02:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769021#M30942</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-04-16T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769022#M30943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy and Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comments. I think I've got a good understanding of what I need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 07:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769022#M30943</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-16T07:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769023#M30944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have started working on my program. My bootloader program is based around the USBDEV_ROM&amp;nbsp;example from LPCOpen using the default icf linker configuration file. So with these default settings my program should be running from flash bankA. I then use the dfu-util.exe program to download my bin file to the micro. Does my bin file need a header (with prefix/suffix)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the DFU download complete flag is set, I can view the correct code in RAM in my debugger (Memory 1 at 0x20004000 onwards). I then erase the entire bankB before copying the contents of the RAM in 4096 byte blocks to&amp;nbsp;bankB (modified version of flashiap example).&amp;nbsp;In each case the return code is 0.&amp;nbsp;I then compute the signature and finally I set the bootflashbank to bank B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the last 2 steps necessary or would the bootflashbank be sufficient? The userguide says something about it also computing a signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately whenever I power cycle my micro, it doesn't appear to be running the new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769023#M30944</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-16T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769024#M30945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I remember correctly, the ReinvokeISP with the LPC1800/4300 is a little bit tricky, in case you can't modify the physical boot pins in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you have foreseen a physical switch or a key in your product for one of these boot pins, then everybody can simply go into the ISP mode (UART or USB, depending on the pin configuration). This is not what you want.&lt;/LI&gt;&lt;LI&gt;With hardcoded boot pin settings (either fixed on the PCB or with the OTP bits) you have the same problem.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worked out a procedure a few years ago for this, I need to check where it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the bank-A/bank-B image flash signature see the User Manual Rev 2.3. in chapter 5.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 16:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769024#M30945</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-04-16T16:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769025#M30946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be interesting to see your ReinvokeISP procedure from USB0. I tried to do it on the MCB4300 evaluation board, but it didn't work, despite boot pins being set.&amp;nbsp; I thought it could only be done&amp;nbsp;with the UART? Can you confirm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been able to download a program into RAM and copy the contents of the RAM into the flash BankB.&amp;nbsp;If I powercycle my microcontroller the downloaded program runs :-). I had a number of issues with my code and linker settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPC4353's flash banks are both 256kB and the RAM is up to 136 kB, which means that I won't be able to buffer a bigger program in RAM, which probably means that I would need to split the binary file. What's the best way to do this, use srec_cat&amp;nbsp;(&lt;A href="http://srecord.sourceforge.net/"&gt;http://srecord.sourceforge.net/&lt;/A&gt;)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/769025#M30946</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2018-04-18T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Device Firmware Update (DFU) over USB on LPC4353</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/1423421#M48119</link>
      <description>&lt;P&gt;I am using LPC540xx on a custom board with USB0 dfu configuration. I was able to find the dfu and program successfully but I don't see my device in device manager under "Human Interface Device" as "HID complaint".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe that's why I can't use blhost and I get this error,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Boot\blhost_2.6.7\blhost_2.6.7\bin\win&amp;gt;blhost -u 0x1FC9,0x00A2 -- get-property 12&lt;BR /&gt;Inject command 'get-property'&lt;BR /&gt;usbhid: received unexpected report=0&lt;BR /&gt;sendCommandGetResponse.readPacket error 1.&lt;BR /&gt;Response status = 10004 (0x2714) No response packet from target device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please tell me, are we suppose to the HID device in device manager as soon as we are done with programming via DFU_util?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 19:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Device-Firmware-Update-DFU-over-USB-on-LPC4353/m-p/1423421#M48119</guid>
      <dc:creator>NVazquez</dc:creator>
      <dc:date>2022-03-04T19:28:36Z</dc:date>
    </item>
  </channel>
</rss>

