<?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: USB DFU on the LPCXpresso54018 eval board in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1485425#M49490</link>
    <description>&lt;P&gt;Thank you very much.&amp;nbsp; I just have one last question.&amp;nbsp; Is it possible to implement this flashloader/blhost method with a single USB port?&amp;nbsp; As long as the board/MCU stays powered throughout?&amp;nbsp; Or it will only work using both USB0 (for DFU) and USB1 (for blhost)?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 12:54:13 GMT</pubDate>
    <dc:creator>mitchkapa</dc:creator>
    <dc:date>2022-07-06T12:54:13Z</dc:date>
    <item>
      <title>USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1481919#M49374</link>
      <description>&lt;P&gt;Hello, I am trying to get USB DFU working using the LPCXpresso54018 evaluation board (in order to check out possible firmware update options for an upcoming custom board design) and I am having no success.&amp;nbsp; This output is I believe the closest I have come to connecting after powering the board with SW4 (ISP0) and SW2 (ISP2) pressed down:&lt;/P&gt;&lt;P&gt;C:\Dev\nxp\LPCScrypt\scripts&amp;gt;boot_lpcscrypt&lt;BR /&gt;Booting LPCScrypt target with "LPCScrypt_158.bin.hdr"&lt;BR /&gt;LPCScrypt target boot failed:&lt;BR /&gt;No DFU capable USB device found&lt;/P&gt;&lt;P&gt;Which is when I am connected to the J3 Full Speed USB port.&amp;nbsp; On the J2 High Speed port (after moving the jumper JP9) I can only ever get the message "Nothing to boot".&amp;nbsp; The same "Nothing to boot" message I get on either port if I power the board without having ISP0 and ISP2 LOW.&lt;/P&gt;&lt;P&gt;Any guidance is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 15:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1481919#M49374</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-06-29T15:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483181#M49411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;mitchkapa&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From my understanding, you want to update LPC54018 firmware from on chip USB DFU boot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, please follow the steps of this article&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC54XXX-How-To-Use-USB-Port-To-Update-Firmware-In-ISP-Mode/ta-p/1319714" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC54XXX-How-To-Use-USB-Port-To-Update-Firmware-In-ISP-Mode/ta-p/1319714&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.1 Use DFU for application upgrade&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 04:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483181#M49411</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-01T04:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483521#M49424</link>
      <description>&lt;P&gt;Thank you for your reply.&amp;nbsp; From that linked page I am attempting to do Method 1.&amp;nbsp; I have made more progress than I previously had but I am getting this error in my attempt.&amp;nbsp; Do you have information on what this error means?&lt;/P&gt;&lt;P&gt;C:\Dev\nxp\LPCScrypt\bin&amp;gt;dfu-util -l&lt;BR /&gt;dfu-util 0.7&lt;/P&gt;&lt;P&gt;Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.&lt;BR /&gt;Copyright 2010-2012 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 dfu-util@lists.gnumonks.org&lt;/P&gt;&lt;P&gt;Found DFU: [1fc9:001f] devnum=0, cfg=1, intf=0, alt=0, name="RAM"&lt;/P&gt;&lt;P&gt;C:\Dev\nxp\LPCScrypt\bin&amp;gt;dfu-util -D lpcxpresso54s018_lvgl_demo_widgets.bin -a 0&lt;BR /&gt;dfu-util 0.7&lt;/P&gt;&lt;P&gt;Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.&lt;BR /&gt;Copyright 2010-2012 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 dfu-util@lists.gnumonks.org&lt;/P&gt;&lt;P&gt;Opening DFU capable USB device... ID 1fc9:001f&lt;BR /&gt;Run-time device DFU version 0110&lt;BR /&gt;Found DFU: [1fc9:001f] devnum=0, cfg=1, intf=0, alt=0, name="RAM"&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 0110&lt;BR /&gt;Device returned transfer size 512&lt;BR /&gt;No valid DFU suffix signature&lt;BR /&gt;Warning: File has no DFU suffix&lt;BR /&gt;bytes_per_hash=5591&lt;BR /&gt;Copying data from PC to DFU device&lt;BR /&gt;Starting download: [###################################dfu_download: &lt;FONT color="#FF0000"&gt;libusb_control_transfer returned -7&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Error during download&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483521#M49424</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-07-01T15:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483709#M49431</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Can you please go to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://dfu-util.sourceforge.net/" target="_blank"&gt;http://dfu-util.sourceforge.net/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;to download the latest DFU tool&lt;/P&gt;
&lt;P&gt;DFU update application Steps:&lt;/P&gt;
&lt;P&gt;Take LPC54628 as an example, ISP is configured as DUF mode, and USB1 is used to upgrade the application.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Modify the relevant code in Figure 3, as follows:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;isp_mode[0] = 0xAA; isp_mode[1] = &lt;EM&gt;SL_USBHS&lt;/EM&gt;;&lt;/P&gt;
&lt;P&gt;Build and download the application to the MCU, power on again, and connect USB1 to the computer. Here&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enter the dfu-util tool directory and copy the .bin file to the current directory.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Use the command: ./dfu-util -l&amp;nbsp;&amp;nbsp; Find the DFU devices.&lt;/P&gt;
&lt;P&gt;Use the command: ./dfu-util -D .\lpcxpresso54628_gpio_led_output.bin -a 0&lt;/P&gt;
&lt;P&gt;Download the lpcxpresso54628_gpio_led_output.bin file to the device with alt number 0. Alt0 is "FLASH", alt1 is "RAM", and the specific operations are as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My test result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185387i3E60E0B162187652/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 01:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1483709#M49431</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-04T01:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484199#M49452</link>
      <description>&lt;P&gt;Please see the screenshot below.&amp;nbsp; With the latest version of dfu-util I have output that looks more like yours. But I still have errors.&amp;nbsp; I have highlighted in the image where things appear to diverge between your output and mine.&amp;nbsp; Do you have an LPCXpresso54018 eval board where you can attempt this procedure?&amp;nbsp; I would like to make sure that my different processor is not the cause of the problem.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you also step through the procedure for making the proper binary file for usage with DFU?&amp;nbsp; How dfu-prefix and dfu-suffix should be used?&amp;nbsp; And my initial binary I am creating from a .axf file using the IDE Binary Utilities tools.&amp;nbsp; Is that the correct procedure?&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dfu-util_output.png" style="width: 808px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185502i7553F63CE544C773/image-size/large?v=v2&amp;amp;px=999" role="button" title="dfu-util_output.png" alt="dfu-util_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 19:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484199#M49452</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-07-04T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484291#M49453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I test it with LPCXpresso54S018 board, there is no issue&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_1-1656989537824.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185516i2C998662E0D1BEFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_1-1656989537824.png" alt="ZhangJennie_1-1656989537824.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note, as LPC54(s)018 doesn't have on chip flash, DFU can only download it to SRAM&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_2-1656989711782.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185517i820EB5B9AC6FC4E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_2-1656989711782.png" alt="ZhangJennie_2-1656989711782.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 02:55:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484291#M49453</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-05T02:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484303#M49455</link>
      <description>&lt;P&gt;Thank you very much for confirming the function on the LPC54018.&amp;nbsp; Can you let me know what steps (if any) need to be taken to prepare the binary file for DFU?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 03:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484303#M49455</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-07-05T03:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484359#M49458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bin file doesn't include address info. we can just generate bin file inside IDE, right click on the generated axf file to generate bin as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1656999076554.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185532i03AD185C75BCBAE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1656999076554.png" alt="ZhangJennie_0-1656999076554.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 05:33:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484359#M49458</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-05T05:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484667#M49468</link>
      <description>&lt;P&gt;Thank you very much for your help.&amp;nbsp; I was finally able to have some success uploading code via DFU.&amp;nbsp; But I also think I finally understand that for this processor DFU will not be useful for my intended purpose.&amp;nbsp; I thought DFU would write "through" the SRAM and program the external flash.&amp;nbsp; But that is not the case?&amp;nbsp; For the LPC54018 DFU can only be used to load a binary for a single use instance and on the next reboot it will revert back to the original code in external flash.&amp;nbsp; Do I have that correct?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 12:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1484667#M49468</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-07-05T12:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1485037#M49478</link>
      <description>&lt;P&gt;Yes, your understanding is correct.&lt;/P&gt;
&lt;P&gt;If you want to program external spifi Flash, you need to program flashloader to sram via DFU then program spifi flash by flashloader.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you following this article to implement it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Use-blhost-to-program-erase-LPC540xxM-LPC54S0xxM-flash/ta-p/1105629" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Use-blhost-to-program-erase-LPC540xxM-LPC54S0xxM-flash/ta-p/1105629&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 03:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1485037#M49478</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-06T03:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1485425#M49490</link>
      <description>&lt;P&gt;Thank you very much.&amp;nbsp; I just have one last question.&amp;nbsp; Is it possible to implement this flashloader/blhost method with a single USB port?&amp;nbsp; As long as the board/MCU stays powered throughout?&amp;nbsp; Or it will only work using both USB0 (for DFU) and USB1 (for blhost)?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1485425#M49490</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-07-06T12:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1489153#M49602</link>
      <description>&lt;P&gt;Yes, you can.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 04:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1489153#M49602</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-07-14T04:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: USB DFU on the LPCXpresso54018 eval board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1732712#M54258</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13026"&gt;@ZhangJennie&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;I have two questions about this topic.&lt;BR /&gt;1) Is the flashloader's default code configured as USB0 to use DFU and USB1 for BLHOST?&lt;BR /&gt;2) Would it be possible for you to guide me on how to change the flashloader code to ensure that DFU and BLHOST are performed via the USB0 port? Because I don't have USB1 possible on my custom board.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:51:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-DFU-on-the-LPCXpresso54018-eval-board/m-p/1732712#M54258</guid>
      <dc:creator>FFOXZ</dc:creator>
      <dc:date>2023-10-02T17:51:40Z</dc:date>
    </item>
  </channel>
</rss>

