<?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: DFU Programming Example Code for DFUSec.exe version 1.11</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558118#M15552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gregd on Wed Dec 04 11:48:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for you quick response Kevin!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg Dunn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:48:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:48:40Z</dc:date>
    <item>
      <title>DFU Programming Example Code for DFUSec.exe version 1.11</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558116#M15550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gregd on Wed Dec 04 07:48:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there example code available for the LPC4350 to support the latest version of the DFUSec.exe (v1.11).&amp;nbsp; I have searched all through LPCOpen v2.02 and can't find any example projects.&amp;nbsp; I need to develop and external NOR flash driver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The lpcopen v1.03 version contains example code in the C:\LPCOpen V1.03\lpcopen\applications\lpc18xx_43xx\examples\dfuutil folder but they are for DFUSec.exe (v1.10).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg Dunn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558116#M15550</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: DFU Programming Example Code for DFUSec.exe version 1.11</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558117#M15551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Wed Dec 04 10:11:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The code is in the v2.02 release for the LPC18xx/43xx for the Keil LPC1857 board. (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpcopen_v2_02_keil_iar_keil_mcb_1857.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_v2_02_keil_iar_keil_mcb_1857.zip&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The example is located in the applications/lpc18xx_43xx/examples/dfuutil area and is called "dfuutil_programming_any".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note there is no project file for this so I'll manually provide the details you need for building this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Link code and data to address range 0x10000000 - 0x10007FFF, 32K size max recommended, but larger image is ok if your chip has the IRAM, code entry point is 0x10000000 (place startup code here)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;You will need the following include paths in your project:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_chip\chip_18xx_43xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_chip\chip_18xx_43xx\config_18xx (you will build for an M3 core, but the image will run on the LPC43xx M4 cores...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_chip\chip_common&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_chip\usbd_rom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_board\boards_18xx\keil_mcb_1857&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software\lpc_core\lpc_board\board_common&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;applications\lpc18xx_43xx\examples\dfuutil\dfuutil_programming_any&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;applications\lpc18xx_43xx\examples\dfuutil\dfuutil_common&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Add the following source files to your project:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\dev\git\lpcopen\applications\lpc18xx_43xx\examples\dfuutil\dfuutil_programming_any&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\dev\git\lpcopen\applications\lpc18xx_43xx\examples\dfuutil\dfuutil_common&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Link the image with the chip and board libraries&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a number of reference programming algorithms in the "dfuutil_programming_any" directory. You can add/remove/adjust these as necessary, but make sure your new NOR code is setup correctly in the dfuutil_programming_root_algorithm.c file in the algo_root_init() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generate the binary for your image when complete and use the DFUSec tool RAW mode to add a header to the image. Use the image with header in the algo selection box in the programming mode with your sequenced programming steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need a project file for Keil or IAR. This program requires a larger than normal stack size (but no heap), I recommended a minimum of 0x800 bytes, maybe more depending on how much stack your NOR code may need..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558117#M15551</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: DFU Programming Example Code for DFUSec.exe version 1.11</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558118#M15552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gregd on Wed Dec 04 11:48:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for you quick response Kevin!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg Dunn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DFU-Programming-Example-Code-for-DFUSec-exe-version-1-11/m-p/558118#M15552</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:40Z</dc:date>
    </item>
  </channel>
</rss>

